fa693aecf8
feat(script): Add double-click to script module ( #1442 )
2018-11-16 16:06:04 +01:00
abdd5f9233
fix(script): Avoid duplicate action tags for tailed
...
If a tailed command is used polybar would generate two action tags, one
with %counter% replaced and one with %pid% replaced, but never both
This is a bug that was introduced in #934
2018-10-08 21:38:25 -07:00
1d9dd719bc
refactor(script): Loop over buttons and replace tokens
2018-01-21 14:41:52 -08:00
f79aeac872
feat(script): Add %pid% token for tail commands
...
Is replaced with the pid of the exec command
2018-01-21 14:41:52 -08:00
5773b08cf8
fix(script): Poll file descriptors
2017-01-11 18:21:58 +01:00
f4e8051e9e
refactor(script): Merge back script handling
2017-01-10 05:12:53 +01:00
946843ff59
feat(script): Configurable condition using exec-if
...
Add new config parameter `exec-if = cmd` that needs to
exit successfully before the main exec command will be invoked.
Closes #298
2017-01-10 03:02:00 +01:00
ccddf052ec
refactor(script): Split non-/tail logic
...
Split the script module into one tailing output module and
one exec once module.
Refs #281
2017-01-01 09:05:18 +01:00
acb9ed910d
fix(script): Unlock mutex before terminating command
...
Refs #281
2016-12-31 14:08:45 +01:00
14958bdd23
fix: Correct type for module interval
2016-12-31 03:04:01 +01:00
78bb3695e6
refactor(config): Deduce return type from default value
2016-12-30 23:32:05 +01:00
788a7ca3a3
refactor(modules): Get rid of .inl files
2016-12-21 09:21:35 +01:00
c01f111e34
refactor(modules): Move setup to constructor
2016-12-21 08:00:09 +01:00
f9062d031c
refactor(clang-tidy): Apply fixes
2016-12-15 03:30:41 +01:00
3854515521
fix: Wrap format pre/suffix within cmd
2016-12-05 05:32:10 +01:00
a22e84204d
fix(script): set default tag to label ( #223 )
2016-12-04 22:09:57 +01:00
604e926924
refactor(script): Format tag <label>
...
Mark <output> and maxlen as deprecated
2016-12-03 21:10:01 +01:00
5f6d73a415
fix(command): Use execlp()
...
Ref #214
2016-12-03 20:52:43 +01:00
ff9be848c7
refactor(clang-tidy): Apply fixes
2016-11-25 21:58:49 +01:00
d76003256f
fix: Do not parse module tags twice
...
Ref #192
2016-11-25 07:14:27 +01:00
c6d85b2b92
refactor: Optimize build
2016-11-20 23:04:31 +01:00
fd57ab0f3d
fix: project rename
2016-11-19 06:26:07 +01:00
e7cb345cec
wip: Separate source from definitions
2016-11-03 12:54:32 +01:00
d359ab6057
refactor: Application rewrite
2016-10-10 14:52:57 +02:00
e1f8c001dd
refactor: Pass by value
2016-06-21 04:23:23 +02:00
6cae06c4dc
refactor(script): Better handling of tail scripts
2016-06-14 12:15:22 +02:00
f7734de26a
feat(script): Option to tail script output
2016-06-13 23:41:59 +02:00
2c74cb06de
task(dsl): Replace colons with dashes
...
Colons break ini syntax highlighters and linters.
2016-06-11 07:49:14 +02:00
39d3f61497
refactor(core): Clean-up
...
- use "#pragma once" instead of the regular include guard
- fix errors and warnings reported by cppcheck
2016-06-02 01:32:06 +02:00
40524979d0
fix(script): Do not process empty script output
2016-05-24 23:37:16 +02:00
eeefb3c610
init(git): Base commit
2016-05-19 20:23:45 +02:00