mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2026-05-25 17:23:21 +02:00
firefox: actually rename to firefox-bin in systemd-inhibit
This commit is contained in:
parent
ded2d7f412
commit
3dc11004e6
@ -9,7 +9,7 @@ FlagsForFirefox="--allow-downgrade $@"
|
|||||||
|
|
||||||
inhibitcmd() {
|
inhibitcmd() {
|
||||||
if hash systemd-inhibit 2> /dev/null; then
|
if hash systemd-inhibit 2> /dev/null; then
|
||||||
systemd-inhibit --who "Firefox ($(whoami))" --why "Web browser is running, let's not autoreboot or anything" $@
|
systemd-inhibit --who "firefox-bin" --why "Firefox is running, let's not autoreboot or anything" $@
|
||||||
else
|
else
|
||||||
$@
|
$@
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user