From 8add18cc3b4ad472cac1e35824226c18dc2b451e Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Wed, 14 Jan 2026 01:12:01 +0300 Subject: [PATCH] Update hyprland.conf --- .config/hypr/hyprland.conf | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 103d146..b94597e 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -266,7 +266,6 @@ bind = $mainMod, L, exec, $lock bind = $mainMod, M, exit, bind = $mainMod, Z, exec, $fileManager bind = $mainMod, V, togglefloating, -bind = $mainMod, R, exec, $menu bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, B, togglesplit, # dwindle bind = $mainMod SHIFT, G, togglegroup, @@ -276,6 +275,7 @@ bind = $mainMod, Print, exec, $screenprint bind = $mainMod SHIFT, Print, exec, $screenrec bind = $mainMod SHIFT, PAUSE, exec, $screenrecstop bind = $mainMod, D, exec, swaync-client -t +bind = $mainMod, G, submap, gamemode # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l @@ -358,3 +358,26 @@ windowrulev2 = suppressevent maximize, class:.* # Fix some dragging issues with XWayland windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 +submap = gamemode +$mainMod = ALT +bind = $mainMod, X, exec, $terminal +bind = $mainMod, L, exec, $lock +bind = ALT, F4, killactive, +bind = , F11, fullscreen, window + +# Laptop multimedia keys for volume and LCD brightness +bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ +bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle +bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+ +bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%- + +# Requires playerctl +bindl = , XF86AudioNext, exec, playerctl next +bindl = , XF86AudioPause, exec, playerctl play-pause +bindl = , XF86AudioPlay, exec, playerctl play-pause +bindl = , XF86AudioPrev, exec, playerctl previous +bind = ALT, G, submap, reset + +submap = reset