NBonaparte
c348c3e917
fix(mpd): get format-online options for format-{playing,paused,stopped} ( #868 )
2017-11-30 21:58:34 +01:00
Vasili Karaev
5d2deb1a99
fix(renderer): Only draw text bg if color differs from bar bg ( #831 )
...
Fixes #759 by only drawing text background when its color is different from the background color of the bar itself.
Explicitly setting a module's background to `background-0` now stops working.
2017-11-12 09:53:54 +01:00
NBonaparte
3092a1b18f
feat(mpd): Get name and/or uri if title not found ( #823 )
2017-11-08 21:12:44 -08:00
Kókai Péter
3f9f2dc37f
fix(github): Handle curl exceptions and bad status codes ( #811 )
...
If any error occurs, a warning is logged and -1
is displayed as the number of notifications
2017-11-07 23:29:44 +01:00
Vasili Karaev
dc0edfb994
fix(i3): Check whether current ws is found ( #826 )
...
Fixes dereference of end() iterator in case current workspace is not found (#824 ).
Fixes #824
2017-11-01 16:47:07 +01:00
NBonaparte
d4d571425d
refactor(mpd): Keep tag getters consistent
2017-10-23 15:07:03 -07:00
Chris Snell
5737156ae5
feat(temperature): Fahrenheit and Celsius tokens ( #804 )
...
%temperature-f% and %temperature-c%
2017-10-18 22:29:53 +02:00
Pier
cbd87efc64
fix(build): pow10 not defined on Fedora Rawhide ( #807 )
...
pow10 is a GNU extension and not available everywhere
2017-10-15 19:16:07 +02:00
NBonaparte
5b7d7b8232
Merge pull request #729 from NBonaparte/fix-prefix-suffix
...
fix(modules): Separate prefix/suffix tags, revert tag stack
2017-09-24 14:00:34 -07:00
patrick96
c7cb5ebf94
fix(renderer): Handle nested actions events properly
...
For nested actions, the inner action should override the outer action.
But because the list of actions was not iterated in reverse the outer
action was matched first.
Fixes #760
2017-09-23 16:53:04 +02:00
patrick96
251c3e874a
fix(renderer): Only close a single action
...
Before the renderer would close all active matching actions. That way
nested actions would also close their surrounding action block
2017-09-23 16:49:39 +02:00
NBonaparte
89fccde765
fix(modules): Apply format settings to pre/suffix
2017-09-22 23:40:31 -07:00
Patrick Ziegler
4663d01a51
Merge pull request #727 from NBonaparte/change-cursor
...
feat: Change cursors over clickable/scrollable areas
2017-09-17 22:33:32 +02:00
NBonaparte
27f53eb129
Merge pull request #745 from patrick96/issues/744
...
fix(date): date and time string limited to 63 chars
2017-09-17 13:20:55 -07:00
NBonaparte
70023b07c1
refactor(cursor): Include double clicks and fix scroll to click changes
2017-09-16 19:48:38 -07:00
NBonaparte
e612fe1624
refactor(cursor): use map for cursor list
2017-09-16 15:31:24 -07:00
NBonaparte
b7f1960a0a
fix(cursor): change arrow_names to default_names
2017-09-16 15:31:24 -07:00
NBonaparte
1886cf97a8
fix: pass action by reference
2017-09-16 15:31:24 -07:00
NBonaparte
1dc111c0fa
fix: make xcb-cursor optional for now
2017-09-16 15:31:24 -07:00
NBonaparte
65edba3321
feat: add cursor change
2017-09-16 15:31:24 -07:00
patrick96
b6a2c575fd
refactor(date): Use cpp string comparison
2017-09-16 00:09:26 +02:00
patrick96
0024e1e9e7
refactor(date): Remove obsolescent setlocale call
2017-09-15 14:22:42 +02:00
patrick96
1bc9933a88
refactor(date): Use single stringstream
...
Reduces code repetition and removes the need for setting the locale in
every update
2017-09-15 14:21:38 +02:00
patrick96
6e9e739d81
fix(date): Remove string length limitation
...
Fixes #744
2017-09-15 14:13:35 +02:00
Chase Geigle
a682d2af91
fix(fs): Use f_frsize in filesystem calculations
...
This is consistent with the documentation of
std::experimental::filesystem, so I think it is the more "correct"
thing to be doing here.
2017-09-14 19:02:55 -05:00
NBonaparte
9da06c0ec2
fix(modules): Remove redundant if statement
2017-09-06 20:16:08 -07:00
NBonaparte
3ce06585ab
fix(parser): Revert tag stacks
2017-09-06 20:16:08 -07:00
NBonaparte
f3bddc5af4
fix(modules): Separate prefix and suffix from output
2017-09-06 20:15:28 -07:00
NBonaparte
138f5faed8
fix(fs): Calculate used, percentages according to df
...
Fixes #710 .
2017-09-06 17:20:10 -07:00
Patrick Ziegler
a255a022a7
fix(renderer): Correct center module position ( #673 )
...
The changes introduced in 389bae2669
to
address #551 did not consider the left border
Now center modules are centered regardless of border (left or right)
settings or tray position
Fixes #672
2017-09-04 23:46:47 -07:00
NBonaparte
e329a8150a
fix(config): Expand all environment variables and file references ( #724 )
2017-09-04 14:00:35 -07:00
NBonaparte
ce05aa36a1
feat(temperature): Add hwmon sysfs support ( #688 )
2017-08-29 15:10:28 -07:00
Patrick Ziegler
8c1ba8358d
feat(menu): Add expand-right option ( #658 )
...
expand-right defaults to true to preserve the current functionality
If set to false, the items in the menu will be added to the left of the
toggle label (instead of the right side)
Should resolve the issue discussed in #655
2017-08-29 13:25:41 -07:00
Patrick Ziegler
b0f34c4b55
Reuse caps_str ( #656 )
...
Just to be consistent with the num lock part
2017-08-29 12:06:49 -07:00
patrick96
d35abc7620
Remove curlbuild include
...
Curl removed that header in 73a2fcea0b4adea6ba342cd7ed1149782c214ae3
([1])
http.cpp doesn't use anything from that header and compilation works for
fine with curl 7.54.1
Fixes #647
Ref:
[1]: 73a2fcea0b
2017-07-14 10:12:33 +02:00
Michael Carlberg
d3b0670f30
fix(config): Perform tilde expansion on include-file
#603
2017-06-02 18:34:49 +02:00
rps
f581095cb7
Fixes #535 and #411 .
2017-05-19 18:02:33 +02:00
Michael Carlberg
389bae2669
fix(renderer): Adjust center block position when using tray
...
Fixes #551
2017-05-19 17:25:04 +02:00
Michael Carlberg
2e8cc7f503
fix(parser): Ignore sequential duplicates in color stacks
2017-05-17 23:11:59 +02:00
Michael Carlberg
0bd8f1f69a
fix(parser): Proper handling of %{R} #585
2017-05-17 23:11:06 +02:00
Michael Carlberg
5af5292808
Revert "fix(parser): Use value stacks for %{R} tag #585 "
...
This reverts commit d141d8b5e4
.
2017-05-17 22:20:38 +02:00
Michael Carlberg
d141d8b5e4
fix(parser): Use value stacks for %{R} tag #585
2017-05-17 22:06:12 +02:00
Michael Carlberg
86ff947e38
fix(process_util): Prefix shell env var
...
Fixes #566
2017-05-12 17:55:05 +02:00
Michael Carlberg
b6c5563b0b
feat(ipc): Add visibility commands
2017-05-12 17:55:05 +02:00
Michael Carlberg
23a7717120
fix(controller): Remove unused function
2017-05-12 17:55:05 +02:00
Vasili Karaev
5c41e3d045
feat(mpd): Add state-specific formats #524
2017-05-09 14:56:29 +02:00
Michael Carlberg
b2f00cc08a
feat(parser): Stack font indexes set with %{T}
2017-04-26 19:25:42 +02:00
Michael Carlberg
24b2de5534
refactor(parser): Naming of parse methods
2017-04-26 19:25:02 +02:00
Michael Carlberg
31ba2f38bd
fix(parser): Make the %{U} tag use color stacks #544
2017-04-26 19:01:55 +02:00
Michael Carlberg
5c7e3cbbac
fix(parser): Reset color stacks #544
2017-04-26 18:53:04 +02:00