Commit Graph

2980 Commits (6050fa3a43a0d34ee9addf7d499a80dc4f341ae9)

Author SHA1 Message Date
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
Birger Schacht 66f2cbed51
Fix typo
ouput -> output
2019-08-31 17:50:56 +00:00
Alex 19d7bd4ecf
Merge pull request #444 from MichaelAquilina/fix_memory_man
fix: correct man memory description
2019-08-30 13:57:17 +02:00
Michael Aquilina 2e4de1ae3e
fix: correct man memory description 2019-08-30 09:41:01 +01:00
Alex ce909eea0b
Merge pull request #443 from jbeich/man
Allow downstream to disable manpages even if scdoc is found
2019-08-29 13:27:27 +02:00
Jan Beich 0b008154d9 Add man-pages option like swaywm/sway@ba16f16e4d 2019-08-29 10:25:13 +00:00
Alex fe88a3fa81 chore: 0.8.0 2019-08-29 11:56:57 +02:00
Alex 02e43a38d2
Merge pull request #439 from jbeich/fmt
Unbreak with fmtlib 6.0.0
2019-08-29 11:29:54 +02:00
Alex f592e3d38b
Merge branch 'master' into fmt 2019-08-29 11:29:48 +02:00
Alex c6d7a779b8
Merge pull request #442 from xPMo/master
sway/mode: enable pango markup on supported modes
2019-08-29 11:06:01 +02:00
Alex ceedc689ec
Merge branch 'master' into master 2019-08-29 11:05:55 +02:00
Alex b314cb16a9
Merge pull request #437 from alebastr/asan-fixes
fix(network): stack-use-after-return found by address sanitizer
2019-08-29 11:04:30 +02:00
Alex a257126685
Merge branch 'master' into asan-fixes 2019-08-29 11:04:24 +02:00
Alex baaeda0ab7
Merge pull request #438 from alebastr/tray-fixes
Tray fixes
2019-08-29 11:03:09 +02:00
Alex e3dff6e0d8
Merge branch 'master' into tray-fixes 2019-08-29 11:02:50 +02:00
Alex e8a1e6ae35
Merge pull request #431 from MichaelAquilina/man_waybar
Add support for man pages
2019-08-29 11:00:59 +02:00
Michael Aquilina 3a86125495
Merge pull request #1 from xPMo/man_waybar
Add supported xdg-spec directory
2019-08-29 09:39:51 +01:00
xPMo da43336409
man: add supported xdg-spec directory
$XDG_CONFIG_HOME
2019-08-28 22:05:03 -05:00
Jan Beich 712424f9a8 Unbreak build with fmtlib 6.0.0
In file included from ../src/factory.cpp:1:
In file included from ../include/factory.hpp:4:
../include/modules/clock.hpp:5:10: fatal error: 'fmt/time.h' file not found
 #include "fmt/time.h"
          ^~~~~~~~~~~~
In file included from ../src/bar.cpp:4:
In file included from ../include/factory.hpp:4:
In file included from ../include/modules/clock.hpp:3:
In file included from /usr/include/fmt/chrono.h:12:
/usr/include/fmt/locale.h:19:35: error: parameter type 'fmt::v5::internal::buffer' (aka 'basic_buffer<char>') is an abstract class
    const std::locale& loc, buffer<Char>& buf,
                                  ^
/usr/include/spdlog/fmt/bundled/core.h:238:16: note: unimplemented pure virtual method 'grow' in 'basic_buffer'
  virtual void grow(std::size_t capacity) = 0;
               ^
In file included from ../src/modules/sni/host.cpp:3:
/usr/include/fmt/ostream.h:22:9: error: expected member name or ';' after declaration specifiers
  buffer<Char>& buffer_;
  ~~~~~~^
/usr/include/fmt/ostream.h:25:19: error: expected ')'
  formatbuf(buffer<Char>& buf) : buffer_(buf) {}
                  ^
/usr/include/fmt/ostream.h:25:12: note: to match this '('
  formatbuf(buffer<Char>& buf) : buffer_(buf) {}
           ^
/usr/include/fmt/ostream.h:25:42: error: use of undeclared identifier 'buf'; did you mean 'prettify_handler::buf'?
  formatbuf(buffer<Char>& buf) : buffer_(buf) {}
                                         ^~~
                                         prettify_handler::buf
/usr/include/spdlog/fmt/bundled/format-inl.h:551:11: note: 'prettify_handler::buf' declared here
  buffer &buf;
          ^
2019-08-29 01:38:54 +00:00
xPMo e38df047fd
sway/mode: enable pango markup on supported modes
IPC reports {"mode": "mode_string", "pango_markup": bool}.
Use this to conditionally enable pango markup.
2019-08-28 19:48:33 -05:00
Michael Aquilina 0b237246f0
Fixes to man pages 2019-08-27 10:40:19 +01:00
Aleksei Bavshin 01ad3d96d8
fix(tray): pre-create dbusmenu for tray items
It seems that dbusmenu is not ready to display menu immediately and
needs some time to sync data via DBus.
Fixes LIBDBUSMENU-GLIB-CRITICAL: dbusmenu_menuitem_send_about_to_show:
assertion 'DBUSMENU_IS_MENUITEM(mi)' failed.
Also fixes initial render of the menu with layer shell popups support patch.
2019-08-27 00:34:00 -07:00
Aleksei Bavshin 642fd48af1
fix(tray): restore Activate support for compliant SNI implementation
Set ItemIsMenu to true by default because libappindicator supports
neither ItemIsMenu nor Activate method and compiant SNI implementations
are expected to reset the flag during initial property fetch.
To be revisited if anyone finds the implementation that has Activate
but does not set ItemIsMenu.
2019-08-27 00:33:59 -07:00
Aleksei Bavshin 8f9e6c132d
fix(network): stack-use-after-return found by address sanitizer
Fixes compilation with clang.
2019-08-27 00:11:40 -07:00
Michael Aquilina ba5592c86a
Add waybar-states(5) 2019-08-26 22:49:04 +01:00
Michael Aquilina 2a3f40bc02
Minor fixes to waybar(5) 2019-08-26 22:34:19 +01:00
Michael Aquilina c60b905831
replace `` with ** 2019-08-26 22:31:05 +01:00
Michael Aquilina 6536f7adb6
Consistent header names 2019-08-26 22:29:10 +01:00
Michael Aquilina 8134215839
s/config/configuration where it makes sense 2019-08-26 22:29:05 +01:00
Michael Aquilina e6fa37164c
List supported modules in waybar(5) 2019-08-26 18:20:22 +01:00
Michael Aquilina 436fc94549
Add waybar-tray(5) 2019-08-26 18:15:58 +01:00
Michael Aquilina 4f9c3d2413
Add waybar-temperature(5) 2019-08-26 18:13:48 +01:00
Michael Aquilina c19a63e85e
Add waybar-sway-workspaces(5) 2019-08-26 18:08:59 +01:00
Michael Aquilina 05e212f67a
Add waybar-sway-window(5) 2019-08-26 18:00:46 +01:00
Michael Aquilina e01e3be488
Add waybar-sway-mode(5) 2019-08-26 17:55:20 +01:00
Michael Aquilina f380844d61
Add waybar-pulseaudio(5) 2019-08-26 17:50:16 +01:00
Michael Aquilina 7f6e4801eb
Add waybar-network(5) 2019-08-26 17:42:30 +01:00
Michael Aquilina ac461f38f4
Add waybar-mpd(5) 2019-08-26 15:27:32 +01:00