Browse Source

[system]fix: switch-colors

dev
David JULIEN 1 month ago
parent
commit
1b55edd15c
  1. 2
      .local/bin/switch-colors

2
.local/bin/switch-colors

@ -13,7 +13,7 @@
trim() { rev | cut -d'_' -f1 | rev; }
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"
select_nvim_scheme
set_scheme "$new" "$nvim_scheme"

Loading…
Cancel
Save