diff options
author | fpi | 2021-03-11 16:56:38 +0100 |
---|---|---|
committer | fpi | 2022-03-17 14:37:58 +0100 |
commit | 326d6d59953becd4ddd2146b38e309805e9665bd (patch) | |
tree | 1ad52ccbd8a787788edfa08f207ae2a29d37ea34 | |
parent | EXWM: No longer try to start dbus (diff) |
EXWM: Set randr outputs based on device & use vterm
Diffstat (limited to '')
-rw-r--r-- | init-exwm.org | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/init-exwm.org b/init-exwm.org index 01e8bc5..8acf733 100644 --- a/init-exwm.org +++ b/init-exwm.org @@ -49,7 +49,8 @@ set keyboard #+BEGIN_SRC emacs-lisp (use-package exwm-randr :config - (setq exwm-randr-workspace-output-plist '(0 "DP1" 1 "DisplayPort-5")) + (setq exwm-randr-workspace-output-plist + (when (equal fpi/current-device "pan") '(0 "DisplayPort-3" 1 "DisplayPort-5"))) ;; (when (equal system-name "pan") ;; (start-process-shell-command "xrandr" nil "xrandr --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --off --output HDMI-A-0 --off --output DisplayPort-3 --mode 2560x1440 --pos 0x612 --rotate normal --output DisplayPort-4 --off --output DisplayPort-5 --mode 2560x1440 --pos 2560x0 --rotate right --output DisplayPort-6 --off") ;; (exwm-workspace-add)) @@ -319,7 +320,6 @@ Global bindings (exwm-input-set-key (kbd "s-r") #'windmove-up) (exwm-input-set-key (kbd "s-t") #'windmove-right) -(exwm-input-set-key (kbd "M-s") #'ace-jump-word-mode) (exwm-input-set-key (kbd "s-B") #'ibuffer-list-buffers) (exwm-input-set-key (kbd "s-X") #'kill-this-buffer) @@ -332,7 +332,8 @@ Global bindings (exwm-input-set-key (kbd "s-T") 'ambrevar/swap-windows-right) (exwm-input-set-key (kbd "s-<tab>") #'ambrevar/switch-to-last-buffer) -(exwm-input-set-key (kbd "s-<return>") (lambda () +(exwm-input-set-key (kbd "s-<return>") #'vterm) +(exwm-input-set-key (kbd "S-s-<return>") (lambda () (interactive) (start-process "term" nil "tilix"))) (exwm-input-set-key (kbd "s-h") 'bury-buffer) |