Преглед на файлове

~/.xinitrc: Save energy by updating only every 30 seconds

This makes my system a *lot* quieter.  Like really a lot, lot, lot
quieter, it really surprised me how much of a difference this made.
Apparently NetworkManager needs a lot of cpu to tell me if it is
connected every second.  Didn't know that, know now.

The only downside is that I need to wait 30 second after waking up from
suspending...
Lu Stadler преди 7 години
родител
ревизия
b5cc1c39db
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      .xinitrc

+ 1 - 1
.xinitrc

@ -34,7 +34,7 @@ export SSH_AUTH_SOCK
34 34
#xrandr --output LVDS1 --off --output DP1 --mode 1920x1080
35 35
36 36
while xsetroot -name "$(~/.config/dwm/status.sh)"; do
37
	sleep 1
37
	sleep 30
38 38
done&
39 39
40 40
exec ~/t/suckless/dwm/dwm