From d850cd980bb37821162c01cd249a943a516d26cd Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Mon, 5 Dec 2022 16:53:56 +0200 Subject: use feh for wallpaper setting --- .emacs.d/lisp/functions.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/lisp/functions.el b/.emacs.d/lisp/functions.el index 4364bac..cd774b5 100644 --- a/.emacs.d/lisp/functions.el +++ b/.emacs.d/lisp/functions.el @@ -71,10 +71,10 @@ "amixer" nil "amixer sset Master 5%-")) (defun apollo/restore-wallpaper () - "Restore wallpaper." + "Set NAME as wallpaper." (interactive) (start-process-shell-command - "nitrogen" nil "nitrogen --restore")) + "feh" nil "feh --bg-center ~/Downloads/wp9104600-gnu-linux-wallpapers.jpg ~/Downloads/wp9104600-gnu-linux-wallpapers.jpg ")) (defun apollo/emacs-keys () "Swap caps with ctrl." -- cgit v1.2.3