I am bad at coding

This commit is contained in:
2021-12-16 21:38:44 +02:00
parent c2e119ee1c
commit 3e8c67be91

View File

@@ -28,7 +28,7 @@ then
sleep .2
picom -b
# Done
sudo -u nick DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send "Power Saving Mode is now in>
sudo -u nick DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send "Power Saving Mode is now inactive"
else
# Set CPU scaling governor
for file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor;
@@ -55,5 +55,5 @@ else
sleep .2
picom -b
# Done
sudo -u nick DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send "Power Saving Mode is now act>
sudo -u nick DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send "Power Saving Mode is now active"
fi