This commit is contained in:
Dakedres
2023-11-11 03:20:01 -05:00
parent 015d8f2d20
commit 5c1270830c
47 changed files with 131 additions and 2515 deletions

View File

@@ -4,11 +4,11 @@
# Open kitty
alt + Return
kitty
alacritty
# Open floating kitty
alt + shift + Return
bsp-float kitty
bsp-float alacritty
# launch program
alt + @space
@@ -37,6 +37,37 @@ alt + v
alt + shift + v
greenclip clear
# Increase volume
XF86AudioRaiseVolume
amixer -D default sset Master 5%+
# Decrease volume
XF86AudioLowerVolume
amixer -D default sset Master 5%-
# Toggle audio mute
XF86AudioMute
amixer -D default set Master 1+ toggle
# Play/pause track
XF86AudioPlay
playerctl play-pause
# Previus track
XF86AudioNext
playerctl next
# Previous track
XF86AudioPrev
playerctl previous
# Stop track
XF86AudioStop
playerctl stop
super + {Up,Down}
xdotool key {Page_Up,Page_Down}
#
# bspwm hotkeys
#
@@ -142,13 +173,11 @@ alt + ctrl + shift + space
# move/resize
#
# Resize a window by moving one of its side outward/inward
alt + s ; {h,j,k,l,Left,Down,Up,Right}
STEP=20; SELECTION={1,2,3,4,1,2,3,4}; \
bspc node -z $(echo "left -$STEP 0,bottom 0 $STEP,top 0 -$STEP,right $STEP 0" | cut -d',' -f$SELECTION) || \
bspc node -z $(echo "right -$STEP 0,top 0 $STEP,bottom 0 -$STEP,left $STEP 0" | cut -d',' -f$SELECTION)
# move a floating window
# Expand/contract a window by moving one of its side outward/inward
alt + s; {h,j,k,l,Left,Down,Up,Right}
bspc node -z {left -20 0,right 20 0,top 0 -20,bottom 0 20,left -20 0,right 20 0,top 0 -20,bottom 0 20}
move a floating window
alt + {h,j,k,l}
bspc node -v {-30 0,0 20,0 -30,20 0}
@@ -173,4 +202,4 @@ alt + t
# toggle autoattach in tabbed container
alt + shift + t
tabc autoattach $(bspc query -N -n)
tabc autoattach $(bspc query -N -n)