color-mode: toggle nheko theme
This commit is contained in:
parent
641136ee34
commit
05e22f59b7
@ -14,6 +14,10 @@ expand='s/(.*)@(\w+)/echo -n "\1"\\"$(xrdb -get \2)\\"/; /\$/e'
|
||||
sed -r "$expand" "$XDG_CONFIG_HOME/zathura/zathurarc.in" > "$XDG_CONFIG_HOME/zathura/zathurarc"
|
||||
sed -r "$expand" "$XDG_CONFIG_HOME/dunst/dunstrc.in" > "$XDG_CONFIG_HOME/dunst/dunstrc"
|
||||
|
||||
# toggle nheko theme
|
||||
theme="${1%dark}"
|
||||
sed -i "s/theme=.*/theme=${theme:-dawn}/" "$XDG_CONFIG_HOME/nheko.conf"
|
||||
|
||||
xsetroot -fg "$(xrdb -get root.foreground)" \
|
||||
-bg "$(xrdb -get root.background)" \
|
||||
-bitmap ~/img/tiles/tile.xbm \
|
||||
|
Loading…
Reference in New Issue
Block a user