This commit is contained in:
Valeria Fadeeva 2023-11-22 22:03:00 +05:00
parent abb434446f
commit ea7fe42b8d
6 changed files with 33 additions and 3 deletions

View File

@ -1,5 +1,5 @@
[Desktop Entry]
Exec=/home/liveuser/.local/userbin/key-sign.sh
Exec=$HOME/.local/userbin/key-sign.sh
Icon=
Name=key-sign.sh
Path=

View File

@ -1,5 +1,5 @@
[Desktop Entry]
Exec=/home/liveuser/.local/userbin/reset-layout.sh
Exec=$HOME/.local/userbin/reset-layout.sh
Icon=
Name=reset-layout.sh
Path=

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Exec=$HOME/.local/userbin/set-default-web-browser.sh
Icon=
Name=set-default-web-browser.sh
Path=
Terminal=False
Type=Application

View File

@ -10,14 +10,16 @@ fi
cd "/root"
chmod 700 /root/.gnupg
haveged -w 1024
pacman-key --init
pkill haveged
pacman-key --populate archlinux melawy-linux endeavouros arcolinux chaotic cachyos
pacman-key --lsign-key endeavouros
pacman-key --lsign-key melawy-linux
pacman-key --lsign-key endeavouros
pacman-key --lsign-key arcolinux
pacman-key --lsign-key chaotic
pacman-key --lsign-key cachyos
@ -31,3 +33,9 @@ pacman-key --lsign-key key@fadeeva.me
pacman-key --updatedb
pacman -Syy
if [ "$(whoami)" != "liveuser" ]; then
sleep 5
rm $HOME/.config/autostart/key-sign.sh.desktop
rm $HOME/.local/userbin/key-sign.sh
fi

View File

@ -1,3 +1,9 @@
#!/bin/bash
plasma-apply-lookandfeel -a "com.github.Melawy.Melawy-round-gray.Nier-A2.desktop" --resetLayout
if [ "$(whoami)" != "liveuser" ]; then
sleep 5
rm $HOME/.config/autostart/reset-layout.desktop
rm $HOME/.local/userbin/reset-layout.sh
fi

View File

@ -0,0 +1,9 @@
#!/bin/bash
xdg-settings set default-web-browser firefox.desktop
if [ "$(whoami)" != "liveuser" ]; then
sleep 5
rm $HOME/.config/autostart/set-default-web-browser.desktop
rm $HOME/.local/userbin/set-default-web-browser.sh
fi