Browse Source

Don't speak to non-alive processes

Alois Mahdal 4 years ago
parent
commit
782fb95c6a
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      dotfiles/config/bmo/be.ini

+ 6
- 6
dotfiles/config/bmo/be.ini View File

@@ -11,7 +11,7 @@
11 11
 
12 12
 [be.def.spot.role:afk]
13 13
     shape = bounce
14
-    enter = clementine-pause
14
+    enter = bmo_beh__if -P clementine /usr/bin/clementine --pause
15 15
     spike = bmo kb home && slock
16 16
 
17 17
 [be.def.axis.role]
@@ -26,19 +26,19 @@
26 26
 [be.def.spot.role:gone]
27 27
     shape = bounce
28 28
     enter = ssh-add -D 2>&1 && notify-send "all identities removed"
29
-    enter = weechat-fifo -s \*/disconnect -all gone
29
+    enter = bmo_beh__if -P weechat weechat-fifo -s \*/disconnect -all gone
30 30
     spike = bmo kb home && slock
31
-    leave = weechat-fifo -s \*/connect -all
31
+    leave = bmo_beh__if -P weechat weechat-fifo -s \*/connect -all
32 32
     leave = bmo nag -R
33 33
 
34 34
 [be.def.spot.role:zleeping]
35 35
     shape = bounce
36 36
     enter = bmo_beh__if -P mocp --then mocp --pause
37
-    enter = clementine-pause
37
+    enter = bmo_beh__if -P clementine /usr/bin/clementine --pause
38 38
     enter = ssh-add -D 2>&1 && notify-send "all identities removed"
39
-    enter = weechat-fifo -s \*/disconnect -all offline
39
+    enter = bmo_beh__if -P weechat weechat-fifo -s \*/disconnect -all offline
40 40
     spike = bmo kb home && slock systemctl suspend -i
41
-    leave = weechat-fifo -s \*/connect -all
41
+    leave = bmo_beh__if -P weechat weechat-fifo -s \*/connect -all
42 42
 
43 43
 [be.def.spot.role:presenting]
44 44
     important = true