Skip to content

Commit

Permalink
[eos-bash-shared] changed reboot notification message texts in file e…
Browse files Browse the repository at this point in the history
…os-reboot-required3
  • Loading branch information
manuel-192 committed Jul 8, 2024
1 parent 510a77e commit 15d7f9e
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions eos-reboot-required3
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
#!/bin/bash

DoNotify() {
local cmd=(
eos_notification_all # function to notify all users
local -r msg="Reboot is recommended due to the upgrade of core system package(s)."
local icon=/usr/share/icons/Qogir/scalable/apps/system-reboot.svg
[ -e $icon ] || icon=system-reboot

system-reboot # icon
critical # urgency
0 # expire time (not used!)
eos-reboot-required2 # appname
"Reboot recommended!" # title:
"Reboot is recommended due to the upgrade of core system package(s)." # message:
RED # message color
local cmd=(
eos_notification_all # function to notify all users
$icon # icon
critical # urgency
0 # expire time (not used!)
"'EndeavourOS notification'" # appname
"Reboot recommended!" # title
"$msg" # message
RED # message color on TTY
)
"${cmd[@]}"
}
Expand Down

0 comments on commit 15d7f9e

Please sign in to comment.