aboutsummaryrefslogtreecommitdiff
path: root/.config/mode/switch.d/polybar
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-03-08 18:29:41 +0100
committerlonkaars <loek@pipeframe.xyz>2024-03-08 18:29:41 +0100
commitdce8fe36eb7f550f648cb83ab890ce638ca819d0 (patch)
tree474071a3975d205f71f2303d3dc6c08a9d7e229c /.config/mode/switch.d/polybar
parentd11179e429f69340bafad5a66edbb6f89b78b5b7 (diff)
clean up + modularize `mode` source code
Diffstat (limited to '.config/mode/switch.d/polybar')
-rwxr-xr-x.config/mode/switch.d/polybar13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/mode/switch.d/polybar b/.config/mode/switch.d/polybar
new file mode 100755
index 0000000..b7e752a
--- /dev/null
+++ b/.config/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
+