-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-SAMPLE.edn
54 lines (45 loc) · 1.59 KB
/
config-SAMPLE.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
:settings {
:add-traybar-icon true
:probing-interval 60
}
:tasks {
:sleep {
:active { :message "computer is sleepy"
:command "xautolock -time 10 -locker 'systemctl suspend' -detectsleep"
:fork true }
:idle { :message "computer is wide awake"
:command "xautolock -exit"
:fork false } }
:dpms {
:active { :message "screen is sleepy"
:command "xset dpms 0 600 900"
:fork false }
:idle { :message "screen is wide awake"
:command "xset -dpms"
:fork false } }
}
:watches {
:important-processes {
:enabled true
:command "pgrep -af '^dpkg\\b|^pacman\\b|^dar\\s|\\bgparted\\b|^k3b\\b|^/\\S*rclone\\b|^/\\S*rsync\\b|^ssh\\s|^sshd:.*\\[priv\\]|^unison\\S*|\\bgsmartcontrol\\b|^ffmpeg\\s'"
:tasks { :sleep true } }
:audio {
:enabled true
:command "pgrep -l '^(clementine|deadbeef\\S+|quodlibet)$'"
:tasks { :sleep true } }
:pulseaudio {
:enabled true
:command "pactl list short sinks | grep -E '\\bRUNNING$'"
:tasks { :sleep true } }
:video {
:enabled true
:command "pgrep -l '^(celluloid|hypnotix|skypeforlinux|teams|vlc|zoom)$'"
:tasks { :dpms true
:sleep true } }
:zfs-scrub {
:enabled true
:command "zpool status | grep -E '(resilver|scrub) in progress'"
:tasks { :sleep true } }
}
}