From 5d64489af43e6a7304b8843eb40a75de68dbbb50 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 2 Mar 2025 17:43:03 +1100 Subject: shell: no logging --- main.fish | 1 - wallpaper.fish | 6 ------ 2 files changed, 7 deletions(-) diff --git a/main.fish b/main.fish index d2722e1..4889275 100755 --- a/main.fish +++ b/main.fish @@ -10,7 +10,6 @@ if test "$argv[1]" = shell $C_DATA/shell/run.fish else if contains -- 'caelestia' (astal -l) - log "Sent command '$argv[2..]' to shell" astal -i caelestia $argv[2..] else warn 'Shell unavailable' 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) -- cgit v1.2.3-freya