summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-19 13:42:36 +0200
committerThanos Apollo <[email protected]>2024-02-19 13:42:36 +0200
commit527697672e653c530fe3d9962885faca597dacc1 (patch)
treed625f08c836cd3a817d7f2e49d6f03f6d97171bc
parent03be4c51ac6bc70c0e893692074e117b21f74cb3 (diff)
emacs:(commands) Use feh to set walpapers
-rw-r--r--.emacs.d/modules/thanos-commands.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/.emacs.d/modules/thanos-commands.el b/.emacs.d/modules/thanos-commands.el
index eb950c0..c7c980b 100644
--- a/.emacs.d/modules/thanos-commands.el
+++ b/.emacs.d/modules/thanos-commands.el
@@ -112,10 +112,7 @@
(defun thanos/wallpaper-set (image)
"Set IMAGE as wallpaper, using feh."
(call-process-shell-command
- (concat (if is-zeus "xwallpaper --output DisplayPort-1 --stretch "
- "xwallpaper --focus ")
- wallpapers-dir image)
- nil 0))
+ (concat "feh --bg-scale " wallpapers-dir image) nil 0))
(defun thanos/wallpaper-random ()
"Set random wallpaper."