Merge branch 'dev' into gentoo
system: fix switch-colors
This commit is contained in:
commit
67bbfc215e
@ -13,7 +13,7 @@
|
|||||||
trim() { rev | cut -d'_' -f1 | rev; }
|
trim() { rev | cut -d'_' -f1 | rev; }
|
||||||
|
|
||||||
switch_scheme() {
|
switch_scheme() {
|
||||||
current="$(ls -l $XDG_CONFIG_HOME/X11/xcolors | trim)"
|
current="$(ls -l $XDG_STATE_HOME/xcolors | trim)"
|
||||||
[ "dark" = "$current" ] && new="light" || new="dark"
|
[ "dark" = "$current" ] && new="light" || new="dark"
|
||||||
select_nvim_scheme
|
select_nvim_scheme
|
||||||
set_scheme "$new" "$nvim_scheme"
|
set_scheme "$new" "$nvim_scheme"
|
||||||
|
Reference in New Issue
Block a user