summaryrefslogtreecommitdiff
path: root/.stumpwm.d
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-03-03 02:45:37 +0200
committerThanos Apollo <[email protected]>2024-03-03 02:45:37 +0200
commitdf1a1c962f07d7062317b49c7215da4076603bf9 (patch)
tree59c2533097fcd97efe95dfed218cb0b3bedb1afe /.stumpwm.d
parente56154ee5b7400e91d6f327df2b85d218a0c3967 (diff)
stumpwm:(keys) Update volume & add gselect
Diffstat (limited to '.stumpwm.d')
-rw-r--r--.stumpwm.d/keybindings.lisp7
1 files changed, 5 insertions, 2 deletions
diff --git a/.stumpwm.d/keybindings.lisp b/.stumpwm.d/keybindings.lisp
index ffba8af..2a97fcb 100644
--- a/.stumpwm.d/keybindings.lisp
+++ b/.stumpwm.d/keybindings.lisp
@@ -46,8 +46,8 @@
(define-key *top-map* (kbd "F11") "fullscreen")
;; Audio
-(define-key *top-map* (kbd "XF86AudioLowerVolume") "exec pamixer -d 5")
-(define-key *top-map* (kbd "XF86AudioRaiseVolume") "exec pamixer -i 5")
+(define-key *top-map* (kbd "XF86AudioLowerVolume") "exec amixer sset Master 5%-")
+(define-key *top-map* (kbd "XF86AudioRaiseVolume") "exec amixer sset Master 5%+")
;; x220 specific
(define-key *top-map* (kbd "F1") "exec brightnessctl --device='intel_backlight' set 5%-")
@@ -77,6 +77,9 @@
(define-key *top-map* (kbd "s-^") "gmove 6")
(define-key *top-map* (kbd "s-)") "gmove 5")
(define-key *top-map* (kbd "s-(") "gmove")
+
+(define-key *root-map* (kbd "C-w") "gselect")
+
;; Focus
(define-key *root-map* (kbd "M-b") "move-window left")
(define-key *root-map* (kbd "M-f") "move-window right")