From dce8fe36eb7f550f648cb83ab890ce638ca819d0 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 8 Mar 2024 18:29:41 +0100 Subject: clean up + modularize `mode` source code --- .config/mode/switch.d/polybar | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 .config/mode/switch.d/polybar (limited to '.config/mode/switch.d/polybar') 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 + -- cgit v1.2.3