summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-07-22 12:41:19 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-07-22 12:41:19 +0530
commit0be61bf7b6167633079bb47264034a1f4e4ca5d5 (patch)
tree9f08dc69f8cf29e6c5449faffd1e54a7d9e0709f
parent9ef332c7c32ec85122c2632efbbaa3102d4c243c (diff)
hypr: Fixing ranger exec cursor bug with terminfo + Adding Scratchpad and Calculator keybindings
-rw-r--r--.config/hypr/hyprland.conf9
1 files changed, 7 insertions, 2 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 202a75b..4449348 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -127,6 +127,9 @@ bind = $MOD, W, killactive
bind = $MOD CTRL SHIFT, Q, exit
bind = $MOD, F, togglefloating
bind = $MOD, Space, togglefloating
+# Move to/Toggle scratchpad
+bind = $MOD SHIFT,S,movetoworkspace,special
+bind = $MOD,S,togglespecialworkspace,
#bindr= $MOD, D, exec, pkill tofi || tofi-run | xargs hyprctl dispatch exec
#rofi
bindr = $MOD, D, exec, pkill rofi || rofi -show run
@@ -165,10 +168,9 @@ bind = $MOD SHIFT, D, exec, discord
# Launch telegram
bind = $MOD CTRL, E, exec, telegram-desktop
-
##(Temp Launch)
# Launch ranger
-bind = $MOD, R, exec, foot -e ranger
+bind = $MOD, R, exec, foot --term xterm-256color -e ranger
# Launch pulsemixer
bind = $MOD, P, exec, foot -e pulsemixer
#Launch <go,h,b>top
@@ -195,6 +197,8 @@ binde = ,XF86MonBrightnessUp, exec, brillo -s intel_backlight -A 4 && dunsti
binde = ,XF86MonBrightnessDown, exec, brillo -s intel_backlight -U 4 && dunstify -u normal -t 3000 -r 90210 -i brightness "$(printf %.0f%% $( brillo -G) )"
#Launch rofi calc mode
bind = $MOD, F2 , exec, rofi -show calc -modi calc -no-show-match -no-sort
+bind = , XF86Calculator, exec, rofi -show calc -modi calc -no-show-match -no-sort
+
#master-stack layout
bind = $MOD, Return,layoutmsg, swapwithmaster
@@ -207,6 +211,7 @@ bind= $MOD, U, fullscreen
#bind = $MOD, l, movefocus, r
#bind = $MOD, k, movefocus, u
#bind = $MOD, j, movefocus, d
+# Better performed using cycle
bind = $MOD, k, layoutmsg, cycleprev
bind = $MOD, j, layoutmsg, cyclenext