Commit Graph

1176 Commits

Author SHA1 Message Date
NotAFile
9ebfc54eb5
switch workspace on mouse-down to match swaybar
fixes #686
2020-08-06 16:04:30 +02:00
Alex
f5efb50871
Merge pull request #798 from danieldg/master
Minor string fixes to wlr/taskbar
2020-08-06 09:03:02 +02:00
Daniel De Graaf
4cd31cf3c3 Fix wlr/taskbar all-outputs config string 2020-08-05 20:39:12 -04:00
Daniel De Graaf
6a2d214b55 Fix titles containing & and other HTML entities 2020-08-05 20:39:12 -04:00
Alex
01c682c41e chore: v0.9.3 2020-08-05 23:27:06 +02:00
Alex
7d5da1df5e
Merge pull request #797 from alebastr/update-subprojects
chore: update subprojects for date, gtk-layer-shell
2020-08-05 23:12:32 +02:00
Alex
2ca20f9050 chore: remove unwanted typo 2020-08-05 23:01:37 +02:00
Alex
99f3e37ccf chore: update archlinux, debian dockerfiles 2020-08-05 23:00:36 +02:00
Aleksei Bavshin
dcc0201b45
chore(protocol): update wlr-layer-shell-unstable-v1 protocol.
Statically linked gtk-layer-shell would use layer-shell protocol object
file from waybar and print runtime warning if the version does not match
2020-08-05 09:46:21 -07:00
Aleksei Bavshin
66aa3574d9
chore(subprojects): update gtk-layer-shell to 0.2.0
Fixes: #530, fixes #750
2020-08-05 09:46:10 -07:00
Aleksei Bavshin
40d3f1c1fe
chore(subprojects): update date to 3.0.0
Fixes #776, fixes #780
2020-08-05 09:46:01 -07:00
Alex
1e2ce29f57
Merge pull request #796 from ifreund/man-see-also
fix: add missing modules to list in waybar.5
2020-08-05 09:08:31 +02:00
Isaac Freund
74018167ff
fix: add missing modules to list in waybar.5 2020-08-04 20:54:14 +02:00
Alex
0625bc7688
Merge pull request #793 from uggedal/non-fatal-missing-nl80211
network: make missing nl80211 non-fatal
2020-08-02 11:21:13 +02:00
Eivind Uggedal
fb8cda9d90 network: make missing nl80211 non-fatal
This will enable the networking module to be used for ethernet
interfaces on kernels without nl80211 support.

It should be reasonable to allow desktop systems without
wireless interfaces to run custom kenrel configs
without nl80211 compiled in.
2020-07-31 08:15:16 +02:00
Alex
a213aed4da
Merge pull request #788 from JonasToth/fix_date_dependency
Fix 'date' dependency in meson
2020-07-28 21:05:20 +02:00
Jonas Toth
17967da676 Fix 'date' dependency in meson
The 'date' library dependency was incompletly imported with meson.
Only the target 'date::date' seemed to be caught by meson, but
'date::date-tz' not, which lead to build errors in gentoos sandbox
environment.

See this question, too:
https://stackoverflow.com/questions/62951569/meson-doesnt-link-library

Adding the modules in meson imports them all and the library builds
nice.
Note, that this did not happen with a standard checkout and local build
on my system, but only when creating an ebuild for the package.
2020-07-28 20:04:28 +02:00
Alex
1f6277e35b
Merge pull request #783 from f0rki/duplicate-num-assignment
make waybar itself assign numbers to workspaces like sway
2020-07-27 11:44:39 +02:00
Michael Rodler
006850ea5e Changed helper function for workspace->num assignment to a static method of Workspaces class
and adapted comments/method name to be consistent with the rest
2020-07-27 10:56:49 +02:00
Michael Rodler
15fe73a252 duplicate the logic to assign numbers to workspaces from sway into waybar to handle perisstent workspaces 2020-07-22 16:13:24 +02:00
Alex
759602af64
Update mpd.cpp 2020-07-18 10:23:04 +02:00
Alex
273c2f3a8f
Merge pull request #772 from jbeich/ci
CI: unbreak FreeBSD
2020-07-17 09:01:38 +02:00
Jan Beich
a1f6e38624 CI: switch FreeBSD to /quarterly packages
devel/libffi on /latest was recently updated to 3.3, breaking ABI.
However, TravisCI has lang/python37 preinstalled likely from /quarterly.
Instead of calling `pkg upgrade -y` or `pkg upgrade -y python37` switch to
/quarterly until a newer dependency is required to justify /latest.

$ meson build -Dman-pages=enabled
[...]
ImportError: Shared object "libffi.so.6" not found, required by "_ctypes.so"
2020-07-16 17:34:55 +00:00
Alex
e3fdd6d94a
fix: don't a warning for a width/height of 0 2020-07-12 11:57:47 +02:00
Alex
27f89bdcc3
Update .travis.yml 2020-07-08 22:02:47 +02:00
Alex
15623ec487
Merge pull request #766 from l3nkz/taskbar-changes
Support for multiple icon themes and XDG_DATA_DIRS
2020-07-08 21:54:27 +02:00
Till Smejkal
bc112eaae1 Convert icon-theme option to array|string
Use the config support of using arrays in its options instead of the
complicated and error-prone parsing of the string.
2020-07-07 11:22:08 +02:00
Till Smejkal
70e368a1c6 Refactor the lower_app_id logic
Move the lower_app_id lookup logic completely in the image_load_icon
method and use it also when looking up the icon from the desktop files
as well as icon themes.
2020-07-07 10:39:28 +02:00
Till Smejkal
7d9f6096fe Respect XDG_DATA_DIRS when looking for icons.
Use the base folders as defined in $XDG_DATA_DIRS and only fall back to
/usr/share and /usr/local/share if the environment variable does not
exist.
2020-07-05 13:16:41 +02:00
Till Smejkal
06ad35c42b Add support for multiple icon themes in the config
If there are multiple icon themes defined in the config option
'icon-theme' the module will try from left to right to find an icon.
The system default will always be added to this list.
2020-07-05 13:16:38 +02:00
Till Smejkal
b7e8275d90 Properly trim when splitting up the format string
Previously only single spaces would be trimmed and not multiple ones.
Now use a proper trim implementation for strings.
2020-07-05 13:13:34 +02:00
Alex
b9cf0a9c9a
Merge pull request #763 from excellentname/manpage-typo
Fix mpd typo in man page
2020-07-03 13:50:33 +02:00
excellentname
14bc842e77 Fix mpd typo in man page 2020-07-03 20:14:01 +10:00
Alex
7d9217b14a
Merge pull request #761 from Anakael/pr/anakael/taskbar-icons
Change find icon priority and to_lower for app_id
2020-07-01 23:17:44 +02:00
dmitry
8a13ed59bc Fix lower 2020-07-01 03:05:17 +03:00
dmitry
43500a9983 Move lower to load_icon phase 2020-07-01 02:56:44 +03:00
dmitry
8e6cbc1021 Change find icon priority and to_lower app_id 2020-07-01 02:10:22 +03:00
Alex
d35e92569d
Merge pull request #755 from l3nkz/master
Fix and extend the wlr/taskbar example in the man page
2020-06-25 10:45:34 +02:00
Till Smejkal
b6067c7569 Fix and extend the wlr/taskbar example in the man page
The example incorrectly used 'on-middle-click' as option although it
should be 'on-click-middle'. Fix this and also add some other options.
2020-06-25 08:05:06 +02:00
Alex
8f684f703e
Merge pull request #753 from spk/reproductible-builds
Remove date macro on version for reproducible builds
2020-06-24 18:22:36 +02:00
Alex
5662f80c43
Merge pull request #752 from spk/remove-if-meson
chore: always include sway module
2020-06-24 18:21:29 +02:00
Laurent Arnoud
5e044e5bba
Remove date macro on version for reproducible builds
cf https://reproducible-builds.org/
2020-06-24 15:09:11 +02:00
Laurent Arnoud
732ce7a27c
chore: always include sway module 2020-06-24 14:55:41 +02:00
Alex
fa6bf597cf
Merge pull request #751 from l3nkz/tabkbar-fixes
Fixes for wlr/taskbar
2020-06-24 11:10:45 +02:00
Till Smejkal
b7a8e8e544 Fix format option for the taskbar module
When using additional format options in addition to {icon} the format is
separated into text before and text after the icon. Each of the texts is
displayed in a separate label one before and one after the image for the
icon.

The code updating the labels on changes used the wrong format strings
when updating the label after the icon.
2020-06-24 09:47:34 +02:00
Till Smejkal
7429d1f9cc Fix click events for the taskbar module
When only the option 'on-click-right' was set and no other 'on-click'
option than the taskbar module wouldn't register for click events and
hence those events were handled by the generic AModule::on-click code.
This code would try to start a shell with the specified command, which
wouldn't make any sense in this circumstances.

The taskbar code falsely checked for the 'on-click-left' option instead
for the 'on-click-right' when deciding to register for click events.
2020-06-24 09:36:28 +02:00
Alex
2c25153506
Merge pull request #747 from Jannusch/master
Only real batteries are counted as batteries
2020-06-22 11:31:37 +02:00
Jannusch Bigge
401ea05dd8 add check that all batteries from type battery 2020-06-16 12:30:21 +02:00
Alex
b23ba00cff
Merge pull request #745 from ifreund/river-status
river/tags: add module
2020-06-14 12:21:37 +02:00
Isaac Freund
343a8bef22
river/tags: add module 2020-06-12 15:19:46 +02:00