2 files changed,
23 insertions(+),
0 deletions(-)
Author:
Smirnov Oleksandr
ss2316544@gmail.com
Committed at:
2024-04-19 03:41:12 +0300
Parent:
2ef648e
jump to
| A | config/awatcher/config.toml |
| M | config/hypr/hyprland.conf |
A
config/awatcher/config.toml
@@ -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"
M
config/hypr/hyprland.conf
@@ -18,6 +18,9 @@ exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
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 {