Commit Graph

3528 Commits

Author SHA1 Message Date
fuzxi 2aaf5510b8
Update waybar-backlight.5.scd 2019-12-15 15:06:23 -08:00
fuzxi 278f26e597
add info on "on-click-middle" option 2019-12-14 22:28:31 -08:00
Alex 03dab1bbdd
Merge pull request #512 from josteink/patch-1
Provide easy bootstrap command for Ubuntu-users
2019-12-09 12:39:40 +00:00
Jostein Kjønigsen 0572f75055
Provide easy bootstrap command for Ubuntu-users 2019-12-09 13:20:29 +01:00
Jordi Pakey-Rodriguez 0f0765e517 feat(modules): call user on-update if configured 2019-12-05 14:42:36 -08:00
Alex de0a3cb020
Merge pull request #510 from HardDie/master
Toggle opacity
2019-11-28 21:05:00 +00:00
HardDie eb4c76f5e4 Toggle opacity 2019-11-28 20:28:28 +03:00
Alex 502b33b64a
Merge pull request #507 from xaiki/master
pulseaudio: export desc as a format
2019-11-25 21:33:36 +00:00
Niv Sardi 6d5b502bbb pulseaudio: export desc as a format
Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
2019-11-25 05:16:58 -03:00
Alex 2faf629c88
Merge pull request #502 from maxice8/master
Add Alpine Linux to list of distros
2019-11-11 13:39:57 +00:00
Leo c0355a3fd3 Add Alpine Linux to list of distros 2019-11-11 07:46:10 -03:00
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