add Vim Dadbod to nvim & change screensaver timeout

This commit is contained in:
Mans Ziesel 2024-05-14 21:09:07 +02:00
parent c087144337
commit 914d68fe5a
2 changed files with 3 additions and 1 deletions

2
bin/dot-bin/cpu_usage.sh Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env bash
mpstat 1 1 | grep Average: | awk '{ printf "100 - %s\n", $12}' | sed 's/,/./g' | bc

View File

@ -418,7 +418,7 @@ exec --no-startup-id ~/.screenlayout/monitor.sh
exec --no-startup-id sleep 1 && xsetroot -solid '#101010'
# set powersavings for display:
exec --no-startup-id xset s 480 dpms 600 600 600
exec --no-startup-id xset s 1600 dpms 600 600 600
# disable power saving (for example if using xscreensaver)
#exec --no-startup-id xset -dpms