summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-01-27 18:03:56 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-01-27 18:03:56 -0500
commit31b879f2d0397850386bc27b40dd83d96d95e42b (patch)
tree5eb7292e35f4b6542a8cffa532a11ec560dd98fd
parent560aee403b8cea241a52a877f786c50b84b42d99 (diff)
Control window weight with brackets
-rw-r--r--.config/sxhkd/sxhkdrc11
1 files changed, 7 insertions, 4 deletions
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