Merge branch 'master' of github.com:randogoth/app-timer

This commit is contained in:
randogoth 2025-11-13 15:15:45 +02:00
commit 9bd23d3105

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'