aboutsummaryrefslogtreecommitdiff
path: root/.config/cow/cow.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/cow/cow.conf')
-rw-r--r--.config/cow/cow.conf29
1 files changed, 20 insertions, 9 deletions
diff --git a/.config/cow/cow.conf b/.config/cow/cow.conf
index fa56c8a..69831c3 100644
--- a/.config/cow/cow.conf
+++ b/.config/cow/cow.conf
@@ -140,7 +140,7 @@ rule -g -Ton-map -nglobal-on-map decor -a global-on-map
# Remove cowbuttons' own window decors using a cow rule:
-decor -d cowbuttons-nodecor border.width 0
+# decor -d cowbuttons-nodecor border.width 0
decor -d cowbuttons-nodecor border.handles false
decor -d cowbuttons-nodecor titlebar.enabled false
rule -g -Ton-map -ncowbuttons-chrome -s %cowbuttons decor -a cowbuttons-nodecor
@@ -331,6 +331,16 @@ bind L+Print exec sh "$HOME/.local/bin/screenshot.sh selected-region"
# Take a screenshot and save it to the clipboard
bind LS+Print exec sh "$HOME/.local/bin/screenshot.sh save-to-clipboard"
+# Raise cowpager and cowbuttons
+bind LS+b script {
+ for w in (windows where w.app_id == "cowpager") {
+ winops -r
+ }
+ for w in (windows where w.app_id == "cowbuttons") {
+ winops -r
+ }
+}
+
# Mouse bindings
mouse L+left window-move
mouse L+right window-resize
@@ -394,27 +404,28 @@ rule -g -n mpv -T on-map -s %mpv script {
}
rule -g -T on-map -n cowbuttons script {
- if self.title == "cowbuttons:launcher" {
+ if self.title == "cowbuttons:Status" {
winops -sS
- winops -L =top
- window-move -x 0 -y 1060
+ winops -C on
+ window-move -x 1605 -y 5
}
- if self.title == "cowbuttons:scripts" {
+ if self.title == "cowbuttons:Clock" {
winops -sS
- winops -L =top
- window-move -x 1640 -y 1060
+ winops -C on
+ window-move -x 825 -y 5
}
}
rule -g -T on-map -n cowiconman -s /cowiconman-/ script {
winops -sS
- winops -L =top
+ winops -C on
window-move -x 500 -y 1040
}
rule -g -T on-map -n cowpager -s /cowpager:/ script {
winops -sS
- window-move -x 650 -y 5
+ winops -C on
+ window-move -x 15 -y 5
}
exec sh "$HOME/.config/cow/after-start.sh"