From 674249c2c0b4fb34c3c9c5bc3599818cbb917137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Dudr?= Date: Thu, 2 Jan 2025 08:48:50 +0100 Subject: [PATCH] hyprland: binds --- dot_config/hypr/hyprland.conf | 54 +++++++++++++++++------------------ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/dot_config/hypr/hyprland.conf b/dot_config/hypr/hyprland.conf index 7232b47..51c5d1f 100644 --- a/dot_config/hypr/hyprland.conf +++ b/dot_config/hypr/hyprland.conf @@ -144,10 +144,13 @@ bind=SUPER,S,workspaceopt,allfloat bind=SUPER,M,focusmonitor,0 bind=SUPER,N,focusmonitor,1 -# XF86AudioMute XF86AudioLowerVolume XF86AudioRaiseVolume -bind=,121,exec,pactl set-sink-mute $(pactl get-default-sink) toggle -bind=,122,exec,pactl set-sink-volume $(pactl get-default-sink) -10% -bind=,123,exec,pactl set-sink-volume $(pactl get-default-sink) +10% +# Laptop multimedia keys for volume and LCD brightness +bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @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 s 10%+ +bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%- # XF86ScreenSaver bind=,160,exec,swaylock @@ -170,28 +173,18 @@ bind=SUPER_SHIFT,l,movewindow,r bind=SUPER_SHIFT,k,movewindow,u bind=SUPER_SHIFT,j,movewindow,d -bind=SUPER,1,moveworkspacetomonitor,1 current -bind=SUPER,1,workspace,1 -bind=SUPER,2,moveworkspacetomonitor,2 current -bind=SUPER,2,workspace,2 -bind=SUPER,3,moveworkspacetomonitor,3 current -bind=SUPER,3,workspace,3 -bind=SUPER,4,moveworkspacetomonitor,4 current -bind=SUPER,4,workspace,4 -bind=SUPER,5,moveworkspacetomonitor,5 current -bind=SUPER,5,workspace,5 -bind=SUPER,6,moveworkspacetomonitor,6 current -bind=SUPER,6,workspace,6 -bind=SUPER,7,moveworkspacetomonitor,7 current -bind=SUPER,7,workspace,7 -bind=SUPER,8,moveworkspacetomonitor,8 current -bind=SUPER,8,workspace,8 -bind=SUPER,9,moveworkspacetomonitor,9 current -bind=SUPER,9,workspace,9 -bind=SUPER,0,workspace,movetomonitor10 current -bind=SUPER,0,workspace,10 -bind=SUPER,60,workspace,+1 -bind=SUPER,59,workspace,-1 +bind=SUPER,1,focusworkspaceoncurrentmonitor,1 +bind=SUPER,2,focusworkspaceoncurrentmonitor,2 +bind=SUPER,3,focusworkspaceoncurrentmonitor,3 +bind=SUPER,4,focusworkspaceoncurrentmonitor,4 +bind=SUPER,5,focusworkspaceoncurrentmonitor,5 +bind=SUPER,6,focusworkspaceoncurrentmonitor,6 +bind=SUPER,7,focusworkspaceoncurrentmonitor,7 +bind=SUPER,8,focusworkspaceoncurrentmonitor,8 +bind=SUPER,9,focusworkspaceoncurrentmonitor,9 +bind=SUPER,0,focusworkspaceoncurrentmonitor,10 +bind=SUPER,60,focusworkspaceoncurrentmonitor,+1 +bind=SUPER,59,focusworkspaceoncurrentmonitor,-1 bind=SUPER_SHIFT,1,movetoworkspacesilent,1 bind=SUPER_SHIFT,2,movetoworkspacesilent,2 @@ -207,5 +200,12 @@ bind=SUPER_SHIFT,0,movetoworkspacesilent,10 bind=SUPER,mouse_down,workspace,e+1 bind=SUPER,mouse_up,workspace,e-1 +bind=SUPER,space,layoutmsg,togglesplit +bind=SUPER_CONTROL,space,layoutmsg,movetoroot + +bind=,Print,exec,slurp | grim - - | wl-copy + exec-once=systemctl --user import-environment WAYLAND_DISPLAY HYPRLAND_CMD HYPRLAND_INSTANCE_SIGNATURE -exec=systemctl --user restart waybar-hyprland + +exec-once=waybar +# exec=systemctl --user restart waybar-hyprland