summaryrefslogtreecommitdiffhomepage
path: root/patch/dwmc
diff options
context:
space:
mode:
authorStein Gunnar Bakkeby <sbakkeby@samsung>2020-06-02 11:11:59 +0200
committerStein Gunnar Bakkeby <sbakkeby@samsung>2020-06-02 11:11:59 +0200
commit8c419b0d7ac130a99623834c7ef1ca6c9e29d07e (patch)
tree6a3934dde8e72f234e9c8abc7099a526effe30ce /patch/dwmc
parent4db0cd64439e80559c53e88521d706c2260ae533 (diff)
downloaddwm-flexipatch-8c419b0d7ac130a99623834c7ef1ca6c9e29d07e.tar.gz
dwm-flexipatch-8c419b0d7ac130a99623834c7ef1ca6c9e29d07e.zip
Expanding on dwmc options
Diffstat (limited to 'patch/dwmc')
-rwxr-xr-xpatch/dwmc79
1 files changed, 75 insertions, 4 deletions
diff --git a/patch/dwmc b/patch/dwmc
index 9e3ecd6..10ec990 100755
--- a/patch/dwmc
+++ b/patch/dwmc
@@ -1,4 +1,4 @@
-#!/usr/bin/env sh
+#!/usr/bin/env bash
signal() {
xsetroot -name "fsignal:$*"
@@ -7,7 +7,43 @@ signal() {
case $# in
1)
case $1 in
- setlayout | view | viewall | togglebar | togglefloating | zoom | killclient | quit)
+ focusurgent) ;&
+ mirrorlayout) ;&
+ mpdcontrol) ;&
+ pushdown) ;&
+ pushup) ;&
+ self_restart) ;&
+ setlayout) ;&
+ setcfact) ;&
+ switchcol) ;&
+ view) ;&
+ viewall) ;&
+ viewtoleft) ;&
+ viewtoright) ;&
+ tagtoleft) ;&
+ tagtoright) ;&
+ tagandviewtoleft) ;&
+ tagandviewtoright) ;&
+ transfer) ;&
+ transferall) ;&
+ togglealttag) ;&
+ togglebar) ;&
+ togglefloating) ;&
+ togglefullscreen) ;&
+ fullscreen) ;&
+ togglefakefullscreen) ;&
+ togglesticky) ;&
+ togglehorizontalmax) ;&
+ toggleverticalmax) ;&
+ togglemax) ;&
+ togglegaps) ;&
+ defaultgaps) ;&
+ unfloatvisible) ;&
+ winview) ;&
+ xrdb) ;&
+ zoom) ;&
+ killclient) ;&
+ quit)
signal $1
;;
*)
@@ -18,12 +54,47 @@ case $# in
;;
2)
case $1 in
+ cyclelayout) ;&
+ explace) ;&
+ moveplace) ;&
+ mpdchange) ;&
+ switchtag) ;&
+ togglescratch) ;&
view)
signal $1 ui $2
;;
- viewex | toggleviewex | tagex | toggletagex | setlayoutex | focusstack | incnmaster | focusmon | tagmon)
+ viewex) ;&
+ toggleviewex) ;&
+ tagallmon) ;&
+ tagswapmon) ;&
+ tagex) ;&
+ toggletagex) ;&
+ setborderpx) ;&
+ setlayoutex) ;&
+ setlayoutaxisex) ;&
+ swapfocus) ;&
+ focusstack) ;&
+ pushstack) ;&
+ inplacerotate) ;&
+ rotatestack) ;&
+ rotatelayoutaxis) ;&
+ incnmaster) ;&
+ incnstack) ;&
+ incrgaps) ;&
+ incrigaps) ;&
+ incrogaps) ;&
+ incrihgaps) ;&
+ incrivgaps) ;&
+ incrohgaps) ;&
+ incrovgaps) ;&
+ movestack) ;&
+ shiftview) ;&
+ shiftviewclients) ;&
+ focusmon) ;&
+ tagmon)
signal $1 i $2
;;
+ setcfact) ;&
setmfact)
signal $1 f $2
;;
@@ -37,4 +108,4 @@ case $# in
echo "Too many arguments."
exit 1
;;
-esac \ No newline at end of file
+esac