From 842e679a3718ec7b61fece81f5852c393df44d96 Mon Sep 17 00:00:00 2001 From: Trianta <56975502+Trimutex@users.noreply.github.com> Date: Wed, 17 Apr 2024 04:22:19 -0500 Subject: [PATCH] hyprland: update keybindings --- hypr/keybindings.conf | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/hypr/keybindings.conf b/hypr/keybindings.conf index 6432489..1801423 100644 --- a/hypr/keybindings.conf +++ b/hypr/keybindings.conf @@ -8,22 +8,24 @@ $mainMod = SUPER # Passthrough bind = , 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 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, F, fullscreen, -bind = $mainMod SHIFT, L, exec, swaylock -bind = $CONTROL, ESCAPE, exec, killall waybar || waybar # toggle waybar +bind = $mainMod SHIFT, L, exec, hyprlock +bind = $mainMod $CONTROL, ESCAPE, exec, killall waybar || waybar # toggle waybar bind = $mainMod SHIFT, J, togglesplit, # dwindle bind = $mainMod SHIFT, P, pseudo, # dwindle # Application shortcuts bind = $mainMod, RETURN, exec, alacritty 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 # 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 = , 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 bind = $mainMod, h, movefocus, l bind = $mainMod, l, movefocus, r