Files
dotfiles/dot_config/hypr/hyprland.conf.d/keybinds.conf

38 lines
1.3 KiB
Plaintext

# key_binds.conf
# Set programs that you use
$fileManager = xdg-open "$HOME"
$menu = rofi -show drun -run-command "uwsm app -- {cmd}"
#$menu = ags request -i launcher show
$screenshot = grim -g "$(slurp -d)" - | wl-copy
$powermenu = $HOME/bin/local-lua $HOME/bin/powermenu.lua
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod SHIFT, C, killactive,
bind = $mainMod, M, exec, $powermenu
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod SHIFT, F, fullscreen
# screenshots and screen recorder aylur dot files
bind = $mainMod SHIFT, Print, exec, $screenshot
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod SHIFT, mouse:272, movewindow
bindm = $mainMod SHIFT, mouse:273, resizewindow
# finally, source the ones inside keybinds.conf.d, allowing overrides
source = ~/.config/hypr/hyprland.conf.d/keybinds.conf.d/*.conf