aboutsummaryrefslogtreecommitdiff
path: root/.local/share/mode/switch.d/polybar
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-03-09 14:16:43 +0100
committerlonkaars <loek@pipeframe.xyz>2024-03-09 14:16:43 +0100
commit3be98e5ef5247042fd219dded572910305b1a5a4 (patch)
tree43b0f170be0cae8559e582415f9575828ca4e6b3 /.local/share/mode/switch.d/polybar
parent2dc5ec7085e1c1bbc406f2089dddf8f6e1d9d206 (diff)
big restructure of `mode` scripts
Diffstat (limited to '.local/share/mode/switch.d/polybar')
-rwxr-xr-x.local/share/mode/switch.d/polybar13
1 files changed, 13 insertions, 0 deletions
diff --git a/.local/share/mode/switch.d/polybar b/.local/share/mode/switch.d/polybar
new file mode 100755
index 0000000..b7e752a
--- /dev/null
+++ b/.local/share/mode/switch.d/polybar
@@ -0,0 +1,13 @@
+#!/bin/sh
+cat << EOF > "$XDG_CONFIG_HOME/polybar/colors.ini"
+[color]
+bg = \${xrdb:background:$bg}
+fg = \${xrdb:foreground:$fg}
+fg-alt = \${xrdb:background:$bg}
+fg-half = \${xrdb:color8:$color8}
+
+alpha = #00000000
+
+; vim:ft=dosini
+EOF
+