diff options
Diffstat (limited to '.config/hypr/binds.conf')
| -rw-r--r-- | .config/hypr/binds.conf | 57 |
1 files changed, 25 insertions, 32 deletions
diff --git a/.config/hypr/binds.conf b/.config/hypr/binds.conf index ca3215d..13da882 100644 --- a/.config/hypr/binds.conf +++ b/.config/hypr/binds.conf @@ -1,30 +1,24 @@ -# See https://wiki.hyprland.org/Configuring/Keywords/ for more +# main mod $mainMod = SUPER -# Set programs that you use +# used programs $terminal = kitty $browser = firefox -$menu = tofi-run | xargs hyprctl dispatch exec -- +$menu = wmenu-run $appMenu = fuzzel | xargs hyprctl dispatch exec -- -# Main Binds -bind = $mainMod, R, exec, $menu -bind = $mainMod, RETURN, exec, $appMenu +# main binds bind = $mainMod, A, exec, $terminal bind = $mainMod, D, killactive, +bind = $mainMod, R, exec, $menu +bind = $mainMod, RETURN, exec, $appMenu +bind = $mainMod, F, fullscreen bind = $mainMod CTRL SHIFT, D, exec, hyprctl kill -# screenshot (region + full) -bind = $mainMod SHIFT, S, exec, screenshot -save -bind = $mainMod, S, exec, screenshot -full -save -# screenshot and copy -bind = $mainMod CTRL SHIFT, S, exec, screenshot -bind = $mainMod CTRL, S, exec, screenshot -full - +# more binds bind = $mainMod, V, togglefloating, bind = $mainMod CTRL, P, exec, hyprpicker -a bind = $mainMod, L, exec, hyprlock -bind = $mainMod, F, fullscreen bind = $mainMod, G, fullscreenstate, 0 3 bind = $mainMod, W, exec, $browser bind = $mainMod, K, exec, $terminal -e htop @@ -33,6 +27,22 @@ bind = $mainMod SHIFT, Q, exit, bind = $mainMod, SPACE, layoutmsg, swapwithmaster bind = $mainMod, E, exec, emacsclient -c +# screenshot (region + full) +bind = $mainMod SHIFT, S, exec, screenshot -save +bind = $mainMod, S, exec, screenshot -full -save +# screenshot and copy +bind = $mainMod CTRL SHIFT, S, exec, screenshot +bind = $mainMod CTRL, S, exec, screenshot -full + +# brightess and audio controls +bindle = , xf86monbrightnessup , exec, brightnessctl set 10%+ +bindle = , xf86monbrightnessdown, exec, brightnessctl set 10%- +bindle = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+ +bindle = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%- +bindle = SHIFT, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 1%+ +bindle = SHIFT, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 1%- +bindle = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle + # Move focus with mainMod + arrow keys binde = $mainMod, left, movefocus, l binde = $mainMod, right, movefocus, r @@ -42,6 +52,7 @@ binde = $mainMod, up, movefocus, u binde = $mainMod, down, movefocus, d bind = $mainMod, o, cyclenext, prev +# Move windows binde = $mainMod SHIFT,left ,movewindow, l binde = $mainMod SHIFT,right ,movewindow, r binde = $mainMod SHIFT, n, swapnext, prev @@ -50,24 +61,6 @@ binde = $mainMod SHIFT,up ,movewindow, u binde = $mainMod SHIFT,down ,movewindow, d bind = $mainMod SHIFT, o, swapnext, prev -# controls -binde = , xf86monbrightnessup , exec, brightnessctl set 10%+ -binde = , xf86monbrightnessdown, exec, brightnessctl set 10%- - -binde = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+ -binde = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%- -binde = SHIFT, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 1%+ -binde = SHIFT, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 1%- -binde = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle - -# Example special workspace (scratchpad) COMMENTED OUT FOR SCREENSHOT KEYBIND -# bind = $mainMod, S, togglespecialworkspace, magic -# bind = $mainMod SHIFT, S, movetoworkspace, special:magic - -# Scroll through existing workspaces with mainMod + scroll -bind = $mainMod, mouse_down, workspace, e+1 -bind = $mainMod, mouse_up, workspace, e-1 - # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow |
