1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Added wallpaper to lightDM

This commit is contained in:
Ryan Kes 2020-03-16 15:34:51 +01:00
parent e4a5ea3116
commit e54cec7e64
2 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,8 @@ A repository of my personal configuration files.
- [[https://github.com/caffeine-ng/caffeine-ng][caffeine-ng]] - [[https://github.com/caffeine-ng/caffeine-ng][caffeine-ng]]
- [[https://the.exa.website/][exa]] - [[https://the.exa.website/][exa]]
- [[https://github.com/junegunn/fzf][fzf]] - [[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://github.com/internalfx/mailcap][mailcap]]
- [[https://mpv.io/][mpv]] - [[https://mpv.io/][mpv]]
- [[https://github.com/l3ib/nitrogen/][nitrogen]] - [[https://github.com/l3ib/nitrogen/][nitrogen]]

View File

@ -8,6 +8,8 @@ function generateWallpaper() {
if [ "$1" == 0 ]; then if [ "$1" == 0 ]; then
notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Generating wal color scheme" & notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Generating wal color scheme" &
~/.local/bin/generatewal ~/.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 fi
notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Wallpaper set" & notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Wallpaper set" &