133 lines
2.4 KiB
Plaintext
133 lines
2.4 KiB
Plaintext
## Copyright (C) 2020-2022 Aditya Shakya <adi1090x@gmail.com>
|
|
## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3
|
|
|
|
##---------- Keybindings for berry ----------##
|
|
|
|
# Terminal (alacritty)
|
|
super + Return
|
|
bash ~/.config/berry/bin/berryterm.sh
|
|
|
|
# Terminal (floating)
|
|
super + shift + Return
|
|
bash ~/.config/berry/bin/berryterm.sh -s
|
|
|
|
##---------- Rofi Launcher & Menus ----------##
|
|
|
|
# Rofi App Launcher
|
|
alt + F1
|
|
bash ~/.config/berry/rofi/bin/launcher
|
|
|
|
# Rofi Network Menu
|
|
super + n
|
|
~/.config/berry/rofi/bin/network_menu
|
|
|
|
# Rofi Menus/Applets
|
|
super + {r,m,s,x}
|
|
bash ~/.config/berry/rofi/bin/{asroot,mpd,screenshot,powermenu}
|
|
|
|
##---------- Applications ----------##
|
|
|
|
# Launch Apps
|
|
super + {f,w,e}
|
|
{thunar,firefox,geany}
|
|
|
|
# Terminal Apps
|
|
ctrl + alt + {v,r,h}
|
|
alacritty --config-file ~/.config/berry/alacritty/alacritty.yml -e {vim,ranger,htop}
|
|
|
|
# Lockscreen
|
|
ctrl + alt + l
|
|
betterlockscreen --lock
|
|
|
|
##---------- System Keys ----------##
|
|
|
|
# Take a screenshot
|
|
Print
|
|
takeshot --now
|
|
|
|
# Take screenshot in 5 second
|
|
alt + Print
|
|
takeshot --in5
|
|
|
|
# Take screenshot in 10 second
|
|
shift + Print
|
|
takeshot --in10
|
|
|
|
# Take screenshot of active window
|
|
ctrl + Print
|
|
takeshot --win
|
|
|
|
# Take screenshot of area
|
|
ctrl + alt + Print
|
|
takeshot --area
|
|
|
|
# Brighness control
|
|
XF86MonBrightness{Up,Down}
|
|
brightness{ --inc, --dec}
|
|
|
|
# Volume control
|
|
XF86Audio{RaiseVolume,LowerVolume}
|
|
volume{ --inc, --dec}
|
|
|
|
XF86AudioMute
|
|
volume --toggle
|
|
|
|
# Music control
|
|
XF86Audio{Next,Prev,Play,Stop}
|
|
mpc {next,prev,toggle,stop}
|
|
|
|
# Reload sxhkd configuration file
|
|
super + Escape
|
|
pkill -USR1 -x sxhkd
|
|
|
|
##---------- Berry Hotkeys --------##
|
|
|
|
super + shift + {Left, Down, Up, Right}
|
|
berryc window_resize {-50 0, 0 50, 0 -50, 50 0}
|
|
|
|
super + ctrl + {Left, Down, Up, Right}
|
|
berryc window_move {-50 0, 0 50, 0 -50, 50 0}
|
|
|
|
super + Left
|
|
berryc snap_left
|
|
|
|
super + Right
|
|
berryc snap_right
|
|
|
|
super + Up
|
|
berryc window_monocle
|
|
|
|
super + Down
|
|
berryc window_resize_absolute 1000 650 && berryc window_center
|
|
|
|
super + {1-9}
|
|
berryc switch_workspace {0-9}
|
|
|
|
super + shift + {1-9}
|
|
berryc send_to_workspace {0-9}
|
|
|
|
super + space
|
|
berryc fullscreen
|
|
|
|
super + t
|
|
berryc toggle_decorations
|
|
|
|
super + Tab
|
|
berryc cycle_focus
|
|
|
|
super + c
|
|
berryc window_center
|
|
|
|
super + q
|
|
berryc window_close
|
|
|
|
super + shift + c
|
|
berryc window_close
|
|
|
|
super + shift + q
|
|
berryc quit
|
|
|
|
# Mouse Buttons
|
|
~button1
|
|
berryc pointer_focus
|