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 ++++++----- .local/bin/ytd | 2 -- 2 files changed, 6 insertions(+), 7 deletions(-) delete mode 100755 .local/bin/ytd 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 diff --git a/.local/bin/ytd b/.local/bin/ytd deleted file mode 100755 index a61e490..0000000 --- a/.local/bin/ytd +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -ytfzf -D -- cgit v1.2.3