Update 2024-01-21 21:52 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-01-21 21:52:18 +01:00
parent a58cc32c50
commit c60e153c40
9 changed files with 73 additions and 392 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/sh
. ~/.bin/_config
# export MIXERDEVICE=/dev/audioctl0
# pgrep -q polybar || polybar &
@@ -10,11 +12,13 @@ pgrep -q sxhkd || sxhkd -c $HOME/.config/bspwm/sxhkdrc &
# hsetroot -fill ~/Backgrounds/5JdtbnY.jpg
# pgrep -q picom || picom &
xsetroot -solid "$BACKGROUND"
# configure bspwm
bspc monitor -d 1 2 3 4 5 6 7 8 9 10
bspc config border_width 2
bspc config window_gap 12
bspc config window_gap 26
remove_disabled_monitors true
remove_unplugged_monitors true
@@ -25,12 +29,12 @@ bspc config focus_follows_pointer true
bspc config borderless_monocle false
bspc config gapless_monocle true
bspc config focused_border_color "#FF6A00"
bspc config active_border_color "#444444"
bspc config normal_border_color "#222222"
bspc config ignore_ewmh_fullscreen true
bspc config focused_border_color "$COLOR_NF"
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 "#442211"
bspc config presel_feedback_color "$COLOR_NF"
bspc config presel_feedback true
# automatic tiling

View File

@@ -41,7 +41,7 @@ alt + shift + o
texec "vim -c ':History!'"
alt + o
texec "vim -c ':Files!'"
texec "vim -c ':MyFiles'"
#
# bspwm hotkeys
@@ -114,8 +114,8 @@ alt + {_,shift + }{Left,Down,Up,Right}
bspc node -{f,s} {west,south,north,east}
# focus the node for the given path jump
alt + {p,b,comma,period}
bspc node -f @{parent,brother,first,second}
#alt + {p,b,comma,period}
# bspc node -f @{parent,brother,first,second}
# focus the next/previous node in the current desktop
#alt + {o,i}
@@ -126,19 +126,22 @@ ctrl + {Prior,Next}
alt + {Prior,Next}
bspc desktop -f {prev,next}.local
alt + shift + {Prior,Next}
bspc node -d {prev,next}.local;
# focus the last node/desktop
alt + {grave,Tab}
bspc {node,desktop} -f last
alt + Tab
bspc desktop -f last
# focus the older or newer node in the focus history
alt + {_,shift + }c
bspc wm -h off; \
bspc node {older,newer} -f; \
bspc wm -h on
# # focus the older or newer node in the focus history
# alt + {_,shift + }c
# bspc wm -h off; \
# 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}'
# # 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}'
@@ -162,9 +165,9 @@ alt + ctrl + {1-9}
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
## 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
#
# move/resize