Commit Graph

1341 Commits (c0361e8546213d8d4653859329a7d02da4f56191)

Author SHA1 Message Date
Jan Beich cfd7577e1b backlight: require libepoll on non-Linux
../src/modules/backlight.cpp:9:10: fatal error: 'sys/epoll.h' file not found
 #include <sys/epoll.h>
          ^~~~~~~~~~~~~
2020-05-19 10:37:27 +00:00
Jan Beich d5df185ac6 cpu: make getCpuLoad more portable
../include/modules/cpu.hpp:4:10: fatal error: 'sys/sysinfo.h' file not found
 #include <sys/sysinfo.h>
          ^~~~~~~~~~~~~~~
2020-05-19 10:37:27 +00:00
Jan Beich c94ef092ff build: drop -Dout in favor of --prefix
$ meson --prefix=/tmp/foo _build
$ ninja install -C _build
[49/50] Installing files.
Installing waybar to /tmp/foo/bin
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/mesonbuild/mesonmain.py", line 127, in run
    return options.run_func(options)
  File "/usr/lib/python3.6/site-packages/mesonbuild/minstall.py", line 514, in run
    installer.do_install(datafilename)
  File "/usr/lib/python3.6/site-packages/mesonbuild/minstall.py", line 346, in do_install
    self.install_data(d)
  File "/usr/lib/python3.6/site-packages/mesonbuild/minstall.py", line 375, in install_data
    d.dirmaker.makedirs(outdir, exist_ok=True)
  File "/usr/lib/python3.6/site-packages/mesonbuild/minstall.py", line 55, in makedirs
    os.makedirs(path, exist_ok=exist_ok)
  File "/usr/lib/python3.6/os.py", line 210, in makedirs
    makedirs(head, mode, exist_ok)
  File "/usr/lib/python3.6/os.py", line 220, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/etc/xdg'
FAILED: meson-install
2020-05-19 10:37:27 +00:00
Jan Beich 74db69dcb7 build: drop libinput as it was never used 2020-05-19 10:37:27 +00:00
Jan Beich fe2dd1e843 build: handle systems where libc++ is default
ld: error: unable to find library -lstdc++fs
ld: error: unable to find library -lc++abi
2020-05-19 10:37:27 +00:00
Jan Beich 1dc557456e Add missing includes for libc++
In file included from ../src/modules/custom.cpp:1:
In file included from ../include/modules/custom.hpp:7:
../include/util/command.hpp:15:25: error: implicit instantiation of undefined template 'std::__1::array<char, 128>'
  std::array<char, 128> buffer = {0};
                        ^
../src/modules/pulseaudio.cpp:175:41: error: implicit instantiation of undefined template 'std::__1::array<std::__1::basic_string<char>, 9>'
static const std::array<std::string, 9> ports = {
                                        ^
/usr/include/c++/v1/__tuple:223:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                               ^
In file included from ../src/factory.cpp:1:
In file included from ../include/factory.hpp:8:
../include/modules/sway/workspaces.hpp:39:8: error: no template named 'unordered_map' in namespace 'std'
  std::unordered_map<std::string, Gtk::Button> buttons_;
  ~~~~~^
../src/factory.cpp:20:14: error: cannot initialize return object of type 'waybar::AModule *' with an rvalue of type 'waybar::modules::sway::Workspaces *'
      return new waybar::modules::sway::Workspaces(id, bar_, config_[name]);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-05-19 10:37:27 +00:00
Alex 45deb2472c fix: use strcmp 2020-05-19 12:14:59 +02:00
Alex 8fbaf06cbe refactor(mpd): prefer debug over warn 2020-05-16 09:29:37 +02:00
Alex 08dce576bd refactor(mpd): prefer debug over info 2020-05-16 09:28:30 +02:00
Alex 4b28518cd5
Merge pull request #701 from josteink/patch-2
Confirm build-instructions for Ubuntu 20.04 too.
2020-05-07 08:58:58 +02:00
Jostein Kjønigsen c9ee528880
Confirm build-instructions for Ubuntu 20.04 too. 2020-05-07 07:01:20 +02:00
Alex 0e869e3aab
Merge pull request #696 from f0rki/sort_by_sway_num
sway/workspaces: sort by the "num" property provided by sway
2020-05-06 12:38:12 +02:00
Michael Rodler 6fe764540c sway/workspaces: sort by the "num" property provided by sway, configurable whether numeric workspace names come first
Sway provides the workspace "num" property which is an integer number of
the workspace, i.e., workspace "3" -> 3 and also "3dev" -> "3". This
commit uses this property to sort the workspaces, which makes sense when
persistent workspaces or all-output is specified. This commit also adds
a new configuration option, whether the numeric workspaces come in front
or after workspaces that have non-numeric name.
2020-05-05 09:15:20 +02:00
Alex 81abd9bb67
Merge pull request #693 from f0rki/current_output
sway/workspaces added current_output CSS class to buttons.
2020-05-04 17:36:36 +02:00
Michael Rodler c602d38c8e sway/workspaces added current_output CSS class to buttons.
All workspace buttons that are visible on the same output as the current waybar can be styled with the `current_output` css class.

This is really only useful in combination with the `"all-outputs":
true`. Then the workspaces that are on the current output can be styled
differently than the workspace on other outputs, while all are visible
in the waybar.
2020-05-04 16:16:09 +02:00
Alex c45adddd8e
Merge pull request #673 from maximbaz/patch-1
Add missing dependencies to README
2020-05-02 21:01:45 +02:00
Alex 25648ed9c0
Merge branch 'master' into patch-1 2020-05-02 21:01:31 +02:00
Maxim Baz c8daa48e66
Add build dependencies 2020-05-02 13:06:15 +02:00
Alex 6a95179456
Merge pull request #684 from DiegoGuidaF/fix_bluetoothman
Build bluetooth module man page
2020-05-01 20:35:56 +02:00
Diego GF ea4dec96e6 Build bluetooth module man page 2020-04-28 17:40:44 +02:00
Alex 44ed61b2c3
Merge pull request #680 from akobel/master
Fix round to 0 or 1 in capacity computation with given full-at
2020-04-27 08:47:22 +02:00
Alex 64f10f8f69
Merge pull request #683 from phosit/master
Add kelvin-scale
2020-04-27 08:46:00 +02:00
phosit 7b18bfd1a7 Add kelvin in man 2020-04-25 18:57:56 +02:00
phosit 6e946bf872 Add kelvin-scale 2020-04-25 18:44:48 +02:00
Alex e01a081f2f fix(brightness): amd brightness 2020-04-21 09:11:56 +02:00
Alexander Kobel df0d34dbd4 Fix round to 0 or 1 in capacity computation with given full-at 2020-04-21 00:58:17 +02:00
Alex b18262f6d0
Merge pull request #677 from mastertinner/master
Make bluetooth example valid
2020-04-20 15:27:49 +02:00
Tobi Fuhrimann d30b775d25
Make bluetooth example valid 2020-04-20 15:23:03 +02:00
Alex 82c3cccd72 fix(typo): man, remove trailing dot 2020-04-20 14:04:02 +02:00
Alex 1814b3b593 chore(arch): update Dockerfile 2020-04-19 19:52:03 +02:00
Alex ff7a28274f chore(debian): update Dockerfile 2020-04-19 19:19:21 +02:00
Maxim Baz 8909086b58
Add wayland-protocols 2020-04-19 02:46:21 +02:00
Maxim Baz a851dd1198
Add missing dependencies to README 2020-04-19 02:30:08 +02:00
Alex 9817955fef
Merge pull request #596 from vesim987/output-exclusion
Add a way to exclude specific output
2020-04-17 23:58:25 +02:00
Alex 774d8ffdba
Merge branch 'master' into output-exclusion 2020-04-17 23:42:58 +02:00
Alex 4a80874da9
Update client.cpp 2020-04-17 23:41:32 +02:00
Alex 4e19ec93dc
Update README.md 2020-04-17 09:09:30 +02:00
Alex 976d3332d4
Merge pull request #568 from marcplustwo/master
Add rfkill status to network module and new bluetooth module
2020-04-17 09:09:07 +02:00
Marc Radau 2d02ae5e97
Merge branch 'master' into master 2020-04-16 14:43:10 +02:00
Alex 967001d9d3
Merge pull request #667 from DanySpin97/memory-missing-header
fix(memory): add missing unordered_map include
2020-04-13 20:48:21 +02:00
Danilo Spinella 09ec40e38d fix(memory): add missing unordered_map include 2020-04-13 18:02:50 +02:00
Alex 345c7da384 chore: update fedora base 2020-04-13 17:07:16 +02:00
Thomas Plaçais 9350595158
fix(layout): fix opensuse dockerfile pugixml dep 2020-04-13 09:50:58 +02:00
Thomas Plaçais a0d5826cbc
fix(layout): fix alpine dockerfile pugixml dep 2020-04-13 09:39:48 +02:00
Alex 7859bf2c60
Merge pull request #402 from 0xdec/on-update
feat(modules): call user on-update if configured
2020-04-12 18:49:00 +02:00
Alex acc3ae6e62 refactor(man): add missing : 2020-04-12 18:41:44 +02:00
Alex d1c4897f31 feat: update man 2020-04-12 18:38:51 +02:00
Alex 4a7dd400fe
Merge branch 'master' into on-update 2020-04-12 18:32:19 +02:00
Alex 687c50dc13 refactor: remove old stuff 2020-04-12 18:31:07 +02:00
Alex b40cdcb5bd refactor: call parent update 2020-04-12 18:30:21 +02:00