|
|
@ -9,6 +9,25 @@ |
|
|
|
# ncmpcpp? uses xresources, but might want customizations |
|
|
|
# nvim |
|
|
|
|
|
|
|
#polybar |
|
|
|
|
|
|
|
PATH_THEME="$XDG_CONFIG_HOME/polybar/themes" |
|
|
|
|
|
|
|
case "$1" in |
|
|
|
light) |
|
|
|
cp "$PATH_THEME/onehalf-light.ini" "$PATH_THEME/current.ini" |
|
|
|
;; |
|
|
|
dark) |
|
|
|
cp "$PATH_THEME/onehalf-dark.ini" "$PATH_THEME/current.ini" |
|
|
|
;; |
|
|
|
esac |
|
|
|
|
|
|
|
if pgrep -u $UID -x polybar >/dev/null; then |
|
|
|
killall -q polybar |
|
|
|
polybar -c ~/.config/polybar/config.ini main & |
|
|
|
polybar -c ~/.config/polybar/config.ini system & |
|
|
|
fi |
|
|
|
|
|
|
|
#x11 |
|
|
|
|
|
|
|
PATH_THEME="$XDG_CONFIG_HOME/X11/colors" |
|
|
|