summaryrefslogtreecommitdiff
path: root/.stumpwm.d/keybindings.lisp
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-31 04:07:48 +0200
committerThanos Apollo <[email protected]>2024-01-31 04:07:48 +0200
commit6a8a93ee551d086d02c35f4354674369b51632ed (patch)
tree3945f6d4024953f6c1e69c38a5859721a71f3e23 /.stumpwm.d/keybindings.lisp
parenteef462d92f9767f0de9e799cc56b831732146b38 (diff)
stumpwm:(keys) Update volume keys, groups and splits
Diffstat (limited to '.stumpwm.d/keybindings.lisp')
-rw-r--r--.stumpwm.d/keybindings.lisp28
1 files changed, 18 insertions, 10 deletions
diff --git a/.stumpwm.d/keybindings.lisp b/.stumpwm.d/keybindings.lisp
index 96e00bb..5023484 100644
--- a/.stumpwm.d/keybindings.lisp
+++ b/.stumpwm.d/keybindings.lisp
@@ -9,12 +9,14 @@
(setf *mouse-focus-policy* :click
*float-window-modifier* :SUPER)
+;; Float
+(define-key *top-map* (kbd "s-f") "float-this")
+(define-key *top-map* (kbd "s-F") "unfloat-this")
+
(define-key *root-map* (kbd "C-r") "exec rofi -show drun -modi drun -show-icons")
(define-key *root-map* (kbd ",") "exec flameshot gui")
(define-key *root-map* (kbd "M-r") "restart-hard")
(define-key *root-map* (kbd "p") "exec emacsclient -e '(thanos/pass-launcher)'")
-(define-key *root-map* (kbd "F") "float-this")
-(define-key *root-map* (kbd "U") "unfloat-this")
(define-key *root-map* (kbd "b") "windowlist")
(define-key *root-map* (kbd "d") "delete-window")
(define-key *root-map* (kbd "C-d") "remove")
@@ -44,8 +46,8 @@
(define-key *top-map* (kbd "F11") "fullscreen")
;; Audio
-(define-key *top-map* (kbd "XF86AudioLowerVolume") "exec amixer sset Master 5%-")
-(define-key *top-map* (kbd "XF86AudioRaiseVolume") "exec amixer sset Master 5%+")
+(define-key *top-map* (kbd "XF86AudioLowerVolume") "exec pamixer -d 5")
+(define-key *top-map* (kbd "XF86AudioRaiseVolume") "exec pamixer -i 5")
;; x220 specific
(define-key *top-map* (kbd "F1") "exec brightnessctl --device='intel_backlight' set 5%-")
@@ -77,14 +79,20 @@
(define-key *root-map* (kbd "M-f") "move-window right")
(define-key *root-map* (kbd "M-n") "move-window down")
+;; Split & Focus
+(define-key *root-map* (kbd "s") "hsplit-and-focus")
+
+;; Groups
+(define-key *groups-map* (kbd "g") "gselect")
+
;; Nyxt
-(defvar *nyxt-map* (make-sparse-keymap))
-(define-key *root-map* (kbd "s") *nyxt-map*)
+;; (defvar *nyxt-map* (make-sparse-keymap))
+;; (define-key *root-map* (kbd "s") *nyxt-map*)
-(define-key *nyxt-map* (kbd "M-d") "nyxt-duck-newb")
-(define-key *nyxt-map* (kbd "h") "nyxt-http")
-(define-key *nyxt-map* (kbd "d") "nyxt-duck")
-(define-key *nyxt-map* (kbd "g") "nyxt-gh")
+;; (define-key *nyxt-map* (kbd "M-d") "nyxt-duck-newb")
+;; (define-key *nyxt-map* (kbd "h") "nyxt-http")
+;; (define-key *nyxt-map* (kbd "d") "nyxt-duck")
+;; (define-key *nyxt-map* (kbd "g") "nyxt-gh")