Update
This commit is contained in:
		
							parent
							
								
									0745d9a59c
								
							
						
					
					
						commit
						1314e0298c
					
				|  | @ -1,5 +1,5 @@ | ||||||
| [Desktop Entry] | [Desktop Entry] | ||||||
| Exec=/usr/bin/bash ~/.local/bin/copy-calamares-to-desktop.sh | Exec=/bin/sh -c '~/.local/bin/copy-calamares-to-desktop.sh' | ||||||
| Icon= | Icon= | ||||||
| Name=copy-calamares-to-desktop.sh | Name=copy-calamares-to-desktop.sh | ||||||
| Path= | Path= | ||||||
|  |  | ||||||
|  | @ -0,0 +1,8 @@ | ||||||
|  | #!/usr/bin/env xdg-open | ||||||
|  | [Desktop Entry] | ||||||
|  | Exec=/bin/sh -c '~/.local/bin/dnscrypt.sh' | ||||||
|  | Icon= | ||||||
|  | Name=dnscrypt.sh | ||||||
|  | Path= | ||||||
|  | Terminal=false | ||||||
|  | Type=Application | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| #!/usr/bin/env xdg-open | #!/usr/bin/env xdg-open | ||||||
| [Desktop Entry] | [Desktop Entry] | ||||||
| Exec=/usr/bin/konsole -e ~/.local/bin/key-sign.sh | Exec=/usr/bin/konsole -e '~/.local/bin/key-sign.sh' | ||||||
| Icon= | Icon= | ||||||
| Name=key-sign.sh | Name=key-sign.sh | ||||||
| Path= | Path= | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| #!/usr/bin/env xdg-open | #!/usr/bin/env xdg-open | ||||||
| [Desktop Entry] | [Desktop Entry] | ||||||
| Exec=/usr/bin/bash ~/.local/bin/reset-layout.sh | Exec=/bin/sh -c '~/.local/bin/reset-layout.sh' | ||||||
| Icon= | Icon= | ||||||
| Name=reset-layout.sh | Name=reset-layout.sh | ||||||
| Path= | Path= | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| #!/usr/bin/env xdg-open | #!/usr/bin/env xdg-open | ||||||
| [Desktop Entry] | [Desktop Entry] | ||||||
| Exec=/usr/bin/bash ~/.local/bin/set-default-web-browser.sh | Exec=/bin/sh -c '~/.local/bin/set-default-web-browser.sh' | ||||||
| Icon= | Icon= | ||||||
| Name=set-default-web-browser.sh | Name=set-default-web-browser.sh | ||||||
| Path= | Path= | ||||||
|  |  | ||||||
|  | @ -0,0 +1,8 @@ | ||||||
|  | #!/usr/bin/env xdg-open | ||||||
|  | [Desktop Entry] | ||||||
|  | Exec=/bin/sh -c '~/.local/bin/tor.sh' | ||||||
|  | Icon= | ||||||
|  | Name=tor.sh | ||||||
|  | Path= | ||||||
|  | Terminal=false | ||||||
|  | Type=Application | ||||||
|  | @ -0,0 +1,8 @@ | ||||||
|  | #!/usr/bin/env xdg-open | ||||||
|  | [Desktop Entry] | ||||||
|  | Exec=/bin/sh -c '~/.local/bin/tuned.sh' | ||||||
|  | Icon= | ||||||
|  | Name=tuned.sh | ||||||
|  | Path= | ||||||
|  | Terminal=false | ||||||
|  | Type=Application | ||||||
|  | @ -0,0 +1,15 @@ | ||||||
|  | #!/bin/bash | ||||||
|  | 
 | ||||||
|  | if [[ "$UID" != 0 ]]; then | ||||||
|  |     echo "USER NOT ROOT" | ||||||
|  |     sudo "$0" | ||||||
|  |     exit | ||||||
|  | else | ||||||
|  |     echo "USER IS ROOT" | ||||||
|  | fi | ||||||
|  | 
 | ||||||
|  | $status=$(systemctl status dnscrypt-proxy.service) | ||||||
|  | 
 | ||||||
|  | if [[ "$status" != 0 ]]; then | ||||||
|  |     systemctl restart dnscrypt-proxy.service | ||||||
|  | fi | ||||||
|  | @ -0,0 +1,15 @@ | ||||||
|  | #!/bin/bash | ||||||
|  | 
 | ||||||
|  | if [[ "$UID" != 0 ]]; then | ||||||
|  |     echo "USER NOT ROOT" | ||||||
|  |     sudo "$0" | ||||||
|  |     exit | ||||||
|  | else | ||||||
|  |     echo "USER IS ROOT" | ||||||
|  | fi | ||||||
|  | 
 | ||||||
|  | $status=$(systemctl status tor) | ||||||
|  | 
 | ||||||
|  | if [[ "$status" != 0 ]]; then | ||||||
|  |     systemctl restart tor | ||||||
|  | fi | ||||||
|  | @ -0,0 +1,16 @@ | ||||||
|  | #!/bin/bash | ||||||
|  | 
 | ||||||
|  | if [[ "$UID" != 0 ]]; then | ||||||
|  |     echo "USER NOT ROOT" | ||||||
|  |     sudo "$0" | ||||||
|  |     exit | ||||||
|  | else | ||||||
|  |     echo "USER IS ROOT" | ||||||
|  | fi | ||||||
|  | 
 | ||||||
|  | $status=$(systemctl status tuned tuned-ppd) | ||||||
|  | 
 | ||||||
|  | if [[ "$status" != 0 ]]; then | ||||||
|  |     systemctl restart tuned tuned-ppd | ||||||
|  | #     systemctl --user restart plasma-plasmashell | ||||||
|  | fi | ||||||
		Loading…
	
		Reference in New Issue