fuzzel conf and scripts

This commit is contained in:
2025-07-09 06:59:04 +03:00
parent 0bdc797e98
commit 44471d2877
5 changed files with 197 additions and 16 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
# Disable WiFi power saving for all wireless interfaces
# Run as root or with sudo
for iface in $(iw dev | awk '/Interface/ {print $2}'); do
echo "Disabling power saving for $iface..."
iw dev "$iface" set power_save off
done
echo "WiFi power saving disabled for all interfaces."
echo "To make this persistent across reboots, create a NetworkManager config: /etc/NetworkManager/conf.d/wifi-powersave.conf"
cat <<EOF | sudo tee /etc/NetworkManager/conf.d/wifi-powersave.conf
[connection]
wifi.powersave = 2
EOF
sudo systemctl reload NetworkManager
echo "Persistent WiFi power saving setting applied."