

NOTE: Uncomment the following two options if you want window buffers to be available on all workspaces! Automatically move EXWM buffer to current workspace when selected (setq exwm-layout-show-all-buffers t) Display all EXWM buffers in every workspace buffer list (setq exwm-workspace-show-all-buffers t) NOTE: Uncomment this option if you want to detach the minibuffer! Detach the minibuffer (show it with exwm-workspace-toggle-minibuffer) (setq exwm-workspace-minibuffer-position 'top) Set the screen resolution (update this to be the correct resolution for your screen!) ( start-process-shell-command "xmodmap " nil "xmodmap ~/.emacs.d/exwm/Xmodmap ") ( add-hook 'exwm-init-hook # 'efs/exwm-init-hook) When EXWM starts up, do some extra confifuration ( add-hook 'exwm-manage-finish-hook # 'efs/configure-window-by-class) ( add-hook 'exwm-update-title-hook # 'efs/exwm-update-title) When window title updates, use it to set the buffer name

( add-hook 'exwm-update-class-hook # 'efs/exwm-update-class) When window "class" updates, use it to set the buffer name :config Set the default number of workspaces ( string-trim ( shell-command-to-string "autorandr -current ")))) (efs/run-in-background "autorandr -change -force ")


This function should be used only after configuring autorandr! ( "Firefox " (exwm-workspace-move-window 2)) (exwm-floating-move ( - pos-x) ( - pos-y)))) This function isn't currently used, only serves as an example how to position a window ( "Firefox " (exwm-workspace-rename-buffer ( format " Firefox: %s " exwm-title))))) (exwm-workspace-rename-buffer exwm-class-name)) (efs/run-in-background "blueman-applet ")) Launch apps that will run in the background Open eshell by default (eshell) NOTE: The next two are disabled because we now use Polybar! Show battery status in the mode line (display-battery-mode 1) Show the time and date in modeline (setq display-time-day-and-date t) (display-time-mode 1) Also take a look at display-time-format and format-time-string Start the Polybar panel Make workspace 1 be the one where we land at startup ( start-process-shell-command "feh " nil "feh -bg-scale /usr/share/backgrounds/matt-mcnulty-nyc-2nd-ave.jpg ")) NOTE: You will need to update this to a valid background path! ( apply # 'call-process `(,( car command-parts) nil 0 nil cdr command-parts))))) ( let ((command-parts ( split-string command "+ ")))
