mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 09:28:27 +02:00
88 lines
2.3 KiB
Plaintext
88 lines
2.3 KiB
Plaintext
#-- Keybindings ----------------------------------------------------
|
|
$term = foot
|
|
$app_launcher = anyrun
|
|
$files = thunar
|
|
$browser = firefox
|
|
|
|
# -- Terminal --
|
|
bind=SUPER,Return,exec,$term
|
|
|
|
# -- App Launcher --
|
|
bind=SUPER,D,exec,$app_launcher
|
|
|
|
# -- Hyprland --
|
|
bind=SUPER,Q,killactive,
|
|
bind=CTRLALT,Delete,exit,
|
|
bind=SUPER,F,fullscreen,
|
|
bind=SUPER,Space,togglefloating,
|
|
bind=SUPER,S,pseudo,
|
|
|
|
# -- Misc --
|
|
bind=SUPER,N,exec,nm-connection-editor # need install network-manager-applet
|
|
bind=CTRLALT,L,exec,hyprlock
|
|
bind=SUPERSHIFT,X,exec,wlogout
|
|
|
|
# -- Some nice mouse binds --
|
|
bindm=SUPER,mouse:272,movewindow
|
|
bindm=SUPER,mouse:273,resizewindow
|
|
|
|
# -- Function keys --
|
|
# bind=,XF86MonBrightnessUp,exec,$backlight --inc
|
|
# bind=,XF86MonBrightnessDown,exec,$backlight --dec
|
|
# bind=,XF86AudioRaiseVolume,exec,$volume --inc
|
|
# bind=,XF86AudioLowerVolume,exec,$volume --dec
|
|
# bind=,XF86AudioMute,exec,$volume --toggle
|
|
# bind=,XF86AudioMicMute,exec,$volume --toggle-mic
|
|
|
|
# -- Screenshots --
|
|
bind=,Print,exec,hyprshot -m output -o ~/Pictures/Screenshots -- imv
|
|
bind=SUPER,Print,exec,hyprshot -m window -o ~/Pictures/Screenshots -- imv
|
|
bind=CTRL,Print,exec,flameshot gui --raw -p ~/Pictures/Screenshots | wl-copy
|
|
|
|
# Focus
|
|
bind=SUPER,left,movefocus,l
|
|
bind=SUPER,right,movefocus,r
|
|
bind=SUPER,up,movefocus,u
|
|
bind=SUPER,down,movefocus,d
|
|
|
|
# Move
|
|
bind=SUPERSHIFT,left,movewindow,l
|
|
bind=SUPERSHIFT,right,movewindow,r
|
|
bind=SUPERSHIFT,up,movewindow,u
|
|
bind=SUPERSHIFT,down,movewindow,d
|
|
|
|
# Resize
|
|
bind=SUPERCTRL,left,resizeactive,-20 0
|
|
bind=SUPERCTRL,right,resizeactive,20 0
|
|
bind=SUPERCTRL,up,resizeactive,0 -20
|
|
bind=SUPERCTRL,down,resizeactive,0 20
|
|
|
|
# Workspaces
|
|
bind=SUPER,1,workspace,1
|
|
bind=SUPER,2,workspace,2
|
|
bind=SUPER,3,workspace,3
|
|
bind=SUPER,4,workspace,4
|
|
bind=SUPER,5,workspace,5
|
|
bind=SUPER,6,workspace,6
|
|
bind=SUPER,7,workspace,7
|
|
bind=SUPER,8,workspace,8
|
|
bind=SUPER,9,workspace,9
|
|
bind=SUPER,0,workspace,10
|
|
|
|
# Send to Workspaces
|
|
bind=SUPERSHIFT,1,movetoworkspace,1
|
|
bind=SUPERSHIFT,2,movetoworkspace,2
|
|
bind=SUPERSHIFT,3,movetoworkspace,3
|
|
bind=SUPERSHIFT,4,movetoworkspace,4
|
|
bind=SUPERSHIFT,5,movetoworkspace,5
|
|
bind=SUPERSHIFT,6,movetoworkspace,6
|
|
bind=SUPERSHIFT,7,movetoworkspace,7
|
|
bind=SUPERSHIFT,8,movetoworkspace,8
|
|
bind=SUPERSHIFT,9,movetoworkspace,9
|
|
bind=SUPERSHIFT,0,movetoworkspace,10
|
|
|
|
bind=SUPER,mouse_down,workspace,e+1
|
|
bind=SUPER,mouse_up,workspace,e-1
|
|
|
|
|