mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-07 15:59:28 -05:00
shell: no logging
This commit is contained in:
@@ -10,7 +10,6 @@ if test "$argv[1]" = shell
|
|||||||
$C_DATA/shell/run.fish
|
$C_DATA/shell/run.fish
|
||||||
else
|
else
|
||||||
if contains -- 'caelestia' (astal -l)
|
if contains -- 'caelestia' (astal -l)
|
||||||
log "Sent command '$argv[2..]' to shell"
|
|
||||||
astal -i caelestia $argv[2..]
|
astal -i caelestia $argv[2..]
|
||||||
else
|
else
|
||||||
warn 'Shell unavailable'
|
warn 'Shell unavailable'
|
||||||
|
|||||||
@@ -50,12 +50,6 @@ else
|
|||||||
error "$chosen_wallpaper is not a valid image"
|
error "$chosen_wallpaper is not a valid image"
|
||||||
exit 1
|
exit 1
|
||||||
end
|
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
|
else
|
||||||
# The path to the directory containing the selection of wallpapers
|
# The path to the directory containing the selection of wallpapers
|
||||||
set -q _flag_d && set wallpapers_dir (realpath $_flag_d)
|
set -q _flag_d && set wallpapers_dir (realpath $_flag_d)
|
||||||
|
|||||||
Reference in New Issue
Block a user