From e54cec7e648c13d33e1f702683ec952eabee661d Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Mon, 16 Mar 2020 15:34:51 +0100 Subject: [PATCH] Added wallpaper to lightDM --- README.org | 2 ++ sxiv/.config/sxiv/exec/key-handler | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.org b/README.org index cfba9c4..8f9c152 100644 --- a/README.org +++ b/README.org @@ -41,6 +41,8 @@ A repository of my personal configuration files. - [[https://github.com/caffeine-ng/caffeine-ng][caffeine-ng]] - [[https://the.exa.website/][exa]] - [[https://github.com/junegunn/fzf][fzf]] +- [[https://imagemagick.org/index.php][ImageMagick]] +- [[https://github.com/canonical/lightdm][LightDM]] - [[https://github.com/internalfx/mailcap][mailcap]] - [[https://mpv.io/][mpv]] - [[https://github.com/l3ib/nitrogen/][nitrogen]] diff --git a/sxiv/.config/sxiv/exec/key-handler b/sxiv/.config/sxiv/exec/key-handler index 210b8ec..c89b498 100755 --- a/sxiv/.config/sxiv/exec/key-handler +++ b/sxiv/.config/sxiv/exec/key-handler @@ -8,6 +8,8 @@ function generateWallpaper() { if [ "$1" == 0 ]; then notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Generating wal color scheme" & ~/.local/bin/generatewal + notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Generating LightDM wallpaper" & + doas convert "$2" /usr/share/pixmaps/wallpaper.png fi notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Wallpaper set" &