Commit Graph

1599 Commits

Author SHA1 Message Date
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
Alex 181fde254f
Merge pull request #736 from Xyene/sway-workspaces-no-auto-back-and-forth 2020-06-11 10:31:26 +02:00
Tudor Brindus 0080feb9af sway/workspaces: make clicking on workspaces idempotent
Previously, clicking on the same workspace you were on would throw you
to another workspace if `workspace_auto_back_and_forth yes` was
specified in your sway config. This also fixes workspace output moving
misbehaving and doing the same.
2020-06-09 20:43:43 -04:00
Alex 91a2c4743e
Merge pull request #737 from tbm/typos 2020-06-09 23:05:25 +02:00
Martin Michlmayr a50c12b6ae
Fix typos 2020-06-08 11:01:06 +08:00
Alex 4b2e6b54a7
Update FUNDING.yml 2020-06-01 13:29:41 +02:00
Till Smejkal adaf843048
foreign-toplevel-manager based taskbar module (#692)
Co-authored-by: Alex <alexisr245@gmail.com>
2020-05-30 12:07:38 +02:00
Alex e96a0bf799 refactor(custom): tooltip markup 2020-05-30 11:59:22 +02:00
Alex 6e7f22ac3a fix: cancel thread and fix window close 2020-05-27 09:10:38 +02:00
Alex 3b16946c25 fix(custom): avoid hide outside update 2020-05-25 09:21:04 +02:00
Alex 1d92d78de7 refactor: prefer spdlog 2020-05-24 22:14:17 +02:00
Alex eb624c929d fix: fmt format 2020-05-24 22:08:10 +02:00
Alex e72b153f87 fix: ignore gtk unknown options 2020-05-24 22:03:41 +02:00
Alex 7b4ded306b fix: restart-interval 2020-05-24 21:33:38 +02:00
Alex 49ae944d65 fix: check git root 2020-05-24 19:14:46 +02:00
Jan Beich 2585360a3e
Simplify .travis.yml (#719) 2020-05-24 19:05:44 +02:00
Alex 2ffc96d0b2 fix: hide box by default 2020-05-24 19:02:52 +02:00
Alex 9a123052a0 refactor: check conn 2020-05-24 18:47:50 +02:00
Alex 9b9d13ab0d feat: execNoRead 2020-05-24 18:27:21 +02:00
Alex 6ca4e14b29
Feat icons vector (#716) 2020-05-22 21:23:04 +02:00
Alex 6b32aca094 feat: debug cmd 2020-05-22 20:57:41 +02:00
Alex b251c51936 fix: spdlog 2020-05-22 20:02:09 +02:00
Alex a9b17681b0
Merge pull request #715 from Alexays/fix-clock 2020-05-22 19:10:11 +02:00
Alex 60bad8279e feat: add comment 2020-05-22 19:09:50 +02:00
Alex a871dcaebe fix: type 2020-05-22 18:56:32 +02:00
Alex cef5b27b48 fix: prefer default fmt date formatting unless timezone specified 2020-05-22 18:52:26 +02:00
Alex c5bbedfabb
Merge pull request #665 from BlueGone/layout-dockerfiles 2020-05-19 17:50:55 +02:00
Alex e7367c75aa
Merge pull request #425 from jbeich/freebsd 2020-05-19 13:55:47 +02:00