From 0b2e7237af031e84b2a005a139f3da8e32eb7b9b Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Thu, 23 Nov 2023 02:19:52 +0500 Subject: [PATCH] Update --- root/.config/autostart/key-sign.sh.desktop | 2 +- root/.config/autostart/reset-layout.desktop | 2 +- root/.config/autostart/set-default-web-browser.desktop | 2 +- root/.local/userbin/key-sign.sh | 2 +- root/.local/userbin/reset-layout.sh | 2 +- root/.local/userbin/set-default-web-browser.sh | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/root/.config/autostart/key-sign.sh.desktop b/root/.config/autostart/key-sign.sh.desktop index 00b62b9..a953cac 100644 --- a/root/.config/autostart/key-sign.sh.desktop +++ b/root/.config/autostart/key-sign.sh.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Exec=$HOME/.local/userbin/key-sign.sh +Exec=/usr/bin/bash ~/.local/userbin/key-sign.sh Icon= Name=key-sign.sh Path= diff --git a/root/.config/autostart/reset-layout.desktop b/root/.config/autostart/reset-layout.desktop index ee36dda..3610154 100644 --- a/root/.config/autostart/reset-layout.desktop +++ b/root/.config/autostart/reset-layout.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Exec=$HOME/.local/userbin/reset-layout.sh +Exec=/usr/bin/bash ~/.local/userbin/reset-layout.sh Icon= Name=reset-layout.sh Path= diff --git a/root/.config/autostart/set-default-web-browser.desktop b/root/.config/autostart/set-default-web-browser.desktop index d8eb698..d8c9c6c 100644 --- a/root/.config/autostart/set-default-web-browser.desktop +++ b/root/.config/autostart/set-default-web-browser.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Exec=$HOME/.local/userbin/set-default-web-browser.sh +Exec=/usr/bin/bash ~/.local/userbin/set-default-web-browser.sh Icon= Name=set-default-web-browser.sh Path= diff --git a/root/.local/userbin/key-sign.sh b/root/.local/userbin/key-sign.sh index e7e5954..48f6c9f 100755 --- a/root/.local/userbin/key-sign.sh +++ b/root/.local/userbin/key-sign.sh @@ -8,7 +8,7 @@ else echo "USER IS ROOT" fi -sleep 20 +sleep 30 cd "/root" diff --git a/root/.local/userbin/reset-layout.sh b/root/.local/userbin/reset-layout.sh index baa450d..ba9c66f 100755 --- a/root/.local/userbin/reset-layout.sh +++ b/root/.local/userbin/reset-layout.sh @@ -6,7 +6,7 @@ theme="com.github.Melawy.Melawy-round-gray.Nier-A2.desktop" plasma-apply-lookandfeel -a "$theme" --resetLayout -notify-send -a "Theme is" "$theme" "$(date '+%Y.%m.%d %H:%M:%S')" +notify-send -t 5000 -a "Theme is" "$theme" "$(date '+%Y.%m.%d %H:%M:%S')" if [ "$(whoami)" != "liveuser" ]; then sleep 5 diff --git a/root/.local/userbin/set-default-web-browser.sh b/root/.local/userbin/set-default-web-browser.sh index 64a70f2..1a5cbe1 100755 --- a/root/.local/userbin/set-default-web-browser.sh +++ b/root/.local/userbin/set-default-web-browser.sh @@ -1,12 +1,12 @@ #!/bin/bash -sleep 20 +sleep 10 browser="firefox.desktop" xdg-settings set default-web-browser "$browser" -notify-send -a "Default browser is" "$browser" "$(date '+%Y.%m.%d %H:%M:%S')" +notify-send -t 5000 -a "Default browser is" "$browser" "$(date '+%Y.%m.%d %H:%M:%S')" if [ "$(whoami)" != "liveuser" ]; then sleep 5