diff options
| -rw-r--r-- | .config/cow/cow.conf | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/.config/cow/cow.conf b/.config/cow/cow.conf index 5b6684d..0836d9d 100644 --- a/.config/cow/cow.conf +++ b/.config/cow/cow.conf @@ -404,16 +404,26 @@ rule -g -n mpv -T on-map -s %mpv script { } rule -g -T on-map -n cowbuttons script { - if self.title == "cowbuttons:Status" { + if self.title == "cowbuttons:Status" and self.current_output and self.output == "HDMI-A-1"{ winops -sS winops -C on window-move -x 1555 -y 5 } - if self.title == "cowbuttons:Clock" { + if self.title == "cowbuttons:Status" and self.current_output and self.output == "eDP-1"{ + winops -sS + winops -C on + window-move -x 3475 -y 5 + } + if self.title == "cowbuttons:Clock" and self.current_output and self.output == "HDMI-A-1" { winops -sS winops -C on window-move -x 825 -y 5 } + if self.title == "cowbuttons:Clock" and self.current_output and self.output == "eDP-1" { + winops -sS + winops -C on + window-move -x 2745 -y 5 + } } rule -g -T on-map -n cowiconman -s /cowiconman-/ script { @@ -423,9 +433,16 @@ rule -g -T on-map -n cowiconman -s /cowiconman-/ script { } rule -g -T on-map -n cowpager -s /cowpager:/ script { - winops -sS - winops -C on - window-move -x 15 -y 5 + if self.current_output and self.output == "HDMI-A-1" { + winops -sS + winops -C on + window-move -x 15 -y 5 + } + if self.current_output and self.output == "eDP-1" { + winops -sS + winops -C on + window-move -x 1935 -y 5 + } } exec sh "$HOME/.config/cow/after-start.sh" |
