diff options
| author | laki <laki@moon> | 2026-01-29 22:13:03 +0000 |
|---|---|---|
| committer | laki <laki@moon> | 2026-01-29 22:13:03 +0000 |
| commit | 96c18428987bdfd6fd70bdfde1a3c1c4d3b90cfa (patch) | |
| tree | ef2eee178c2b5452e80b0e5e5926616dab04f2a6 /install.sh | |
| download | nm-applet-fix-96c18428987bdfd6fd70bdfde1a3c1c4d3b90cfa.tar.gz nm-applet-fix-96c18428987bdfd6fd70bdfde1a3c1c4d3b90cfa.tar.bz2 nm-applet-fix-96c18428987bdfd6fd70bdfde1a3c1c4d3b90cfa.zip | |
Initial commit for nm-applet-fix
Diffstat (limited to 'install.sh')
| -rw-r--r-- | install.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..32b2cbe --- /dev/null +++ b/install.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# nm-applet-fix - Installation Script +set -e + +if [ "$EUID" -ne 0 ]; then + echo "Please run as root (use sudo)." + exit 1 +fi + +echo "Installing patched nm-applet..." + +NM_APPLET_BIN="/usr/bin/nm-applet" + +cp -v nm-applet "$NM_APPLET_BIN" +chmod +x "$NM_APPLET_BIN" + +echo "Installation complete!" +echo "To apply the changes: killall nm-applet; nm-applet &" |
