Initial commit for nm-applet-fix

This commit is contained in:
laki 2026-01-29 22:13:03 +00:00
commit 96c1842898
3 changed files with 40 additions and 0 deletions

21
README.md Normal file
View File

@ -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
```

19
install.sh Normal file
View File

@ -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 &"

BIN
nm-applet Executable file

Binary file not shown.