From 5cede6340a007d53fda6218a3620acdd801f0503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dias?= Date: Fri, 16 Aug 2024 20:28:05 -0300 Subject: [PATCH] :sparkles: feat(binds): add lock bind and organize others --- hyprland/bindings.conf | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/hyprland/bindings.conf b/hyprland/bindings.conf index 0a254d9..66ffd15 100644 --- a/hyprland/bindings.conf +++ b/hyprland/bindings.conf @@ -8,6 +8,7 @@ $terminal = kitty $fileManager = nautilus $menu = wofi $mainMod = SUPER +$lockscreen = hyprlock $screenshotDir = "$HOME/Screenshots" $screenshotFull = hyprshot -m output $screenshotSelect = hyprshot -m region @@ -34,13 +35,6 @@ gestures { workspace_swipe = true } -# Example per-device config -# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more -device { - name = epic-mouse-v1 - sensitivity = -0.5 -} - # Main binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, K, exec, $terminal bind = $mainMod, Q, killactive @@ -50,6 +44,8 @@ bind = $mainMod, SPACE, exec, $menu -S drun bind = $mainMod, P, pseudo, bind = $mainMod, J, togglesplit bind = $mainMod, F11, fullscreen +bind = $mainMod, N, exec, swaync-client -t +bind = $mainMod, L, exec, $lockscreen # Media keys bind = , code:121, exec, pamixer --mute # Mute @@ -68,9 +64,6 @@ bind = $mainMod, Print, exec, $screenshotFull # Open wofi clipboard bind = $mainMod, V, exec, cliphist list | $menu -S dmenu | cliphist decode | wl-copy -# Control Center -bind = $mainMod, N, exec, swaync-client -t - # Reloading Components # Waybar bind = $mainMod, F7, exec, pkill waybar && waybar @@ -90,10 +83,10 @@ bind = $mainMod SHIFT, up, movewindow, u bind = $mainMod SHIFT, down, movewindow, d # Resize windows with arrowkeys -bind = $mainMod ALT, left, resizeactive, -20 0 -bind = $mainMod ALT, right, resizeactive, 20 0 -bind = $mainMod ALT, up, resizeactive, 0 -20 -bind = $mainMod ALT, down, resizeactive, 0 20 +bind = $mainMod ALT, left, resizeactive, -60 0 +bind = $mainMod ALT, right, resizeactive, 60 0 +bind = $mainMod ALT, up, resizeactive, 0 -60 +bind = $mainMod ALT, down, resizeactive, 0 60 # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1