I am bad at coding
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user