small fixes
This commit is contained in:
parent
6246408504
commit
4045540bf2
2 changed files with 4 additions and 4 deletions
|
@ -194,9 +194,9 @@ elif (( $+commands[scrot] )); then
|
|||
alias scrot='scrot desktop-%Y%m%d%H%M.png -q 100 -cd 3'
|
||||
fi
|
||||
|
||||
if (( $+commands[cargo] )); then
|
||||
alias cargo-update="cargo install $(cargo install --list | command grep -E '^[a-z0-9_-]+ v[0-9.]+:$' | cut -f1 -d' ')"
|
||||
fi
|
||||
#if (( $+commands[cargo] )); then
|
||||
#alias cargo-update="cargo install $(cargo install --list | command grep -E '^[a-z0-9_-]+ v[0-9.]+:$' | cut -f1 -d' ')"
|
||||
#fi
|
||||
|
||||
if [ "$OS_DETECTION" = "mac" ]; then
|
||||
alias xclip='pbcopy'
|
||||
|
|
2
.zshenv
2
.zshenv
|
@ -40,7 +40,7 @@ if [[ "$OSTYPE" == "linux"* ]]; then
|
|||
|
||||
# This hack necessary for reasons I'll never understand. Under Wayland specifically,
|
||||
# GTK themes are evidently only configured through envvars? Whatever, this fixes it.
|
||||
export GTK_THEME=$(cat ~/.config/gtk-3.0/settings.ini | grep gtk-theme-name | cut -d'=' -f2)
|
||||
[[ -f ~/.config/gtk-3.0/settings.ini ]] && export GTK_THEME=$(cat ~/.config/gtk-3.0/settings.ini | grep gtk-theme-name | cut -d'=' -f2)
|
||||
export GTK_CSD=0
|
||||
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
|
||||
export GTK_IM_MODULE="fcitx"
|
||||
|
|
Loading…
Add table
Reference in a new issue