diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-03-02 17:43:03 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-03-02 17:43:03 +1100 |
| commit | 5d64489af43e6a7304b8843eb40a75de68dbbb50 (patch) | |
| tree | acbb2f57015a7a201f0a9b42eb55b7fc04b85545 /wallpaper.fish | |
| parent | scheme: better light mode colours (diff) | |
| download | caelestia-cli-5d64489af43e6a7304b8843eb40a75de68dbbb50.tar.gz caelestia-cli-5d64489af43e6a7304b8843eb40a75de68dbbb50.tar.bz2 caelestia-cli-5d64489af43e6a7304b8843eb40a75de68dbbb50.zip | |
shell: no logging
Diffstat (limited to 'wallpaper.fish')
| -rwxr-xr-x | wallpaper.fish | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/wallpaper.fish b/wallpaper.fish index 7ceed83..d6c146e 100755 --- a/wallpaper.fish +++ b/wallpaper.fish @@ -50,12 +50,6 @@ else error "$chosen_wallpaper is not a valid image" exit 1 end - - # Set last wallpaper if not same as given - if test -f "$last_wallpaper_path" - set last_wallpaper (cat $last_wallpaper_path) - test -z "$last_wallpaper" -o "$last_wallpaper" = "$chosen_wallpaper" && set -e last_wallpaper - end else # The path to the directory containing the selection of wallpapers set -q _flag_d && set wallpapers_dir (realpath $_flag_d) |