Update time limits and warning thresholds in config

This commit is contained in:
Flux 2025-11-12 23:20:39 +02:00 committed by GitHub
parent 2ca8ad5217
commit ff9ed1dc6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,11 +6,11 @@ timers:
- xmcl - xmcl
- mcpelauncher-ui - mcpelauncher-ui
# how many minutes of usage # how many minutes of usage
time-limit: 5 time-limit: 120
# within how many hours of interval # within how many hours of interval
limit-interval: 4 limit-interval: 12
# warn n minutes before reaching the limit # warn n minutes before reaching the limit
warn-threshold: 4 warn-threshold: 5
# commands run on GNOME to pre-warn/final-warn # commands run on GNOME to pre-warn/final-warn
warn-command: > warn-command: >
runuser -l randogoth -c 'DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send "App Timer" "Gaming time is almost up ({time_left_int} min left)" -u critical && canberra-gtk-play -i complete' runuser -l randogoth -c 'DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send "App Timer" "Gaming time is almost up ({time_left_int} min left)" -u critical && canberra-gtk-play -i complete'