summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorSaumit <justsaumit@protonmail.com>2024-08-25 14:51:27 +0530
committerSaumit <justsaumit@protonmail.com>2024-08-25 14:51:27 +0530
commitf4b5c805fea44aba82b31a7e9f7a7ae2aed965de (patch)
treecb0d592b86f320c6c143b68f4a631bbd00a06719 /.config
parentaef8c2529bb77190afe61753819669fefaef3179 (diff)
hypr: Using pin dispatcher + changing keybindings for resize and lock
Diffstat (limited to '.config')
-rw-r--r--.config/hypr/hyprland.conf11
1 files changed, 6 insertions, 5 deletions
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