Update
This commit is contained in:
		
							parent
							
								
									e6aec53879
								
							
						
					
					
						commit
						10ff29ca81
					
				| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
[Desktop Entry]
 | 
			
		||||
Exec=/home/liveuser/.local/userbin/key-sign.sh
 | 
			
		||||
Icon=
 | 
			
		||||
Name=key-sign.sh
 | 
			
		||||
Path=
 | 
			
		||||
Terminal=False
 | 
			
		||||
Type=Application
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
[Desktop Entry]
 | 
			
		||||
Exec=/home/liveuser/.local/userbin/reset-layout.sh
 | 
			
		||||
Icon=
 | 
			
		||||
Name=reset-layout.sh
 | 
			
		||||
Path=
 | 
			
		||||
Terminal=False
 | 
			
		||||
Type=Application
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
[Desktop Entry]
 | 
			
		||||
Exec=/home/liveuser/.local/userbin/set-default-web-browser.sh
 | 
			
		||||
Icon=
 | 
			
		||||
Name=set-default-web-browser.sh
 | 
			
		||||
Path=
 | 
			
		||||
Terminal=False
 | 
			
		||||
Type=Application
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,39 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
if [[ "$UID" != 0 ]]; then
 | 
			
		||||
    echo "USER NOT ROOT"
 | 
			
		||||
    sudo $0
 | 
			
		||||
    exit
 | 
			
		||||
else
 | 
			
		||||
    echo "USER IS ROOT"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
cd "/root"
 | 
			
		||||
 | 
			
		||||
haveged -w 1024
 | 
			
		||||
pacman-key --init
 | 
			
		||||
pkill haveged
 | 
			
		||||
 | 
			
		||||
pacman-key --populate archlinux melawy-linux endeavouros arcolinux chaotic cachyos
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
pacman-key --recv-keys valeria@fadeeva.me --keyserver hkps://keys.openpgp.org
 | 
			
		||||
pacman-key --lsign-key valeria@fadeeva.me
 | 
			
		||||
 | 
			
		||||
pacman-key --recv-keys key@fadeeva.me --keyserver hkps://keys.openpgp.org
 | 
			
		||||
pacman-key --lsign-key key@fadeeva.me
 | 
			
		||||
 | 
			
		||||
pacman-key --updatedb
 | 
			
		||||
 | 
			
		||||
pacman -Syy
 | 
			
		||||
 | 
			
		||||
if [ "$(whoami)" != "liveuser" ]; then
 | 
			
		||||
    sleep 5
 | 
			
		||||
    rm ~/.config/autostart/key-sign.sh.desktop
 | 
			
		||||
    rm ~/.local/userbin/key-sign.sh
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +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 ~/.config/autostart/reset-layout.desktop
 | 
			
		||||
    rm ~/.local/userbin/reset-layout.sh
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,9 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
xdg-settings set default-web-browser firefox.desktop
 | 
			
		||||
 | 
			
		||||
if [ "$(whoami)" != "liveuser" ]; then
 | 
			
		||||
    sleep 5
 | 
			
		||||
    rm ~/.config/autostart/set-default-web-browser.desktop
 | 
			
		||||
    rm ~/.local/userbin/set-default-web-browser.sh
 | 
			
		||||
fi
 | 
			
		||||
		Loading…
	
		Reference in New Issue