diff options
Diffstat (limited to 'wmutils/.sxhkdrc')
-rw-r--r-- | wmutils/.sxhkdrc | 94 |
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 |