This commit is contained in:
Adam 2024-01-09 07:32:59 -05:00
parent 11b6fe4b15
commit ac048c44b3

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# Keyboard lights # Keyboard lights
[ -x "$(command -v g610-led)" ] && g610-led -a ff [ -x "$(command -v g610-led)" ] && g610-led -a ff
@ -6,9 +6,11 @@
# Colors # Colors
[ -x "$(command -v wal)" ] && wal -R [ -x "$(command -v wal)" ] && wal -R
export PATH="$PATH:$(du "$HOME/.local/bin" | cut -f2 | paste -sd ':' -)" export PATH
if test -d $HOME/.local/share/cargo/bin; then PATH="$PATH:$(du "$HOME/.local/bin" | cut -f2 | paste -sd ':' -)"
export PATH=$PATH:$HOME/.local/share/cargo/bin
if test -d "$HOME"/.local/share/cargo/bin; then
PATH="$PATH:$HOME/.local/share/cargo/bin"
fi fi
unsetopt PROMPT_SP unsetopt PROMPT_SP
@ -34,14 +36,28 @@ export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/shell/zsh"
export FZF_DEFAULT_OPTS="--layout=reverse --height 40%" export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
export LESS=-R export LESS=-R
export LESSOPEN="| /usr/bin/highlight -O ansi %s 2>/dev/null" export LESSOPEN="| /usr/bin/highlight -O ansi %s 2>/dev/null"
export LESS_TERMCAP_mb="$(printf '%b' '')"
export LESS_TERMCAP_md="$(printf '%b' '')"
export LESS_TERMCAP_me="$(printf '%b' '')"
export LESS_TERMCAP_se="$(printf '%b' '')"
export LESS_TERMCAP_so="$(printf '%b' '')"
export LESS_TERMCAP_ue="$(printf '%b' '')"
export LESS_TERMCAP_us="$(printf '%b' '')"
export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme. export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme.
export LESS_TERMCAP_mb
LESS_TERMCAP_mb="$(printf '%b' '')"
export LESS_TERMCAP_md
LESS_TERMCAP_md="$(printf '%b' '')"
export LESS_TERMCAP_me
LESS_TERMCAP_me="$(printf '%b' '')"
export LESS_TERMCAP_se
LESS_TERMCAP_se="$(printf '%b' '')"
export LESS_TERMCAP_so
LESS_TERMCAP_so="$(printf '%b' '')"
export LESS_TERMCAP_ue
LESS_TERMCAP_ue="$(printf '%b' '')"
export LESS_TERMCAP_us
LESS_TERMCAP_us="$(printf '%b' '')"
# Multithreading # Multithreading
export XZ_DEFAULTS="-T 0" export XZ_DEFAULTS="-T 0"