Commit Graph

3448 Commits

Author SHA1 Message Date
Pedro Côrte-Real 29fa74f621 Add IDs to sway workspace buttons for CSS styling
In case you want to style a specific workspace add IDs to the workspace
buttons. Styling is done by matching button#sway-workspace-${name}.
2020-08-13 11:36:19 +01:00
Alex 4c4691dc2e
Merge pull request #817 from pedrocr/sway-workspaces-disable-click
Add option for no workspace switch on click
2020-08-12 20:45:04 +02:00
Pedro Côrte-Real 8f10c9056c Add option for no workspace switch on click
In sway/workspaces, just like disable-scroll turns on/off the ability to
change workspaces by scrolling the mouse add disable-click that turns
on/off the ability to change workspaces by clicking.
2020-08-12 11:38:48 +01:00
dmitry 22409d27c5 Fix docs typos
Add removing buttons
Adjust handling multiple outputs.
2020-08-11 00:28:56 +03:00
Alex 3bb04e82a5
Merge pull request #813 from xenrox/fmt-fix
Fix crash with fmt
2020-08-10 20:57:00 +02:00
Thorben Günther 9b41b95934
Fix crash with fmt 2020-08-10 20:53:29 +02:00
Alex fb56f89ced
Merge pull request #801 from maximbaz/systemd-use-standard-targets
systemd: use standard targets, update service type
2020-08-10 18:11:28 +02:00
Alex 56cbdd1403
Merge pull request #807 from nschloe/readme-ppa
add repo info to README
2020-08-08 16:35:09 +02:00
Nico Schlömer 50e8f7ca86
add repo info to README 2020-08-08 13:17:56 +02:00
dmitry 42b6c089f3 Add docs and adjust sorting 2020-08-08 00:09:35 +03:00
dmitry 0ad29a5960 Finish base implementation 2020-08-07 23:46:47 +03:00
Alex 5ebd3594e4
Merge pull request #778 from excellentname/handle-sigchld
Handle SIGCHLD for exec/forkExec
2020-08-07 13:33:27 +02:00
dmitry 4c251578e9 Add formatting and states handling 2020-08-07 02:45:08 +03:00
Maxim Baz d51adfe7bc
systemd: use standard targets, update service type 2020-08-06 23:21:53 +02:00
Alex a446cd692d
Fix MPD, add missing while loop 2020-08-06 21:57:02 +02:00
Alex 4d6e20a96d
Merge pull request #800 from NotAFile/patch-1
switch workspace on mouse-down to match swaybar
2020-08-06 16:14:57 +02:00
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
dmitry 7638f5c595 Add base name representation 2020-08-06 01:42:57 +03: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
dmitry edd4d8ee11 Finish implement wlr 2020-08-05 23:10:08 +03: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
dmitry 2b11b7ef8c Base wlr impl (Manager, Group) 2020-08-05 02:17:38 +03: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
excellentname c3359dec1b Replace signal handler with signal handling thread 2020-07-25 21:02:59 +10: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
excellentname 246f7bf555 Handle SIGCHLD for exec/forkExec
When forkExec is called it begins to ignore all SIGCHLD signals for
the rest of the progam's execution so that they are automatically
reaped. However, this means that subsequent waitpid calls in the exec
function will always fail. So instead handle SIGCHLD by reaping any
processes created by forkExec and ignoring all others so that they can be
handled directly by the exec function.
2020-07-21 12:36:48 +10: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