summaryrefslogtreecommitdiff
path: root/.emacs.d/modules/thanos-commands.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/modules/thanos-commands.el')
-rw-r--r--.emacs.d/modules/thanos-commands.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/.emacs.d/modules/thanos-commands.el b/.emacs.d/modules/thanos-commands.el
index 86814ed..da5b4ae 100644
--- a/.emacs.d/modules/thanos-commands.el
+++ b/.emacs.d/modules/thanos-commands.el
@@ -113,7 +113,10 @@
(defun thanos/wallpaper-set (image)
"Set IMAGE as wallpaper, using feh."
(call-process-shell-command
- (concat "xwallpaper --focus " wallpapers-dir image) nil 0))
+ (concat (if is-zeus "xwallpaper --output DisplayPort-1 --stretch "
+ "xwallpaper --focus ")
+ wallpapers-dir image)
+ nil 0))
(defun thanos/wallpaper-random ()
"Set random wallpaper."