aboutsummaryrefslogtreecommitdiff
path: root/.local/share/mode/switch.d/polybar
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-23 12:28:38 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-23 12:30:14 +0100
commitc7faac3480d2c52db7e952f638f7f162fb98eeec (patch)
tree32d112a9532bcf8391a47384b91f6ef4c729e88a /.local/share/mode/switch.d/polybar
parent95db61081c2555c069c3287fd30d9c8a1757acb1 (diff)
`mode` update
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}