[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f735aa0f39 2/2: Prefer DE specific commands to set wallpaper
From: |
Stefan Kangas |
Subject: |
master f735aa0f39 2/2: Prefer DE specific commands to set wallpaper |
Date: |
Mon, 19 Sep 2022 05:39:12 -0400 (EDT) |
branch: master
commit f735aa0f3954750df799fce3452b56e5bdac2184
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Prefer DE specific commands to set wallpaper
* lisp/image/wallpaper.el (wallpaper--default-commands): Rearrange
order to prioritize desktop environment specific commands before
general Wayland commands like "wbg" or even "swaybg". (Bug#57781)
---
lisp/image/wallpaper.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lisp/image/wallpaper.el b/lisp/image/wallpaper.el
index 4572a8c062..ff47d37e3a 100644
--- a/lisp/image/wallpaper.el
+++ b/lisp/image/wallpaper.el
@@ -55,10 +55,6 @@
(defvar wallpaper--default-commands
;; When updating this, also update the custom :type for `wallpaper-command'.
'(
- ;; Sway (Wayland)
- ("swaybg" "-o" "*" "-i" "%f" "-m" "fill")
- ;; Wayland General
- ("wbg" "%f")
;; Gnome
("gsettings" "set" "org.gnome.desktop.background" "picture-uri"
"file://%f")
;; KDE Plasma
@@ -66,6 +62,10 @@
;; XFCE
("xfconf-query" "-c" "xfce4-desktop" "-p"
"/backdrop/screen0/monitoreDP/workspace0/last-image" "-s" "%f")
+ ;; Sway (Wayland)
+ ("swaybg" "-o" "*" "-i" "%f" "-m" "fill")
+ ;; Wayland General
+ ("wbg" "%f")
;; macOS
("osascript" "-e" "tell application \"Finder\" to set desktop picture to
POSIX file \"%f\"")
;; Other / General X