From 6e3f3caab55e9555eaad00c53aace6e2b0c66dc3 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Mon, 22 Jan 2024 10:28:53 +0100 Subject: [PATCH] Update 2024-01-22 10:28 OpenBSD/amd64-x13 --- .Xdefaults | 6 +++--- .config/bspwm/bspwmrc | 2 +- .config/bspwm/sxhkdrc | 48 ++++++++++++++++++++++--------------------- 3 files changed, 29 insertions(+), 27 deletions(-) diff --git a/.Xdefaults b/.Xdefaults index f912a79..524ca9d 100644 --- a/.Xdefaults +++ b/.Xdefaults @@ -189,10 +189,10 @@ XFontSel*Font: lucidasanstypewriter-14 Zutty.altScroll: true Zutty.boldColors: false Zutty.font: SourceCodePro-Medium -Zutty.fontsize: 16 +Zutty.fontsize: 18 Zutty.fontpath: /home/sdk/.fonts -Zutty.bg: #121212 -Zutty.cr: #FF6A00 +Zutty.bg: #001010 +Zutty.cr: #008080 ! URxvt specific URxvt*font: xft:Terminus-18 diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index be082aa..6e85687 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -34,7 +34,7 @@ bspc config active_border_color "$COLOR_NF" bspc config normal_border_color "$COLOR_NB" bspc config ignore_ewmh_fullscreen true -bspc config presel_feedback_color "$COLOR_NF" +bspc config presel_feedback_color "$COLOR_SB" bspc config presel_feedback true # automatic tiling diff --git a/.config/bspwm/sxhkdrc b/.config/bspwm/sxhkdrc index 334e58a..f025872 100644 --- a/.config/bspwm/sxhkdrc +++ b/.config/bspwm/sxhkdrc @@ -58,7 +58,7 @@ alt + o # quit/restart bspwm alt + shift + r - bspc wm -r + bspc wm -r; \ pkill -SIGUSR1 sxhkd # close and kill @@ -66,7 +66,7 @@ alt + q bspc node -c alt + shift + q - bspc node -c + bspc node -k # alternate between the tiled and monocle layout alt + f @@ -105,29 +105,29 @@ alt + Print # focus/swap # -# focus the node in the given direction -alt + {_,shift + }{h,j,k,l} - bspc node -{f,s} {west,south,north,east} - -# focus the node in the given direction +# {focus,swap} the node in the given direction alt + {_,shift + }{Left,Down,Up,Right} bspc node -{f,s} {west,south,north,east} +# move window into give direction +alt + ctrl + {Left,Down,Up,Right} + bspc node -n {west,south,north,east} + # focus the node for the given path jump #alt + {p,b,comma,period} # bspc node -f @{parent,brother,first,second} # focus the next/previous node in the current desktop #alt + {o,i} -ctrl + {Prior,Next} - bspc node -f {next,prev}.local +# ctrl + {Prior,Next} +# bspc node -f {next,prev}.local # focus the next/previous desktop in the current monitor alt + {Prior,Next} bspc desktop -f {prev,next}.local -alt + shift + {Prior,Next} - bspc node -d {prev,next}.local; +alt + shift + {Next,Prior} + bspc node -d {next,prev}.local --follow # focus the last node/desktop alt + Tab @@ -139,12 +139,9 @@ alt + Tab # bspc node {older,newer} -f; \ # bspc wm -h on -# # focus or send to the given desktop -# alt + {_,shift + }{1-9,0} -# bspc {desktop -f,node -d} '^{1-9,10}' - -ctrl + alt + shift + {1-9,0} - bspc desktop -f '^{1-9,10}' +# focus or send to the given desktop +alt + {_,shift + }{1-9,0} + bspc {desktop -f,node -d} '^{1-9,10}' # # preselect @@ -154,17 +151,22 @@ ctrl + alt + shift + {1-9,0} #super + {Left,Down,Up,Right} # bspc node -p {west,south,north,east} -alt + ctrl + {Left,Down,Up,Right} - bspc node -p {west,south,north,east} +ctrl + {Left,Down,Up,Right} + bspc node -p {west,south,north,east}; \ + sterm + +ctrl + Return + bspc node -p cancel + +# cancel the preselection for the focused node +ctrl + space + bspc node -p cancel + # preselect the ratio alt + ctrl + {1-9} bspc node -o 0.{1-9} -# cancel the preselection for the focused node -alt + ctrl + space - bspc node -p cancel - ## cancel the preselection for the focused desktop #alt + ctrl + shift + space # bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel