From 6a8a93ee551d086d02c35f4354674369b51632ed Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 31 Jan 2024 04:07:48 +0200 Subject: stumpwm:(keys) Update volume keys, groups and splits --- .stumpwm.d/keybindings.lisp | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) (limited to '.stumpwm.d/keybindings.lisp') 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") -- cgit v1.2.3