Commit Graph

917 Commits (c41cedd40761b1422b0e9b2f49a97508ac7f9125)

Author SHA1 Message Date
Alex 67f6dad717 feat: clang-format 2019-10-23 15:03:32 +01:00
Alex 7f7ebb5367 fix(workspaces): add int comparison 2019-10-19 16:19:35 +01:00
Alex b97ca2ec9b
Merge pull request #485 from Ventto/fix-on-click-options
fix: No need to format string with unused 'arg' named argument (#484)
2019-10-18 16:18:04 +01:00
Thomas Venriès 358426cb1c fix: No need to format string with unused 'arg' named argument (#484)
The fmt::format() function looks for the "{arg}" named argument
in the given "format" string which does not exist. It will fail
if the string contains any {...} curled-brace substring.

Consequently, any "on-click*" option's command line containing for
instance substring like "${var}" or "awk '{...}'" will crash the program.

Signed-off-by: Thomas Venriès <thomas.venries@gmail.com>
2019-10-16 22:39:45 +02:00
Alex 5e4fdb1530
Detect timezone changes (#480)
Detect timezone changes
2019-10-07 08:23:00 +01:00
Guillaume Maudoux 1e82982dbd
Detect timezone changes
Fixes #479, because upstream does not intend to.

It may be less expensive to do that only once in a while, or to inotify-watch on /etc/timezone, but this is good enough.
2019-10-04 23:25:09 +02:00
Alex 048d8d328e refactor(Battery): ouput 'Plugged' instead of 'Charging' in the fallback 2019-10-03 09:37:37 +01:00
Alex 6d5e328928 feat(style): add comment about icons font 2019-10-02 10:27:46 +01:00
Alex 97e3226801
Merge pull request #475 from SJK132/SJK132-audio-bound
change audio scroll bound
2019-10-01 10:09:54 +01:00
Hetian Huo 3d1fd4f5ea
change audio scroll bound
Change default behavior from 0% - 99% to 0% - 100%.
2019-09-28 18:05:31 -05:00
Alex 3131eb0774
Add a custom formatter for "pow" numbers. (#472)
Add a custom formatter for "pow" numbers.
2019-09-25 13:17:18 +01:00
Guillaume Maudoux f4d2ca2736 custom formatter for numbers in 'pow' units format 2019-09-25 12:53:06 +02:00
Alex b3f9425d70 fix: ci 2019-09-25 09:59:07 +01:00
Alex 211b1c2785 fix: no need to wait on start 2019-09-25 09:32:22 +01:00
Alex 9e13161385 chore: update README 2019-09-25 09:27:53 +01:00
Alex bd5a215d2a
Add a disk module (#471)
Add a disk module
2019-09-25 09:23:02 +01:00
Guillaume Maudoux 247589efbb Add some documentation for disks 2019-09-25 09:11:03 +02:00
Guillaume Maudoux 1d39ef5c8e Add a disk module 2019-09-25 08:47:33 +02:00
Alex 4667afaa98 fix: avoid pulling submodule on ci 2019-09-25 00:02:07 +01:00
Alex bae83ee4e3 fix: static_cast clamp 2019-09-19 22:07:38 +01:00
Alex 52db1e8e68
Merge pull request #467 from jspngh/bugfix/mpd_module
Add more locking in mpd module
2019-09-19 22:03:23 +01:00
Alex 334bc1e52a fix(Network): clamp signal strength 2019-09-19 21:59:28 +01:00
Jonas Spanoghe e6599d8ed5 modules/mpd: take lock in waitForEvent to prevent SIGABORT
+ replaced deprecated MPD_IDLE_PLAYLIST with MPD_IDLE_QUEUE
+ add mutex for periodic_updater
2019-09-19 21:43:12 +02:00
Alex 5ee4c54b13
Merge pull request #465 from krystiancha/fix-mpd-style
add padding for mpd module in default style
2019-09-17 19:38:10 +01:00
Krystian Chachuła 8830247b9e add padding for mpd module in default style
In the default style.css many modules (clock, battery, cpu, ...) get horizontal padding, but mpd module does not. This commit adds mpd to the list of modules that get the padding.
2019-09-17 19:50:53 +02:00
Alex db74a46d7b
Merge pull request #460 from gdamjan/master
service file: allow for waybar installed in different prefix
2019-09-12 17:40:03 +02:00
Дамјан Георгиевски 4b24c19fa7 add prefix to the configuration data 2019-09-10 14:12:52 +02:00
Дамјан Георгиевски ce50249c04 service file: allow for waybar installed in different prefix 2019-09-10 13:56:34 +02:00
Alex 02811293e0
Revert "service file: allow for waybar installed in different pr… (#459)
Revert "service file: allow for waybar installed in different prefix"
2019-09-10 12:06:19 +02:00
Alex 5bb6fa384d
Revert "service file: allow for waybar installed in different prefix" 2019-09-10 12:06:06 +02:00
Alex b6cb02ce85
service file: allow for waybar installed in different prefix (#458)
service file: allow for waybar installed in different prefix
2019-09-10 11:56:20 +02:00
Дамјан Георгиевски a0a218c6e2
Merge branch 'master' into master 2019-09-09 19:05:51 +02:00
Дамјан Георгиевски f152ad9fa9 service file: allow for waybar installed in different prefix 2019-09-08 14:04:34 +02:00
Alex 05d083726c
Merge pull request #456 from gdamjan/master
install a systemd user service unit
2019-09-08 10:25:09 +02:00
Дамјан Георгиевски a0a3c01e79 install a systemd user unit
add a systemd --user unit/service file, so that one can run waybar as a
--user systemd service. when the service is enabled, Waybar will start
when the wayland-session.target is started.

this feature is automatically enabled if systemd is found, but can be disabled
with -Dsystemd=disabled
2019-09-07 22:16:03 +02:00
Alex 228078d538 chore: remove opensuse as broken atm 2019-09-07 11:52:14 +02:00
Alex e43b63ff02
Merge pull request #455 from lolzballs/master
Add configurable time display for battery module
2019-09-07 11:50:58 +02:00
Benjamin Cheng dc93fa8218
Documentation for `format-time` 2019-09-06 14:53:43 -04:00
Benjamin Cheng a63bc84918
Add configurable time display for battery module
Adds a `format-time` configuration for the battery module so that users
can configure how they want their remaining time to be displayed.

The default format remains the same as before, i.e. `{H} h {M} min`,
but users can choose something like `{H}:{M:02d}` to give an output
like `4:29` if wanted.
2019-09-04 14:43:52 -04:00
Alex 060b614eb3
Merge pull request #449 from MichaelAquilina/fix_typo
Fix some issues in man pages
2019-09-03 13:06:34 +02:00
Michael Aquilina dfb5ec0c65
Fix formatting in waybar-puluseaudio 2019-09-03 10:34:12 +01:00
Michael Aquilina 1f84936639
Add vim ft=Dockerfile for syntax highlight detection in editors 2019-09-02 18:07:49 +01:00
Michael Aquilina f9b65baa2e
Build scdocs in travis to pervent breakages 2019-09-02 17:37:46 +01:00
Michael Aquilina ec23984c4d
Fix minor typo in waybar-states 2019-09-02 17:33:31 +01:00
Alex 56d9cdc245
Merge pull request #447 from alebastr/exclusive-zone
Fix some issues with exclusive zone and margins
2019-09-02 10:24:29 +02:00
Aleksei Bavshin 529daedcec
fix: correct handling of margins on anchored axis 2019-09-01 01:08:15 -07:00
Aleksei Bavshin 089d1299c4
fix: correct calculation of exclusive zone 2019-09-01 01:08:07 -07:00
Alex 36fc8365ee
Merge pull request #446 from bschacht/fix-typo-persistant
Fix typo: persistant -> persistent
2019-08-31 21:13:31 +02:00
Alex f2f1c4f9cb
Merge pull request #445 from bschacht/patch-1
Fix typo
2019-08-31 21:11:38 +02:00
Birger Schacht 2646390e28 Fix typo: persistant -> persistent 2019-08-31 19:57:44 +02:00