Commit graph

2701 commits

Author SHA1 Message Date
Jose Javier ALONSO MOYA
7ec3adfa47 contrib/network_traffic dependency in docs 2022-09-20 15:00:14 +02:00
tobi-wan-kenobi
1c19250fe5 [core/output] fix broken output 2022-09-18 16:50:43 +02:00
tobi-wan-kenobi
38d3a6d4c4 [doc] rearrange badges 2022-09-18 09:04:39 +02:00
tobi-wan-kenobi
0151d20451 [doc] update badges 2022-09-18 09:04:08 +02:00
tobi-wan-kenobi
acb387a685 Merge branch '921-scrolling-status-bar' 2022-09-17 17:04:12 +02:00
tobi-wan-kenobi
e5f36053af [workflow] add experimental AUR release workflow
OK, so I don't know how to test this, but *theoretically*, this should
automatically push releases to AUR.
2022-09-17 16:12:29 +02:00
tobi-wan-kenobi
d94ee9416a [doc] various updates 2022-09-17 16:07:05 +02:00
tobi-wan-kenobi
0807bfb5c3
Merge pull request #927 from kellya/main
Correct battery modules handling of critical/warning states
2022-09-17 02:05:52 +02:00
Alex Kelly
c637392bd0 Correct battery modules handling of critical/warning states
The logic for the critical/warning handling on the battery modules was
applied BEFORE the discharging-<pct> logic.  This made it  possible for
those discharging states to get applied over a critical/warning and
allow a theme to override the critical/warning colors with a state of
"discharging-10", for example.

This change moves that logic after the discharging state, so that it
will always "win" if critical or warning states are set.

This also adds the "discharging" battery state to the critical/warning
check so the state will apply if the battery is not on AC power, but
would return normal otherwise.  Meaning, if the battery is "critical"
from a percentage check, but is plugged into power, the critical state
is removed.
2022-09-16 15:36:06 -04:00
tobi-wan-kenobi
4337575557
Merge pull request #926 from kellya/main
[modules/taskwarrior] add state handling
2022-09-15 17:57:36 +02:00
Alex Kelly
a5e0b01e3b [modules/taskwarrior] add state handling
Sets one of two states:
  "stopped" - Default, no running task
  "active"  - When an active task is running.
2022-09-15 11:48:43 -04:00
tobi-wan-kenobi
97a022e452 [modules/pulsectl] add friendly name support
thanks to @anopheles for figuring out this is still missing
2022-09-14 21:12:01 +02:00
tobi-wan-kenobi
7a1022de46 [docs] add logo attribution 2022-09-13 19:02:49 +02:00
tobi-wan-kenobi
01cf02c560 [docs] transparent logo 2022-09-13 19:02:12 +02:00
tobi-wan-kenobi
71d65fafc6 [doc] attempt to use relative paths 2022-09-13 18:56:39 +02:00
tobi-wan-kenobi
a6388aea49
Merge pull request #924 from kellya/main
added logo and favicon to the conf
2022-09-13 18:36:15 +02:00
Alex Kelly
46b379815b added logo and favicon to the conf 2022-09-13 11:58:03 -04:00
tobi-wan-kenobi
7e6ae7c7be [themes] add plain zengarden theme 2022-09-13 12:59:59 +02:00
tobi-wan-kenobi
5ddc0d84a3 [docs] need to figure out how to include into readthedocs 2022-09-13 09:26:08 +02:00
tobi-wan-kenobi
245cacac42 [doc] add logo to readthedocs 2022-09-13 09:19:23 +02:00
tobi-wan-kenobi
d158fbccba [doc] reduce logo size a bit 2022-09-13 09:18:04 +02:00
tobi-wan-kenobi
aa86ac931f [doc] another attempt 2022-09-13 09:17:27 +02:00
tobi-wan-kenobi
700f977c87 [doc] play with formatting 2022-09-13 09:13:52 +02:00
tobi-wan-kenobi
84a3ebf47c [doc] test 2022-09-13 09:13:04 +02:00
tobi-wan-kenobi
9fe4e6c347 [doc] minor reformatting 2022-09-13 09:12:04 +02:00
tobi-wan-kenobi
a07f40d051 [doc] logo as img tag 2022-09-13 09:11:26 +02:00
tobi-wan-kenobi
578f806504 [doc] image not working? 2022-09-13 09:09:45 +02:00
tobi-wan-kenobi
5b864e4924 [doc] add logo - thanks to kellya! 2022-09-13 09:07:49 +02:00
tobi-wan-kenobi
96c9989ad5
Merge pull request #923 from kellya/main
Added task detail display for taskwarrior
2022-09-12 19:50:40 +02:00
Alex Kelly
54d5e83909 [modules/taskwarrior] Update docstring with show.active stuff 2022-09-12 13:43:10 -04:00
Alex Kelly
e76a6e0ba3 [doc] update document to reflec the show_active param for taskwarrior 2022-09-12 13:36:05 -04:00
Alex Kelly
754707379a Add active-task display and scrolling
This adds an option allowing you to specify
"taskwarrior.show_active=true" in your bar configuration and will
display the current, active task id and description on the status bar, but will show the
number of pending tasks if one isn't active.

This also adds the scrolling decorator, since task descriptions can be
quite long.
2022-09-12 13:29:19 -04:00
tobi-wan-kenobi
c40f59f7be [modules/scroll] edge case error 2022-09-11 16:00:35 +02:00
tobi-wan-kenobi
3f97ea6a39 [doc] add scroll menu
see #921
2022-09-11 13:16:06 +02:00
tobi-wan-kenobi
21cbbe685d [modules/scroll] add preliminary version of scrolling module
add a scrolling module that can be used to scroll the whole bar to an
arbitrary number of widgets.

its parameter is "width", which determines the number of widgets to
display.

see #921
2022-09-11 13:12:51 +02:00
tobi-wan-kenobi
910b9a8963 [doc] module doc update 2022-09-10 09:30:43 +02:00
tobi-wan-kenobi
cd46b9c6a6
Merge pull request #920 from tobi-wan-kenobi/917-event-based-pulseaudio
917 event based pulseaudio
2022-09-10 09:17:43 +02:00
tobi-wan-kenobi
2287dcab48 [docs] add note for pulsectl being preferred over pulseaudio 2022-09-10 09:13:55 +02:00
tobi-wan-kenobi
a97f46c087 [modules/pulsectl] add documentation 2022-09-10 09:12:03 +02:00
tobi-wan-kenobi
eb11c279f6 [modules/pulsectl] add device name mapping and display 2022-09-10 09:09:16 +02:00
tobi-wan-kenobi
025b1ec2f2 [modules/pulsectl] add optional bar representation 2022-09-10 09:04:52 +02:00
tobi-wan-kenobi
20bc4b3fa6 [modules/pulsectl] add parameter to set an upper limit 2022-09-10 09:02:13 +02:00
tobi-wan-kenobi
ca6bf2e189 [modules/pulsectl] add option to automatically start pulseaudio 2022-09-10 08:57:00 +02:00
tobi-wan-kenobi
003a6efc8e [modules/pulsectl] figure out default devices
make sure the modules always refer to the default devices
2022-09-09 21:40:03 +02:00
tobi-wan-kenobi
a1d94d4355 [modules/pulsectl] add mouse actions
add toggle mute on click and volume up/down on scroll
2022-09-09 21:34:32 +02:00
tobi-wan-kenobi
cc910f1198 [modules/pulsectl] add preliminary version of event-based pulseaudio
add a new module based on pulsectl, with pulsein for microphone and
pulseout for speakers.

should eventually become a drop-in replacement for pasink and pasource.

see #917
2022-09-09 21:21:09 +02:00
tobi-wan-kenobi
f4bd0fba0b [core] fix concurrency issues
* initialize first line of output earlier (before modules are
  initialized, so that module/thread output cannot interfere)
* make sure that update and draw are protected against concurrent access
2022-09-09 20:58:59 +02:00
tobi-wan-kenobi
28601cf2b7 Revert "Merge branch '917-event-based-pulseaudio'"
This reverts commit 72a888748e, reversing
changes made to d57ef9364a.

This merge causes really high CPU load if using both pasink and
pasource, because those two modules trigger each other, and there's not
a terrible lot I can do about that, unfortunately.
2022-09-09 08:39:05 +02:00
tobi-wan-kenobi
72a888748e Merge branch '917-event-based-pulseaudio'
fixes #917
2022-09-09 08:25:23 +02:00
tobi-wan-kenobi
d57ef9364a
Merge pull request #919 from kellya/main
[doc] fix missing bullet on scrolling.bounce
2022-09-08 18:06:29 +02:00