diff options
author | ThanosApollo <[email protected]> | 2022-10-12 14:23:46 +0300 |
---|---|---|
committer | ThanosApollo <[email protected]> | 2022-10-12 14:23:46 +0300 |
commit | 670f297cece867b9dc36cc7e49aa77d98b379276 (patch) | |
tree | fab194086b588e8491433b038d40b8cd287f2c98 /.config/doom/myExwm.el | |
parent | 895c911067dc269bb41ee0fdf2089a72939f2484 (diff) |
Restracture doom
Diffstat (limited to '.config/doom/myExwm.el')
-rw-r--r-- | .config/doom/myExwm.el | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/doom/myExwm.el b/.config/doom/myExwm.el new file mode 100644 index 0000000..dc947a7 --- /dev/null +++ b/.config/doom/myExwm.el @@ -0,0 +1,15 @@ +;;; myExwm.el -*- lexical-binding: t; -*- + +(require 'exwm-randr) +(setq exwm-randr-workspace-monitor-plist '(0 "DisplayPort-2" 1 "HDMI-A-0")) +(add-hook 'exwm-randr-screen-change-hook + (lambda () + (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"))) +(exwm-randr-enable) +(require 'exwm) +(require 'exwm-config) +(exwm-enable) +(require 'exwm-systemtray) +(exwm-systemtray-enable) +(map! :desc "Change workspaces" :n "s-SPC" #'exwm-workspace-switch) |