From ec6ff70707877d873f81386bca0793b12779b645 Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Tue, 11 Oct 2022 22:19:59 +0300 Subject: Add exwm configs and tools --- .config/doom/config.el | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to '.config/doom/config.el') 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) - -- cgit v1.2.3