From 31b879f2d0397850386bc27b40dd83d96d95e42b Mon Sep 17 00:00:00 2001
From: Benjamin Chausse <benjamin@chausse.xyz>
Date: Sat, 27 Jan 2024 18:03:56 -0500
Subject: Control window weight with brackets

---
 .config/sxhkd/sxhkdrc | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

(limited to '.config/sxhkd')

diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
index 5d7d0c5..f2b8d82 100644
--- a/.config/sxhkd/sxhkdrc
+++ b/.config/sxhkd/sxhkdrc
@@ -29,7 +29,7 @@ super + shift + q
 super + q
   quitapp
 ## Toggle the dwm bar
-super + b
+super + shift + b
 	dwmc togglebar
 ## Change layout to {tiling, monocle}
 super + {_,shift} + t
@@ -94,6 +94,12 @@ alt + {1-9}
 ## Pin current window to all tags
 super + shift + 0
 	dwmc tagall
+## Make bigger/minimize window weight
+super + {bracketleft,bracketright}
+	dwmc setcfact {-0.05,+0.05}
+## Nullify window weight
+super + n
+  dwmc setcfact 0
 # ## Decrease/increase gaps
 # super + {minus, shift + equal}
 # 	dwmc setgaps {-,+}1
@@ -222,9 +228,6 @@ shift + XF86MonBrightnessDown
 ## Next/Previous Song (using playerctl)
 super + {bracketright, bracketleft}
 		playerctl {next, previous}
-## Higher/Lower music volume (using pla)
-super + shift + {bracketright, bracketleft}
-		playerctl volume 5 {+, -}
 ## Toggle music playback
 super + backslash
 		playerctl play-pause
-- 
cgit v1.2.3