diff options
author | Thanos Apollo <[email protected]> | 2022-11-02 05:16:47 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2022-11-02 05:20:44 +0200 |
commit | 36d91cfd6d7fc72c706b10aba210696fd15c9426 (patch) | |
tree | 7c39582e648a24afe147d0bd7d4ec1a23b3ee30b /.emacs.d/lisp | |
parent | 4e21f4f8f9c0906d8aed468b495dcd448069e7af (diff) |
Update xrandr for thinkpad and keybindings
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r-- | .emacs.d/lisp/init-exwm.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.emacs.d/lisp/init-exwm.el b/.emacs.d/lisp/init-exwm.el index d1dc888..c0739cb 100644 --- a/.emacs.d/lisp/init-exwm.el +++ b/.emacs.d/lisp/init-exwm.el @@ -16,8 +16,7 @@ (start-process-shell-command - "xrandr" nil "xrandr --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --primary --mode 2560x1440 --pos 1920x0 --rotate normal --output HDMI-A-0 --mode 1920x1080 --pos 0x0 --rotate normal") - + "xrandr" nil "xrandr --output eDP1 --off --output DP1 --off --output DP2 --off --output HDMI1 --mode 1920x1080 --pos 0x0 --rotate left --output HDMI2 --primary --mode 2560x1440 --pos 1080x0 --rotate normal --output VIRTUAL1 --off") ;; Rebind CapsLock to Ctrl @@ -38,7 +37,7 @@ ?\M-x ?\M-` ?\M-& - ?\M-: + ?\M-: ?\C-\M-j ;; Buffer list ?\C-\ )) ;; Ctrl+Space @@ -57,6 +56,7 @@ ([s-right] . windmove-right) ([s-up] . windmove-up) ([s-down] . windmove-down) + ([s-v] . split-window-right) ;; Launch applications via shell command ([?\s-&] . (lambda (command) @@ -64,7 +64,7 @@ (start-process-shell-command command nil command))) ;; Switch workspace - ([?\s-w] . exwm-workspace-switch) + ([?\s-e] . exwm-workspace-switch) ([?\s-`] . (lambda () (interactive) (exwm-workspace-switch-create 0))) ;; 's-N': Switch to certain workspace with Super (Win) plus a number key (0 - 9) @@ -76,6 +76,6 @@ (number-sequence 0 9)))) (exwm-enable)) -(provide 'init-exwm) + ;;; init-exwm.el ends here |