2021-11-12 23:04:44 +01:00
|
|
|
#Terminal
|
|
|
|
super + Return
|
2021-11-15 14:31:41 +01:00
|
|
|
kitty
|
2021-11-12 23:04:44 +01:00
|
|
|
#Program launcher
|
|
|
|
super + r
|
2021-11-14 00:13:17 +01:00
|
|
|
dmenu_run
|
2021-11-12 23:04:44 +01:00
|
|
|
#Firefox
|
|
|
|
super + d
|
2021-11-14 00:13:17 +01:00
|
|
|
firefox
|
2021-11-12 23:04:44 +01:00
|
|
|
# Lock Screen
|
|
|
|
super + l
|
|
|
|
betterlockscreen -l
|
|
|
|
#Nautilus
|
|
|
|
super + p
|
2021-11-16 16:17:54 +01:00
|
|
|
nautilus
|
2021-11-12 23:04:44 +01:00
|
|
|
#Quit/restart bspwm
|
|
|
|
super + alt + {q,r}
|
2021-11-14 00:13:17 +01:00
|
|
|
bspc {quit,wm -r}
|
2021-11-12 23:04:44 +01:00
|
|
|
#Close and kill
|
|
|
|
super + {_,shift + }v
|
2021-11-14 00:13:17 +01:00
|
|
|
bspc node -{c,k}
|
2021-11-12 23:04:44 +01:00
|
|
|
#Set the window state
|
|
|
|
super + {t,s,f}
|
2021-11-14 00:13:17 +01:00
|
|
|
bspc node -t {tiled,floating,fullscreen}
|
2021-11-12 23:04:44 +01:00
|
|
|
#Focus the node in the given direction
|
|
|
|
super + {_,shift + }{h,j,k,l}
|
2021-11-14 00:13:17 +01:00
|
|
|
bspc node -{f,s} {west,south,north,east}
|
2021-11-16 22:06:43 +01:00
|
|
|
#Focus the given desktop
|
|
|
|
super + {ampersand,eacute,quotedbl,apostrophe,parenleft,minus,egrave,underscore,ccedilla,agrave}
|
|
|
|
bspc desktop -f '^{1,2,3,4,5,6,7,8,9,0}'
|
|
|
|
#Send and follow to the given desktop
|
|
|
|
super + shift + {1,2,3,4,5,6,7,8,9,0}
|
2021-11-19 14:26:07 +01:00
|
|
|
bspc node -d {'一', '二', '三', '四', '五', '六', '七', '八', '九', '十'} --follow
|
2021-11-12 23:04:44 +01:00
|
|
|
#Preselect the direction
|
|
|
|
super + ctrl + {h,j,k,l}
|
2021-11-14 00:13:17 +01:00
|
|
|
bspc node -p {west,south,north,east}
|
2021-11-12 23:04:44 +01:00
|
|
|
#Preselect the ratio
|
|
|
|
super + ctrl + {1-9}
|
2021-11-14 00:13:17 +01:00
|
|
|
bspc node -o 0.{1-9}
|
2021-11-12 23:04:44 +01:00
|
|
|
#Cancel the preselection for the focused desktop
|
|
|
|
super + Escape
|
2021-11-14 00:13:17 +01:00
|
|
|
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
|
2021-11-12 23:04:44 +01:00
|
|
|
#Expand a window by moving one of its side outward
|
|
|
|
super + alt + {h,j,k,l}
|
2021-11-14 00:13:17 +01:00
|
|
|
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
|
2021-11-12 23:04:44 +01:00
|
|
|
#Contract a window by moving one of its side inward
|
|
|
|
super + alt + shift + {h,j,k,l}
|
2021-11-14 00:13:17 +01:00
|
|
|
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
2021-11-12 23:04:44 +01:00
|
|
|
#Move a floating window
|
|
|
|
super + {Left,Down,Up,Right}
|
2021-11-14 00:13:17 +01:00
|
|
|
bspc node -v {-20 0,0 20,0 -20,20 0}
|
2021-11-16 16:17:54 +01:00
|
|
|
|
|
|
|
XF86AudioMute
|
2021-11-22 14:08:55 +01:00
|
|
|
amixer set Master toggle
|
2021-11-16 16:17:54 +01:00
|
|
|
|
|
|
|
XF86AudioRaiseVolume
|
2021-11-22 14:08:55 +01:00
|
|
|
amixer set Master 2%+
|
2021-11-16 16:17:54 +01:00
|
|
|
|
|
|
|
XF86AudioLowerVolume
|
2021-11-22 14:08:55 +01:00
|
|
|
amixer set Master 2%-
|
2021-11-16 16:17:54 +01:00
|
|
|
|
|
|
|
XF86AudioMicMute
|
2021-11-22 14:08:55 +01:00
|
|
|
amixer set Capture toggle
|
2021-11-16 16:17:54 +01:00
|
|
|
|
|
|
|
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
|
2021-11-17 23:06:48 +01:00
|
|
|
|
|
|
|
Print
|
|
|
|
set FILE_NAME "/home/louis/Pictures/Screenshots/Screeshot-"(date +'%d-%m-%Y-%H-%M-%S')".png" && import -window root ${FILE_NAME} && dunstify "Screenshot taken: ${FILE_NAME}"
|
|
|
|
|
|
|
|
ctrl + Print
|
|
|
|
set FILE_NAME "/home/louis/Pictures/Screenshots/Screeshot-"(date +'%d-%m-%Y-%H-%M-%S')".png" && import ${FILE_NAME} && dunstify "Screenshot taken: ${FILE_NAME}"
|
2021-11-22 14:08:55 +01:00
|
|
|
|
|
|
|
XF86AudioPlay
|
|
|
|
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
|
|
|
|
|
|
|
|
XF86AudioPrev
|
|
|
|
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
|
|
|
|
|
|
|
|
XF86AudioNext
|
|
|
|
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
|