diff options
| author | Justine Smithies <justine@smithies.me.uk> | 2026-08-30 13:54:19 +0100 |
|---|---|---|
| committer | Justine Smithies <justine@smithies.me.uk> | 2026-08-30 13:54:19 +0100 |
| commit | d405782b34516d962d8315765821496ad365af10 (patch) | |
| tree | c01cf97d5a733584588eccea700e39914505ef54 | |
| parent | 67397955ba3346f620f0faf0fa01fbb7722ef0fd (diff) | |
Updates to display the keyboard state in cowbuttons
| -rw-r--r-- | .config/cow/cow.conf | 4 | ||||
| -rw-r--r-- | .config/cow/cowbuttons.conf | 3 | ||||
| -rw-r--r-- | .config/cow/cowiconman.conf | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/.config/cow/cow.conf b/.config/cow/cow.conf index e3a35a2..949f887 100644 --- a/.config/cow/cow.conf +++ b/.config/cow/cow.conf @@ -273,12 +273,12 @@ rule -g -T on-map -n cowbuttons script { if self.title == "cowbuttons:Status" and self.output == "HDMI-A-1"{ winops -sS winops -C on - window-move -x 1555 -y 5 + window-move -x 1485 -y 5 } if self.title == "cowbuttons:Status" and self.output == "eDP-1"{ winops -sS winops -C on - window-move -x 3475 -y 5 + window-move -x 3405 -y 5 } if self.title == "cowbuttons:Clock" and self.output == "HDMI-A-1"{ winops -sS diff --git a/.config/cow/cowbuttons.conf b/.config/cow/cowbuttons.conf index 3955f4b..ff1be33 100644 --- a/.config/cow/cowbuttons.conf +++ b/.config/cow/cowbuttons.conf @@ -17,9 +17,10 @@ style button.image_position left panel Status { cell 70 34 - grid 1 5 + grid 1 6 row height 34 { + script "~/.config/cow/scripts/keyboard-state.sh" interval 1 leftclick "" justify center bg 0x282828C6 fg 0x689d6a bg_pressed 0x282828C6 fg_pressed 0x689d6a script "~/.config/cow/scripts/keyboard-layout.sh" interval 1 leftclick "exec $HOME/.config/cow/scripts/calendar.sh show" justify center bg 0x282828C6 fg 0x98971a bg_pressed 0x282828C6 fg_pressed 0x98971a script "~/.config/cow/scripts/idleinhibit.sh" interval 1 leftclick "exec $HOME/.config/cow/scripts/idleinhibit.sh toggle" justify center bg 0x282828C6 fg 0x458588 bg_pressed 0x282828C6 fg_pressed 0x458588 script "~/.config/cow/scripts/brightnesscontrol.sh" interval 1 leftclick "exec $HOME/.config/cow/scripts/brightnesscontrol.sh down" rightclick "exec $HOME/.config/cow/scripts/brightnesscontrol.sh up" justify center bg 0x282828C6 fg 0xd79921 bg_pressed 0x282828C6 fg_pressed 0xd79921 diff --git a/.config/cow/cowiconman.conf b/.config/cow/cowiconman.conf index 1f09171..5ed89e4 100644 --- a/.config/cow/cowiconman.conf +++ b/.config/cow/cowiconman.conf @@ -13,4 +13,8 @@ iconman current { match title=!Clock match title=!cowbuttons match title=!cowpager + style active.bg 0x458588 + style active.fg 0xffffff + style inactive.bg 0x83a598 + style inactive.fg 0x000000 } |
