From e47c16d064dedd1087431a57e25f066cdaae326b Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Fri, 28 Aug 2026 20:32:44 +0100 Subject: Added rules for cowclock and cowiconman --- .config/cow/cow.conf | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to '.config/cow') diff --git a/.config/cow/cow.conf b/.config/cow/cow.conf index 6043109..4a91a0a 100644 --- a/.config/cow/cow.conf +++ b/.config/cow/cow.conf @@ -220,9 +220,9 @@ decor -a default # frame from cowiconman without replacing colours or images from the active # global theme. Uncomment all four lines to enable it. # decor -d nodecor border.width 0 -# decor -d nodecor border.handles false -# decor -d nodecor titlebar.enabled false -# rule -g -T on-map -n nodecor -s %cowiconman decor -a nodecor +decor -d nodecor border.handles false +decor -d nodecor titlebar.enabled false +rule -g -T on-map -n nodecor -s %cowiconman decor -a nodecor # Remove cowbuttons' own window decors using a cow rule: @@ -290,6 +290,9 @@ rule -g -T on-map -n cowbuttons script { winops -C on window-move -x 2745 -y 5 } +} + +rule -g -T on-map -n cowclock script { if self.title == "Clock" and self.output == "HDMI-A-1"{ winops -sS winops -C on @@ -302,11 +305,18 @@ rule -g -T on-map -n cowbuttons script { } } -rule -g -T on-map -n cowiconman -s /cowiconman-/ script { +rule -g -T on-map -n cowiconman -s /cowiconman:/ script { + if self.output == "HDMI-A-1"{ winops -sS winops -C on - window-move -x 500 -y 1040 - } + window-move -x 1657 -y 220 + } + if self.output == "eDP-1"{ + winops -sS + winops -C on + window-move -x 3577 -y 220 + } +} rule -g -T on-map -n cowpager -s /cowpager:/ script { if self.output == "HDMI-A-1"{ -- cgit v1.3