diff options
Diffstat (limited to '.config/cow')
| -rw-r--r-- | .config/cow/cow.conf | 4 | ||||
| -rw-r--r-- | .config/cow/cowbuttons.conf | 3 | ||||
| -rwxr-xr-x | .config/cow/scripts/screenrecord.sh | 9 |
3 files changed, 13 insertions, 3 deletions
diff --git a/.config/cow/cow.conf b/.config/cow/cow.conf index d1aa29a..866fdeb 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 1485 -y 5 + window-move -x 1415 -y 5 } if self.title == "cowbuttons:Status" and self.output == "eDP-1"{ winops -sS winops -C on - window-move -x 3405 -y 5 + window-move -x 3335 -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 1e9de01..f7c9033 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 6 + grid 1 7 row height 34 { + script "~/.config/cow/scripts/screenrecord.sh" interval 1 leftclick "" justify center bg 0x282828C6 fg 0xfb4934 bg_pressed 0x282828C6 fg_pressed 0xfb4934 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 "" 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 diff --git a/.config/cow/scripts/screenrecord.sh b/.config/cow/scripts/screenrecord.sh new file mode 100755 index 0000000..2a69a69 --- /dev/null +++ b/.config/cow/scripts/screenrecord.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +if pgrep "wf-recorder" > /dev/null + then + icon="" + else + icon="" +fi +echo "$icon" |
