diff options
author | Thanos Apollo <[email protected]> | 2023-06-22 04:54:19 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-06-22 04:54:19 +0300 |
commit | 16e9cf5946e64a5baf02441a773ce5931a5cb1e0 (patch) | |
tree | afb59d51821491cc54f14ec9f2ce6d2a44f6953f /stumpwm.org | |
parent | 8347273086d533562bc4eb9541767e54e3590ca8 (diff) |
stumpwm: Update keybindings
Diffstat (limited to 'stumpwm.org')
-rw-r--r-- | stumpwm.org | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/stumpwm.org b/stumpwm.org index 742b734..aabd27c 100644 --- a/stumpwm.org +++ b/stumpwm.org @@ -295,10 +295,17 @@ (define-key *root-map* (kbd "M-r") "restart-hard") (define-key *root-map* (kbd "p") "exec ~/Developer/rofi-pass/rofi-pass") (define-key *root-map* (kbd "f") "float-this") - (define-key *root-map* (kbd "M-f") "fullscreen") + (define-key *root-map* (kbd "C-f") "unfloat-this") - (define-key *root-map* (kbd "3") "hsplit-and-focus") - (define-key *root-map* (kbd "0") "delete-window-and-frame") + + (defvar *thanos-buffers-map* + (let ((m (make-sparse-keymap))) + (define-key m (kbd "0") "delete-window-and-frame") + (define-key m (kbd "3") "hsplit-and-focus") + m ; NOTE: this is important + )) + + (define-key *root-map* (kbd "x") *thanos-buffers-map*) (define-key *root-map* (kbd "e") "exec emacsclient -c") @@ -310,6 +317,7 @@ ;; Lock screen (define-key *root-map* (kbd "C-l") "exec ~/Developer/scripts/lock.sh") + (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") @@ -319,8 +327,8 @@ (define-key *top-map* (kbd "XF86LaunchA") "exec brightnessctl --device='tpacpi::kbd_backlight' set 1-") ;; Keyboard layout - (define-key *top-map* (kbd "F1") "exec setxkbmap us -options ctrl:swapcaps") - (define-key *top-map* (kbd "F2") "exec setxkbmap gr -options ctrl:swapcaps") + (define-key *top-map* (kbd "F1") "exec setxkbmap us -option ctrl:swapcaps") + (define-key *top-map* (kbd "F2") "exec setxkbmap gr -option ctrl:swapcaps") ;;; Groups ;; Switch to group @@ -345,5 +353,5 @@ (define-key *root-map* (kbd "M-n") "move-focus down") (define-key *root-map* (kbd "s") "Duck") - (define-key *root-map* (kbd "v") "Invidious") + ;(define-key *root-map* (kbd "v") "Invidious") #+end_src |