diff options
-rw-r--r-- | .emacs.d/init-spw.el | 4 | ||||
-rwxr-xr-x | .shenv | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el index 78c53388..dc9c7304 100644 --- a/.emacs.d/init-spw.el +++ b/.emacs.d/init-spw.el @@ -161,7 +161,7 @@ add places the library might be available to `load-path'." backup-by-copying-when-mismatch t tramp-backup-directory-alist backup-directory-alist) -(when (member (getenv "DESKTOP_SESSION") '("i3")) +(when (member (getenv "DESKTOP_SESSION") '("xfce" "i3")) (setq mouse-autoselect-window t focus-follows-mouse t desktop-restore-forces-onscreen nil) @@ -1464,7 +1464,7 @@ Should be t when do not have a good way to handle having lots of open frames, as I do have under i3 with its tabbed layout (which I use by default)." (or (not (memq (framep (selected-frame)) '(x))) - (not (member (getenv "DESKTOP_SESSION") '("i3"))))) + (not (member (getenv "DESKTOP_SESSION") '("xfce" "i3"))))) ;; if we're going to be using multiple frames, make `frame-title-format' not ;; depend on whether there are multiple frames right now @@ -8,7 +8,7 @@ set +e # ---- choose editor depending on what's available -if [ "$DESKTOP_SESSION" = "i3" ]; then +if [ "$DESKTOP_SESSION" = "i3" ] || [ "$DESKTOP_SESSION" = "xfce" ]; then ec="emacsclient -c" else ec="emacsclient -t" |