fix(eww): Added cooldowns to scripts using dbus-monitor
In order to save some CPU
This commit is contained in:
parent
060e6735bf
commit
d9e94d99c1
2 changed files with 2 additions and 0 deletions
|
@ -72,4 +72,5 @@ print_connectivity_info () {
|
|||
print_connectivity_info
|
||||
dbus-monitor --system "interface=org.freedesktop.DBus.ObjectManager" 2> /dev/null | while read -r line; do
|
||||
print_connectivity_info
|
||||
sleep 0.1
|
||||
done
|
||||
|
|
|
@ -11,4 +11,5 @@ info (){
|
|||
info
|
||||
dbus-monitor "path=/org/mpris/MediaPlayer2,member=PropertiesChanged" | while read -r line; do
|
||||
info
|
||||
sleep 0.1
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue