Fix lid wake blanking, passcode lag, idle drain, zero-log privacy default, and replace Conky with native dwm clock
This commit is contained in:
1 parent
11ec778c2f
commit
1d71bc81d8
42 files changed
+732
-267
No files matched your search
@@ -52,16 +52,12 @@ xorgdisplay() {
|
||||
if [ -w /sys/devices/system/cpu/cpufreq/policy0/scaling_governor ]; then
|
||||
printf 'powersave\n' > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor 2>/dev/null || true
|
||||
fi
|
||||
pkill -STOP -x conky 2>/dev/null || true
|
||||
xset s off s noblank >/dev/null 2>&1 || true
|
||||
;;
|
||||
on)
|
||||
if [ -w /sys/devices/system/cpu/cpufreq/policy0/scaling_governor ]; then
|
||||
printf 'schedutil\n' > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor 2>/dev/null || true
|
||||
fi
|
||||
if [ ! -f /tmp/bananarchy_screen_locked ]; then
|
||||
pkill -CONT -x conky 2>/dev/null || true
|
||||
fi
|
||||
xset s off s noblank >/dev/null 2>&1 || true
|
||||
if [ -w /sys/class/backlight/backlight/bl_power ]; then
|
||||
printf '0\n' > /sys/class/backlight/backlight/bl_power 2>/dev/null || true
|
||||
|
||||
Reference in new issue
Block a user