From f4b5c805fea44aba82b31a7e9f7a7ae2aed965de Mon Sep 17 00:00:00 2001 From: Saumit Date: Sun, 25 Aug 2024 14:51:27 +0530 Subject: hypr: Using pin dispatcher + changing keybindings for resize and lock --- .config/hypr/hyprland.conf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to '.config/hypr') diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 4fcf23e..714309e 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -148,6 +148,7 @@ bind = $MOD, W, killactive bind = $MOD CTRL SHIFT, Q, exit bind = $MOD, F, togglefloating bind = $MOD, Space, togglefloating +bind = $MOD, P, pin # Move to/Toggle scratchpad bind = $MOD SHIFT,S,movetoworkspace,special bind = $MOD,S,togglespecialworkspace, @@ -204,7 +205,7 @@ bind = $MOD SHIFT, B, exec, foot -e btop # Global Hot-keys # ################### ##screenlock -bind = $MOD SHIFT, L, exec, swaylock +bind = $MOD , L, exec, swaylock #screenshot #bind = ,Print, exec, IMG=pic-full-"$(date +%y-%m-%d--%H-%M-%S)".png && grim "$GRIM_DEFAULT_DIR/""$IMG" && wl-copy < "$GRIM_DEFAULT_DIR/""$IMG" @@ -292,10 +293,10 @@ bind=ALT,R,submap,resize submap=resize # sets repeatable binds for resizing the active window -binde=,h,resizeactive,-10 0 -binde=,l,resizeactive,10 0 -binde=,k,resizeactive,0 -10 -binde=,j,resizeactive,0 10 +binde=$MOD ,h,resizeactive,-10 0 +binde=$MOD ,l,resizeactive,10 0 +binde=$MOD ,k,resizeactive,0 -10 +binde=$MOD ,j,resizeactive,0 10 # use reset to go back to the global submap bind=,escape,submap,reset -- cgit v1.2.3