]> piware.de Git - bin.git/commitdiff
daytime-term: Keep dark mode longer in the morning master
authorMartin Pitt <martin@piware.de>
Sun, 1 Sep 2024 11:36:10 +0000 (13:36 +0200)
committerMartin Pitt <martin@piware.de>
Sun, 1 Sep 2024 11:36:10 +0000 (13:36 +0200)
build-cockpit-toolbox
daytime-term

index 8b7a87e43f792c9d46dff70aec58b86cf1b57557..aae5c754767728a93106ae54689166a81ee57f19 100755 (executable)
@@ -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
 
index 102e417c8ced4479a89f62eb3152a86e7ed5437b..9d7c888c99b72906e3e891feb504b8831c05c86f 100755 (executable)
@@ -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