aboutsummaryrefslogtreecommitdiff
path: root/.local/share/mode/switch.d/polybar
diff options
context:
space:
mode:
Diffstat (limited to '.local/share/mode/switch.d/polybar')
-rwxr-xr-x.local/share/mode/switch.d/polybar3
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/share/mode/switch.d/polybar b/.local/share/mode/switch.d/polybar
index b7e752a..17fcee2 100755
--- a/.local/share/mode/switch.d/polybar
+++ b/.local/share/mode/switch.d/polybar
@@ -1,5 +1,6 @@
#!/bin/sh
-cat << EOF > "$XDG_CONFIG_HOME/polybar/colors.ini"
+mkcd "$XDG_CONFIG_HOME/polybar"
+cat << EOF > 'colors.ini'
[color]
bg = \${xrdb:background:$bg}
fg = \${xrdb:foreground:$fg}