mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
setup ActivityWatch
This commit is contained in:
parent
2ef648e77e
commit
490d5d43d6
2 changed files with 23 additions and 0 deletions
20
config/awatcher/config.toml
Normal file
20
config/awatcher/config.toml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[server]
|
||||
host = "localhost"
|
||||
port = 5600
|
||||
|
||||
[awatcher]
|
||||
idle-timeout-seconds=120
|
||||
poll-time-idle-seconds=5
|
||||
poll-time-window-seconds=1
|
||||
|
||||
[[awatcher.filters]]
|
||||
match-app-id = "Spotify"
|
||||
replace-app-id = "Spotify"
|
||||
|
||||
[[awatcher.filters]]
|
||||
match-app-id = "org.pwmt.zathura"
|
||||
replace-app-id = "Zathura"
|
||||
|
||||
[[awatcher.filters]]
|
||||
match-app-id = "Brave-browser"
|
||||
replace-title = "Brave"
|
||||
|
|
@ -18,6 +18,9 @@ exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESK
|
|||
exec-once = swayidle -w timeout 120 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock'
|
||||
exec-once = wlsunset -S 10:00 -s 19:00
|
||||
exec-once = ~/.config/hypr/bat.sh
|
||||
|
||||
exec-once = /home/olex/code/awatcher/target/release/awatcher
|
||||
exec-once = /home/olex/code/awatcher/target/release/aw-server
|
||||
# }}}
|
||||
# inputs {{{
|
||||
input {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue