From 36d91cfd6d7fc72c706b10aba210696fd15c9426 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 2 Nov 2022 05:16:47 +0200 Subject: Update xrandr for thinkpad and keybindings --- .emacs.d/lisp/init-exwm.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.emacs.d') 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 -- cgit v1.2.3