diff options
| -rw-r--r-- | README.md | 21 | ||||
| -rw-r--r-- | install.sh | 19 | ||||
| -rwxr-xr-x | nm-applet | bin | 0 -> 1033912 bytes |
3 files changed, 40 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..fd115bf --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# nm-applet Styling Fix + +This package contains a fixed version of the **Network Manager Applet**, patched to include the `LibAyatana-AppIndicator` which enables consistent tray icon styling in MATE and XFCE, on some themes like DarkMint, DarkCold, etc. + +## Installation +Run the installation script as root: +```bash +sudo bash install.sh +``` + +## Applying Changes +Restart the network icon: +```bash +killall nm-applet +nm-applet & +``` + +## Uninstallation +```bash +sudo apt-get install --reinstall network-manager-applet +``` 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 &" diff --git a/nm-applet b/nm-applet Binary files differnew file mode 100755 index 0000000..58e39c1 --- /dev/null +++ b/nm-applet |
