I am bad at coding
This commit is contained in:
@@ -28,7 +28,7 @@ then
|
|||||||
sleep .2
|
sleep .2
|
||||||
picom -b
|
picom -b
|
||||||
# Done
|
# 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
|
else
|
||||||
# Set CPU scaling governor
|
# Set CPU scaling governor
|
||||||
for file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor;
|
for file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor;
|
||||||
@@ -55,5 +55,5 @@ else
|
|||||||
sleep .2
|
sleep .2
|
||||||
picom -b
|
picom -b
|
||||||
# Done
|
# 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
|
fi
|
Reference in New Issue
Block a user