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
dmitry
4c251578e9
Add formatting and states handling
2020-08-07 02:45:08 +03:00
Alex
a446cd692d
Fix MPD, add missing while loop
2020-08-06 21:57:02 +02:00
NotAFile
9ebfc54eb5
switch workspace on mouse-down to match swaybar
...
fixes #686
2020-08-06 16:04:30 +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
dmitry
edd4d8ee11
Finish implement wlr
2020-08-05 23:10:08 +03:00
dmitry
2b11b7ef8c
Base wlr impl (Manager, Group)
2020-08-05 02:17:38 +03: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
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
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
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
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
Jannusch Bigge
401ea05dd8
add check that all batteries from type battery
2020-06-16 12:30:21 +02:00
Isaac Freund
343a8bef22
river/tags: add module
2020-06-12 15:19:46 +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
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
Jan Beich
94a4d41a65
disk: make used calculation match df(1) output
...
Substract space only available to superuser as well.
2020-05-26 07:47:08 +00:00
Alex
3b16946c25
fix(custom): avoid hide outside update
2020-05-25 09:21:04 +02:00
Alex
7b4ded306b
fix: restart-interval
2020-05-24 21:33:38 +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
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
Jan Beich
71b7b4e0f4
disk: properly calculate free/total size
...
On most Unix systems `f_blocks`, `f_bfree`, and `f_bavail` are
reported in units of `f_frsize`.
2020-05-19 10:43:45 +00:00
Jan Beich
4e567d0483
cpu: port parseCpuinfo to BSDs
2020-05-19 10:43:42 +00:00
Jan Beich
c4f7cdeec4
memory: port parseMeminfo to BSDs
2020-05-19 10:42:21 +00:00
Jan Beich
c844d7ac2e
tray: drop std::filesystem dependency
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
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