mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
fix(sxiv): wallaper setting works again
This commit is contained in:
parent
6f1ad766cc
commit
5034caf4a6
@ -19,11 +19,9 @@ function generateWallpaper() {
|
||||
convert "${2}" "${OUTPUT_IMAGE}"
|
||||
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
|
||||
notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Setting wallpaper" &
|
||||
~/.local/bin/wallpaper
|
||||
notify-send.py --hint string:image-path:"$2" --replaces-process setwallpaper -a sxiv "Wallpaper set" &
|
||||
notify-send.py --hint string:image-path:"$1" --replaces-process setwallpaper -a sxiv "Wallpaper set" &
|
||||
}
|
||||
|
||||
while read -r file; do
|
||||
@ -32,11 +30,6 @@ while read -r file; do
|
||||
echo -n "$file" | xclip -selection clipboard
|
||||
notify-send.py --hint string:image-path:"$file" -a sxiv "Added to clipboard" &
|
||||
;;
|
||||
"C-l")
|
||||
notify-send.py --hint string:image-path:"$file" -a sxiv "Generating lock image" &
|
||||
generate-lock-image "$file"
|
||||
notify-send.py --hint string:image-path:"$file" -a sxiv "Lock image generated" &
|
||||
;;
|
||||
"C-w")
|
||||
generateWallpaper 0 "$file"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user