summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to 'home/xyz/.local/bin')
-rwxr-xr-xhome/xyz/.local/bin/upd2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd
index 7011c68c..6c64de05 100755
--- a/home/xyz/.local/bin/upd
+++ b/home/xyz/.local/bin/upd
@@ -75,7 +75,7 @@ updated pacman packages: $pacpacs
updated aur packages: $aurpacs
pacdiff: $(pacdiff -o | tr '\n' ' ')
checkrebuild: $(checkrebuild)
-"
+$(if echo "$pacpacs" | grep -q 'linux-megi-[0-9]'; then echo 'kernel upgraded, need reboot'; fi)"
}
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing