diff options
author | Yigit Sever | 2020-04-07 18:35:58 +0300 |
---|---|---|
committer | Yigit Sever | 2020-04-07 18:35:58 +0300 |
commit | b4c2f14d3fc9bae8f45ec8ee3f059c9842cc70b9 (patch) | |
tree | 2fb26b2af3964308146ef92a1adcfbd21e0ecba7 | |
parent | 9675be0beb82decf37b036b1a12e1a7303a584d6 (diff) | |
download | dotfiles-b4c2f14d3fc9bae8f45ec8ee3f059c9842cc70b9.tar.gz dotfiles-b4c2f14d3fc9bae8f45ec8ee3f059c9842cc70b9.tar.bz2 dotfiles-b4c2f14d3fc9bae8f45ec8ee3f059c9842cc70b9.zip |
focus can be stopped
-rw-r--r-- | .config/polybar/config##c.desktop,h.Maus | 1 | ||||
-rw-r--r-- | .taskrc##c.desktop,h.Maus | 10 |
2 files changed, 9 insertions, 2 deletions
diff --git a/.config/polybar/config##c.desktop,h.Maus b/.config/polybar/config##c.desktop,h.Maus index d074d43..46683f3 100644 --- a/.config/polybar/config##c.desktop,h.Maus +++ b/.config/polybar/config##c.desktop,h.Maus | |||
@@ -62,6 +62,7 @@ tray-position = right | |||
62 | [module/focus] | 62 | [module/focus] |
63 | type = custom/script | 63 | type = custom/script |
64 | exec = ~/.config/polybar/focus | 64 | exec = ~/.config/polybar/focus |
65 | double-click-left = exec ~/.config/polybar/stop & | ||
65 | interval = 10 | 66 | interval = 10 |
66 | 67 | ||
67 | [module/spotify] | 68 | [module/spotify] |
diff --git a/.taskrc##c.desktop,h.Maus b/.taskrc##c.desktop,h.Maus index d6e0a23..260d079 100644 --- a/.taskrc##c.desktop,h.Maus +++ b/.taskrc##c.desktop,h.Maus | |||
@@ -62,11 +62,17 @@ report.todoConky.filter = status:pending and due.after:now and due.before:l | |||
62 | report.todoConky.dateformat = D-M-y H:N (A) | 62 | report.todoConky.dateformat = D-M-y H:N (A) |
63 | 63 | ||
64 | ### report for focus script | 64 | ### report for focus script |
65 | report.custom_focus.columns = description | 65 | report.custom_focus.columns = description,start.age |
66 | report.custom_focus.labels = Description | 66 | report.custom_focus.labels = Description,active |
67 | report.custom_focus.description = Task to feed to focus script | 67 | report.custom_focus.description = Task to feed to focus script |
68 | report.custom_focus.filter = status:pending and +ACTIVE | 68 | report.custom_focus.filter = status:pending and +ACTIVE |
69 | 69 | ||
70 | ### report for stopping the focused task | ||
71 | report.custom_stop.columns = id | ||
72 | report.custom_stop.labels = ID | ||
73 | report.custom_stop.description = Task id to feed to stop script | ||
74 | report.custom_stop.filter = status:pending and +ACTIVE | ||
75 | |||
70 | ### contexts | 76 | ### contexts |
71 | context.home = +@home or +@online | 77 | context.home = +@home or +@online |
72 | context.work = +@work or +@online | 78 | context.work = +@work or +@online |