34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
check-interval: 1
|
|
status-server:
|
|
host: 127.0.0.1
|
|
port: 8091
|
|
timers:
|
|
gaming:
|
|
apps:
|
|
- minecraft
|
|
- xmcl
|
|
- mcpelauncher-ui
|
|
# how many minutes of usage
|
|
time-limit: 120
|
|
# within how many hours of interval
|
|
limit-interval: 12
|
|
# warn n minutes before reaching the limit
|
|
warn-threshold: 5
|
|
# commands run on GNOME to pre-warn/final-warn
|
|
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'
|
|
final-warn-command: >
|
|
runuser -l randogoth -c 'DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send "App Timer" "Final minute before shutdown ({time_left_seconds}s)" -u critical && canberra-gtk-play -i alarm-clock-elapsed'
|
|
websurf:
|
|
apps:
|
|
- chrome
|
|
- chromium
|
|
- firefox
|
|
time-limit: 90
|
|
limit-interval: 24
|
|
pomodoro:
|
|
apps:
|
|
- atom
|
|
- sublime_text
|
|
time-limit: 30
|
|
limit-interval: 0.7
|