From: Martin Pitt Date: Sun, 1 Sep 2024 11:36:10 +0000 (+0200) Subject: daytime-term: Keep dark mode longer in the morning X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=8e7b5e0a0e4d965827dccf6570edee8266c5e4b3;p=bin.git daytime-term: Keep dark mode longer in the morning --- diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index 8b7a87e..aae5c75 100755 --- a/build-cockpit-toolbox +++ b/build-cockpit-toolbox @@ -24,6 +24,8 @@ sudo dnf install -y ansible bash-completion man-db man-pages moreutils fd-find r tmt flatpak-builder flatpak-spawn \ fedpkg centpkg +sudo dnf downgrade -y neovim + # https://bugzilla.redhat.com/show_bug.cgi?id=2281714 sudo dnf install -y libglvnd-gles diff --git a/daytime-term b/daytime-term index 102e417..9d7c888 100755 --- a/daytime-term +++ b/daytime-term @@ -6,7 +6,7 @@ if [ "${1:-}" = "night" ]; then night=1 elif [ "${1:-}" = "day" ]; then night= -elif [ `date +%k` -ge 20 ] || [ `date +%k` -lt 5 ]; then +elif [ `date +%k` -ge 20 ] || [ `date +%k` -lt 7 ]; then night=1 fi