Kókai Péter
fbc361bcd7
feat(build): help target to list all targets ( #870 )
2017-11-30 21:42:11 +01:00
concatime
1158d5d889
fix(contrib): Wrong config path in xbps ( #842 )
2017-11-14 09:59:23 +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
Patrick Ziegler
a3e9bb9847
Add SUPPORT.md ( #803 )
...
Adding this file to the root of the project will make a note appear when
opening a new issue, asking the user to first read this document.
As proposed in #802
2017-10-28 23:17:46 +02:00
patrick96
83610461f9
git: Update i3ipcpp
...
Fixes gcc build if a jsoncpp version less than 1.7.7 is installed and
jsoncpp has to be built from the source coming with i3ipcpp
Fixes #753
2017-10-28 23:08:00 +02: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
Patrick Ziegler
caeb8ddae4
Merge pull request #785 from roobre/patch-1
...
Add minimum width to CPU percentage in example config
2017-10-01 00:21:25 +02:00
Roberto Santalla
705f14c413
Add minimum width to CPU percentage
...
It's quite obscure where to find that you can set a minimum width for tokens, and CPU usage will oscillate between 0-9 and 10+ quite frequently. I think that adding this to the example config will help users to find out that this feature exists, and avoid this annoying default.
2017-09-30 20:20:41 +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
Patrick Ziegler
c6b5e3016e
Merge pull request #773 from patrick96/editorconfig
...
Add .editorconfig
2017-09-24 16:05:07 +02:00
patrick96
ad4baf87cf
Add trim_trailing_whitespace to .editorconfig
2017-09-24 08:31:42 +02:00
Patrick Ziegler
0a5ad9c76f
Merge pull request #772 from patrick96/nested_actions
...
fix(renderer): Properly support nested actions
2017-09-24 08:26:37 +02:00
patrick96
16daefd609
Add .editorconfig
...
For editors that don't autodetect indent style and size
2017-09-23 17:06:56 +02: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
60f8451b34
fix(docs): Add cursor options to example
2017-09-17 13:17:04 -07:00
NBonaparte
70023b07c1
refactor(cursor): Include double clicks and fix scroll to click changes
2017-09-16 19:48:38 -07:00
NBonaparte
81c83c4364
fix(aur): Add xcb-util-cursor as dep
2017-09-16 15:31:49 -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
014a9f4c31
fix(travis): Install xcb-util-cursor
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
Patrick Ziegler
b12aec1a4c
Remove AUR .SRCINFO files ( #746 )
...
The SRCINFO files should be generated from the PKGBUILDs using
`makepkg --printsrcinfo > .SRCINFO` anyways. It doesn't make sense to
keep a copy in this repo
2017-09-13 20:12:07 -07:00
patrick96
524bcc30e5
Update AUR polybar pkgrel
2017-09-13 13:23:49 +02:00
patrick96
ba1276cb7d
Fix AUR build failure without git identity
...
The `git cherry-pick` command creates a commit and thus requires a git
identity (username and/or email), if those are not set in the git
config, it will fail.
Since we don't really need a commit, this now just applies the changes
without committing them.
Fixes #748
2017-09-13 13:18:21 +02:00
NBonaparte
69992223bd
fix(aur): Match .SRCINFO pkgrel
2017-09-12 19:31:23 -07:00
NBonaparte
d29957833d
fix(aur): Match .SRCINFO pkgrel
2017-09-12 19:30:01 -07:00
patrick96
ac355c3747
Build polybar-git with gcc
...
This commit only changes pkgrel because the version of this PKGBUILD
that used clang never made it into this repo.
2017-09-12 16:34:18 +02:00
Patrick Ziegler
6c883e2cc1
Merge pull request #737 from patrick96/curlbuild_PKGBUILD
...
Fix curl compile errors in aur polybar package
2017-09-12 16:14:56 +02:00
patrick96
911a207cfd
Fix curl compile errors in aur polybar package
...
The `curl/curlbuild.h` header issue has been resolved after the last
release, as a consequence the AUR package doesn't build anymore without
altering the source before compiling.
This cherry-picks the fix commit to resolve the compile errors.
2017-09-09 22:39:41 +02: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