bspwm and sxhkd

This commit is contained in:
Debucquoy 2023-11-11 16:26:39 +01:00
parent 73a022bfe6
commit ed81ad21b8
Signed by: tonitch
GPG Key ID: A78D6421F083D42E
5 changed files with 26 additions and 12 deletions

12
bin/.bin/btSelector Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/sh
scan_first=$(echo -e "yes\nno" | dmenu -l 2)
if [[ ${scan_first} = 'yes' ]]; then
bluetoothctl scan on &
sleep 10 && kill $!
fi
device=$(bluetoothctl devices | dmenu -i -l 15 | cut -d ' ' -f 2)
bluetoothctl connect ${device}

View File

@ -31,7 +31,7 @@ bspc config normal_border_color "#2D2D2D"
#"#000000"
bspc config presel_feedback_color "#1ABB9B"
#"#8F3724"
bspc config border_width 2
bspc config border_width 1
bspc config focus_follows_pointer true
#bspc config pointer_follows_focus true #Some keybindings automatically enable and disable this setting
@ -72,7 +72,7 @@ bspc rule -a dockbarx layer=above
bspc rule -a google-chrome-unstable private=on
bspc rule -a google-chrome-stable private=on
bspc rule -a chromium private=on
bspc rule -a firefox private=on fullscreen=on
bspc rule -a firefox private=on
bspc rule -a midori private=on
bspc rule -a gnome-pie border=off manage=off
bspc rule -a wpa_gui state=pseudo_tiled

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -62,14 +62,14 @@ super + ctrl + Return
auto-presel
# Presel window for splitting in certain direction
alt + ctrl + {q,s,z,d}
bspc node -p \~{west,south,north,east} -i
# alt + ctrl + {q,s,z,d}
# bspc node -p \~{west,south,north,east} -i
alt + ctrl + {h,j,k,l}
bspc node -p \~{west,south,north,east}
# alt + ctrl + {h,j,k,l}
# bspc node -p \~{west,south,north,east}
alt + ctrl + {Left,Down,Up,Right}
bspc node -p \~{west,south,north,east}
# alt + ctrl + {Left,Down,Up,Right}
# bspc node -p \~{west,south,north,east}
# Presel the desktop for splitting in certain direction
alt + shift + {q,s,z,d}
@ -88,7 +88,7 @@ alt + ctrl + {1-9}
super + Return
windowpromoter
# # Create a new "master area", splitting the whole desktop instead of just windows.
# Create a new "master area", splitting the whole desktop instead of just windows.
# alt + Return
# bspc node -n @/
@ -122,13 +122,13 @@ super + Tab
WindowSelector
#Focus windows by direction, works with multihead
super + {q,s,z,d}
super + {q,s,z,d}
focusmover {west,south,north,east}
super + {h,j,k,l}
super + {h,j,k,l}
focusmover {west,south,north,east}
super + {Left,Down,Up,Right}
super + {Left,Down,Up,Right}
focusmover {west,south,north,east}
# Move tiled windows. Moving a tiled window to