diff options
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) |