hyprland: update keybindings

This commit is contained in:
Trianta 2024-04-17 04:22:19 -05:00
parent bcc7b1eab0
commit 842e679a37

View File

@ -8,22 +8,24 @@ $mainMod = SUPER
# Passthrough # Passthrough
bind = , mouse:275, pass, ^(discord)$ bind = , mouse:275, pass, ^(discord)$
bind = SHIFT, mouse:275, pass, ^(discord)$ bind = SHIFT, mouse:275, pass, ^(discord)$
bind = $mainMod, mouse:275, pass, ^(discord)$
bind = $mainMod SHIFT, mouse:275, pass, ^(discord)$
# Window/Session actions # Window/Session actions
bind = $mainMod SHIFT, Q, killactive, bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod SHIFT, M, exec, $scrPath/logoutlaunch.sh 1 # logout menu bind = $mainMod SHIFT, M, exit
bind = $mainMod, SPACE, togglefloating, bind = $mainMod, SPACE, togglefloating,
bind = $mainMod, F, fullscreen, bind = $mainMod, F, fullscreen,
bind = $mainMod SHIFT, L, exec, swaylock bind = $mainMod SHIFT, L, exec, hyprlock
bind = $CONTROL, ESCAPE, exec, killall waybar || waybar # toggle waybar bind = $mainMod $CONTROL, ESCAPE, exec, killall waybar || waybar # toggle waybar
bind = $mainMod SHIFT, J, togglesplit, # dwindle bind = $mainMod SHIFT, J, togglesplit, # dwindle
bind = $mainMod SHIFT, P, pseudo, # dwindle bind = $mainMod SHIFT, P, pseudo, # dwindle
# Application shortcuts # Application shortcuts
bind = $mainMod, RETURN, exec, alacritty bind = $mainMod, RETURN, exec, alacritty
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
bind = $mainMod SHIFT, 7, exec, taskset -c 0-7 mangohud steamtinkerlaunch mo2 start
bind = $mainMod SHIFT, 8, exec, taskset -c 0-7 mangohud steam-runtime
bind = $mainMod SHIFT, 9, exec, spotify --disable-gpu
bind = $mainMod SHIFT, 0, exec, discord
bind = $mainMod, S, exec, pkill -x rofi || rofi -show drun bind = $mainMod, S, exec, pkill -x rofi || rofi -show drun
# Audio control # Audio control
@ -35,6 +37,11 @@ binde = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
# Custom audio control
binde = $mainMod, F1, exec, playerctl play-pause
binde = $mainMod, F2, exec, playerctl previous
binde = $mainMod, F3, exec, playerctl next
# Move focus # Move focus
bind = $mainMod, h, movefocus, l bind = $mainMod, h, movefocus, l
bind = $mainMod, l, movefocus, r bind = $mainMod, l, movefocus, r