aboutsummaryrefslogtreecommitdiff
path: root/wmutils/.sxhkdrc
diff options
context:
space:
mode:
authorxero <x@xero.nu>2017-01-22 23:22:55 -0500
committerxero <x@xero.nu>2017-01-22 23:22:55 -0500
commit5a4d4a06a287985fbf5b458056881d3d0a0c71aa (patch)
tree0daa8de87d60c396ca3dbadccbdfe735fc5f72d8 /wmutils/.sxhkdrc
parent4d6c6b497c3e4d5d6bd4e7728f42303f23120f27 (diff)
downloaddotfiles_ascii-5a4d4a06a287985fbf5b458056881d3d0a0c71aa.tar.xz
dotfiles_ascii-5a4d4a06a287985fbf5b458056881d3d0a0c71aa.zip
add wmutils setup
Diffstat (limited to 'wmutils/.sxhkdrc')
-rw-r--r--wmutils/.sxhkdrc94
1 files changed, 94 insertions, 0 deletions
diff --git a/wmutils/.sxhkdrc b/wmutils/.sxhkdrc
new file mode 100644
index 0000000..3e6293c
--- /dev/null
+++ b/wmutils/.sxhkdrc
@@ -0,0 +1,94 @@
+# start applications
+mod4 + Return
+ urxvt
+
+#launcher
+mod4 + w
+ interrobang
+
+# lock
+mod4 + Escape
+ xscreensaver-command -lock
+
+# ==== manipulate windows ====
+
+# restart
+mod4 + R
+ ~/bin/restart
+
+# move
+mod4 + {h,j,k,l}
+ wmv {-20 0,0 +20, 0 -20, +20 0} $(pfw)
+
+# resize
+mod4 + shift + {h,j,k,l}
+ wrs {-20 0,0 +20, 0 -20, +20 0} $(pfw)
+
+# close window
+mod4 + x
+ killw $(pfw)
+# killw $(pfw) && lsw | sed 1q | xargs wtf
+
+# make fullscreen
+mod4 + f
+ ~/bin/fullscreen.sh $(pfw)
+
+# put window back/forward
+mod4 + l
+ chwso -i $(pfw)
+
+# cycle through windows
+alt + {Tab, shift + Tab}
+ ~/focus.sh {next,prev} 2>/dev/null && \
+ wmp -a $(wattr xy $(pfw)) && \
+ wmp -r $(wattr wh $(pfw))
+
+# focus the closest window in each direction
+alt + {h,j,k,l}
+ ~/bin/closest.sh {h,j,k,l}
+
+# put windows to the corners
+#mod4 + {y,u,b,n,g}
+# ~/bin/corner.sh {tl,tr,bl,br,md}
+
+# tile windows
+mod4 + t
+ ~/bin/tile.sh
+
+# ==== window groups ====
+
+# next group
+mod4 + n
+ wgrp -n
+
+# previous group
+mod4 + p
+ wgrp -p
+
+# make group
+mod4 + m
+ wgrp -m
+
+# delete group
+mod4 + d
+ wgrp -d
+
+# add to group
+mod4 + a
+ wgrp -a
+
+# remove from group
+mod4 + r
+ wgrp -r
+
+# show all
+mod4 + s
+ wgrp -s
+
+# add group
+mod4 + 9
+ wgrp -m
+
+# remove group
+mod4 + 0
+ wgrp -d