From 3eda63e6079887b747dd3b21bf73a6d619f86f90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Violet=20Truchse=C3=9F?= Date: Fri, 1 Nov 2024 21:16:35 +0100 Subject: [PATCH] fixed reboot indicator --- waybar/.config/waybar/reboot_indicator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waybar/.config/waybar/reboot_indicator.sh b/waybar/.config/waybar/reboot_indicator.sh index e407969..6b00dc6 100755 --- a/waybar/.config/waybar/reboot_indicator.sh +++ b/waybar/.config/waybar/reboot_indicator.sh @@ -2,7 +2,7 @@ RUNNING_VERSION="$(uname -r | grep -o '[0-9]*\.[0-9]*\.[0-9]*-[0-9]*')" -INSTALLED_VERSION="$(find /boot -name 'vmlinuz*' | grep -o '[0-9]*\.[0-9]*\.[0-9]*-[0-9]*' | sort -r | head -1)" +INSTALLED_VERSION="$(find /boot -maxdepth 0 -name 'vmlinuz*' | grep -o '[0-9]*\.[0-9]*\.[0-9]*-[0-9]*' | sort -r | head -1)" #echo $RUNNING_VERSION #echo $INSTALLED_VERSION