Commit Graph

896 Commits (7f73a8cd45dd9fb00c0369c4c4bc3e014a2ab13e)

Author SHA1 Message Date
Alex 7f73a8cd45
Merge pull request #441 from alebastr/gtk-layer-shell
Use gtk-layer-shell library for correct positioning of popups
2019-12-28 11:56:46 +01:00
Aleksei Bavshin dde700f2c9
feat: use gtk-layer-shell library for correct positioning of popups
To enable: use sway >= 1.2, compile waybar with `-Dgtk-layer-shell=enabled` meson option.
Original behavior could be restored at runtime by setting `"gtk-layer-shell": false` in waybar config.
2019-12-27 16:42:14 -08:00
Aleksei Bavshin 0e87b3938a
deps: meson dependencies for gtk-layer-shell feature 2019-12-27 16:42:13 -08:00
Aleksei Bavshin d1637d34cf
refactor: fetch outputs from Gtk::Display instead of wl_registry.
gtk-layer-shell wants Gdk::Monitor instead of wl_output;
change code to deal with Gdk objects and slightly simplify it.
Requires gtkmm 3.22.0+ (first release with Gdk::Monitor support).
2019-12-27 16:42:12 -08:00
Alex 2277ddd156
Merge pull request #520 from Alexays/revert-517-master
Revert "Add info on "on-click-middle" option to custom module man page"
2019-12-17 11:58:42 +01:00
Alex f9543e47dd
Revert "Add info on "on-click-middle" option to custom module man page" 2019-12-17 11:58:30 +01:00
Alex 4c548a95e8
Merge pull request #517 from fuzxi/master
Add info on "on-click-middle" option to custom module man page
2019-12-16 15:19:44 +01:00
fuzxi 6c3cb7c85a
Update waybar-temperature.5.scd 2019-12-15 15:11:06 -08:00
fuzxi a307042d6b
Update waybar-sway-window.5.scd 2019-12-15 15:10:26 -08:00
fuzxi 548589ee5d
Update waybar-sway-mode.5.scd 2019-12-15 15:10:14 -08:00
fuzxi b2cec74c04
Update waybar-pulseaudio.5.scd 2019-12-15 15:09:44 -08:00
fuzxi 6895b3b6b6
Update waybar-network.5.scd 2019-12-15 15:09:33 -08:00
fuzxi ac8e892cbd
Update waybar-mpd.5.scd 2019-12-15 15:09:08 -08:00
fuzxi 1a05e230b9
Update waybar-memory.5.scd 2019-12-15 15:08:41 -08:00
fuzxi ad08130b52
Update waybar-idle-inhibitor.5.scd 2019-12-15 15:08:27 -08:00
fuzxi a94d5c5ff2
Update waybar-disk.5.scd 2019-12-15 15:08:15 -08:00
fuzxi ecce607afe
Update waybar-cpu.5.scd 2019-12-15 15:07:38 -08:00
fuzxi 73bb42d40c
Update waybar-clock.5.scd 2019-12-15 15:07:23 -08:00
fuzxi 3bb03852fe
Update waybar-battery.5.scd 2019-12-15 15:07:07 -08:00
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
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