Changed window gap in bspwmrc and added shortcuts for functions keys

This commit is contained in:
Louis Vallat 2021-11-16 16:17:54 +01:00
parent dc7433afb7
commit 6e9aa26548
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283
2 changed files with 20 additions and 2 deletions

View File

@ -32,6 +32,6 @@ fi
bspc config border_width 0
bspc config top_padding 34
bspc config window_gap 16
bspc config window_gap 8
bspc config split_ratio 0.6

View File

@ -12,7 +12,7 @@ super + l
betterlockscreen -l
#Nautilus
super + p
dolphin
nautilus
#Quit/restart bspwm
super + alt + {q,r}
bspc {quit,wm -r}
@ -46,3 +46,21 @@ super + alt + shift + {h,j,k,l}
#Move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0}
XF86AudioMute
pactl set-sink-mute @DEFAULT_SINK@ toggle
XF86AudioRaiseVolume
if [ (pacmd list-sinks| grep -A 15 '* index'| awk '/volume: front/\{ print $5 \}' | sed 's/[%|,]//g') -le "98" ] ; pactl set-sink-volume @DEFAULT_SINK@ +2%; end;
XF86AudioLowerVolume
pactl set-sink-volume @DEFAULT_SINK@ -2%
XF86AudioMicMute
pactl set-source-mute @DEFAULT_SOURCE@ toggle
XF86MonBrightnessDown
echo (math (cat /sys/class/backlight/amdgpu_bl0/brightness) - 5) > /sys/class/backlight/amdgpu_bl0/brightness
XF86MonBrightnessUp
echo (math (cat /sys/class/backlight/amdgpu_bl0/brightness) + 5) > /sys/class/backlight/amdgpu_bl0/brightness