summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-12-28 03:31:24 -0800
committerXiao Pan <gky44px1999@gmail.com>2023-12-28 03:31:24 -0800
commit44d257008c5038a9a2c3f5fa3bd5c55becc890ba (patch)
tree47f318ee8b42446179e41d9539b529fe16ac78d1 /home
parentc2d5af004a8294f0f96c6de9a645a52545e4cecb (diff)
feat
Diffstat (limited to 'home')
-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