wal color in zshrc
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
# some default
|
# some default
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
|
|
||||||
|
# Add local stuff to PATH
|
||||||
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
|
|
||||||
# XDG dir spec
|
# XDG dir spec
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
export XDG_DATA_HOME="$HOME/.local/share"
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
# color stuff
|
||||||
|
if ([ -f $XDG_CONFIG_HOME/wallpaper/current ] && [ ! -d $XDG_CACHE_HOME/wal ]) || [ -f $HOME/.reset_color ]; then
|
||||||
|
wal --cols16 dual -n -e -s -t -p "current_theme" -i .config/wallpaper/current
|
||||||
|
[ -f $HOME/.reset_color ] && rm $HOME/.reset_color
|
||||||
|
fi
|
||||||
|
|
||||||
# source global shell alias & variables files
|
# source global shell alias & variables files
|
||||||
[ -f "$XDG_CONFIG_HOME/shell/alias" ] && source "$XDG_CONFIG_HOME/shell/alias"
|
[ -f "$XDG_CONFIG_HOME/shell/alias" ] && source "$XDG_CONFIG_HOME/shell/alias"
|
||||||
[ -f "$XDG_CONFIG_HOME/shell/vars" ] && source "$XDG_CONFIG_HOME/shell/vars"
|
[ -f "$XDG_CONFIG_HOME/shell/vars" ] && source "$XDG_CONFIG_HOME/shell/vars"
|
||||||
|
|||||||
Reference in New Issue
Block a user