mirror of
https://github.com/endeavouros-team/welcome.git
synced 2026-07-29 12:05:24 +00:00
[welcome] eos-reisub: added option --status; fixed welcome's autortart
This commit is contained in:
@@ -33,6 +33,7 @@ Main() {
|
||||
case "$1" in
|
||||
-e | --enable) [ -e $reisub_file ] || echo 'kernel.sysrq=1' | pkexec tee $reisub_file > /dev/null ;;
|
||||
-d | --disable) [ -e $reisub_file ] && pkexec rm -f $reisub_file ;;
|
||||
--status | "") ;;
|
||||
--edit-config) EditConfig ;;
|
||||
-h | --help) Help 0 ;;
|
||||
*) Fail "\$1 = '$1'" ;;
|
||||
@@ -52,6 +53,8 @@ Options:
|
||||
-e, --enable Enable REISUB support.
|
||||
-d, --disable Disable REISUB support.
|
||||
--edit-config Edit the configuration file.
|
||||
--status Show the state of REISUB setting.
|
||||
This is the default.
|
||||
-h, --help This help.
|
||||
EOF
|
||||
[ "$1" ] && exit "$1"
|
||||
|
||||
+2
-3
@@ -5,9 +5,8 @@ Name=Welcome
|
||||
Comment=EndeavourOS Welcome launcher
|
||||
Comment[fi]=EndeavourOS:n Welcome-ohjelman käynnistin
|
||||
Comment[sk]=Spúšťač privítania v systéme EndeavourOS
|
||||
Exec=eos-welcome --once
|
||||
# Icon=/usr/share/endeavouros/endeavouros-icon.png
|
||||
Icon=/usr/share/endeavouros/endeavouros-icon.avif
|
||||
Exec=eos-welcome
|
||||
Icon=endeavouros-icon
|
||||
# StartupNotify=false
|
||||
# Terminal=False
|
||||
Hidden=false
|
||||
|
||||
Reference in New Issue
Block a user