From 2b334c507bb96255e4d559964a2b2f6a6aaf6305 Mon Sep 17 00:00:00 2001 From: tomit4 Date: Wed, 25 May 2022 06:48:38 -0700 Subject: [PATCH] added super+shift+workspace_number command to move window to different workspace --- sxhkd/sxhkdrc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc index bcf4dba5..3f95d013 100644 --- a/sxhkd/sxhkdrc +++ b/sxhkd/sxhkdrc @@ -22,6 +22,10 @@ super + shift + Escape super + shift + r bspc wm -r +# toggle floating on and off +super + o + bspc node focused.tiled -t floating || bspc node focused.floating -t tiled + # focus on window direction super + {Left,Down,Up,Right} bspc node -f {west,south,north,east} @@ -30,10 +34,14 @@ super + {Left,Down,Up,Right} super + shift + {Left,Down,Up,Right} bspc node -s {west,south,north,east} -# focus on desktop +# focus on workspace super + {1-9,0} bspc desktop -f {1-9,10} +# move window to different workspace +super + shift + {1-9,0} + id=$(bspc query -N -n); bspc node -d ^{1-9,10} + # expand a window by moving one of its side outward ctrl shift + {Left,Down,Up,Right} bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0} @@ -45,7 +53,7 @@ alt shift + {Left,Down,Up,Right} # toggle fullscreen super + shift + f bspc node -t {\~fullscreen} - + # /home/brian/scripts/bspfullscreen # close and kill # super + {_,shift + }w @@ -165,7 +173,7 @@ super + b bst -e btop & super + m mousepad & -super + o +super + l gcolor3 & super + u galculator &