From 1b55edd15c5fa94e5149830d8371f69fb787938f Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Sat, 23 Oct 2021 04:34:08 +0200 Subject: [PATCH] [system]fix: switch-colors --- .local/bin/switch-colors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/switch-colors b/.local/bin/switch-colors index 98e122d..7652b17 100755 --- a/.local/bin/switch-colors +++ b/.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"