summaryrefslogtreecommitdiff
path: root/home/xyz/.local
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-12-28 05:39:17 -0800
committerXiao Pan <gky44px1999@gmail.com>2023-12-28 05:39:17 -0800
commit11412d18a80f82e950265c0fe374d646bed548c3 (patch)
tree1756babcd92d754375d41efca1f48f9b1fc9c64a /home/xyz/.local
parent44d257008c5038a9a2c3f5fa3bd5c55becc890ba (diff)
fix: newline char after cli finish
Diffstat (limited to 'home/xyz/.local')
-rwxr-xr-xhome/xyz/.local/bin/upd3
1 files changed, 2 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd
index 6c64de05..38a301a6 100755
--- a/home/xyz/.local/bin/upd
+++ b/home/xyz/.local/bin/upd
@@ -75,7 +75,8 @@ 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)"
+$(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