diff options
author | ThanosApollo <[email protected]> | 2022-10-11 22:19:59 +0300 |
---|---|---|
committer | ThanosApollo <[email protected]> | 2022-10-11 22:19:59 +0300 |
commit | ec6ff70707877d873f81386bca0793b12779b645 (patch) | |
tree | c23bb6033778f27a193d5f859f499a06d7ed481d /.config/doom/config.el | |
parent | 1210791bb4df576ffe58cfb9c794cda52df7b388 (diff) |
Add exwm configs and tools
Diffstat (limited to '.config/doom/config.el')
-rw-r--r-- | .config/doom/config.el | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/.config/doom/config.el b/.config/doom/config.el index cf386f8..6a25c69 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -131,6 +131,24 @@ ad-do-it)) (ad-activate 'linum-update) +;; EXWM +(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) + + +;; (start-process-shell-command +;; "setxkbmap -option caps:swapescape") ;;Vterm ;;(require 'vterm) ;; (map! :leader @@ -272,8 +290,7 @@ "TODO(t)" ; A task that is ready to be tackled "BLOG(b)" ; Blog writing assignments "GYM(g)" ; Things to accomplish at the gym - "PROJ(p)" ; A project that contains other tasks - "VIDEO(v)" ; Video assignments + "IMPR(p)" ; Needs improvements "WAIT(w)" ; Something is holding up this task "|" ; The pipe necessary to separate "active" states and "inactive" states "DONE(d)" ; Task has been completed @@ -313,4 +330,3 @@ (set-face-attribute 'org-table nil :font doom-font :weight 'normal :height 1.0 :foreground "#bfafdf")) (apollo/org-colors-primary) - |