Commit graph

2786 commits

Author SHA1 Message Date
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
Alex Kelly
87764dccf0 [doc] fix missing bullet on scrolling.bounce 2022-09-08 11:06:06 -04:00
tobi-wan-kenobi
3c37b666f5
Merge pull request #918 from FraSharp/main
[modules/pamixer] use -t flag to toggle mute instead of setting volume level to 0
2022-09-08 12:55:36 +02:00
FraSharp
8d0f8a4177 [modules/pamixer] use -t flag to toggle mute instead of setting volume level to 0
Signed-off-by: FraSharp <s23265@iisve.it>
2022-09-08 12:11:27 +02:00
tobi-wan-kenobi
ee9885a601 [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-04 16:22:29 +02:00
tobi-wan-kenobi
ee81f6198e [modules/pulseaudio] rate-limit pulseaudio events
attempting a different tack: Reduce the amount of draws that are being
emitted by the pulseaudio module to max. 2/s. That hopefully increases
reactivity and at the same time keeps flickering to a minimum.

see #917
2022-09-04 09:55:33 +02:00
tobi-wan-kenobi
40041d6080 Revert "[core/output] rate-limit output (see #917)"
(did not fix the issue)

This reverts commit b90346424b.
2022-09-04 09:41:20 +02:00
tobi-wan-kenobi
b90346424b [core/output] rate-limit output (see #917)
according to research (Jakob Nielsen '93), roughly 0.1s is what is
required for the user to feel "instantaneous".

based on this, rate-limit updates to only once per ~0.03s (0.1 felt
really laggy for me, so let's be conservative)
2022-09-01 21:15:14 +02:00
tobi-wan-kenobi
978519e130 [modules/pulseaudio] redraw only
make sure that we only ever redraw see #917
2022-09-01 19:00:06 +02:00
tobi-wan-kenobi
1983408e58 [util] fix location timeouts 2022-08-31 19:12:05 +02:00
tobi-wan-kenobi
0f74b690ca [modules/publicip] add nicer logging 2022-08-31 19:09:04 +02:00
tobi-wan-kenobi
05f0e08493
Merge pull request #916 from tfwiii/main
More robust identification of changes to public IPs
2022-08-31 19:08:34 +02:00
tobi-wan-kenobi
8d2cdebbaf [modules/pulseaudio] fix pactl subscribe thread
calling "draw" too early causes status line to be messed up.

see #917
2022-08-31 19:05:08 +02:00
tobi-wan-kenobi
ae04cc9897 [module/pulseaudio] somewhat experimental immediate update
try to immediately update pulseaudio, if pactl subscribe exists & allows
us to monitor update.

see #913
2022-08-31 07:51:36 +02:00
tobi-wan-kenobi
b1fd18b9af Revert "[module/pulseaudio] somewhat experimental immediate update"
This reverts commit d5d0d6a56c.
2022-08-30 21:50:56 +02:00
tobi-wan-kenobi
d5d0d6a56c [module/pulseaudio] somewhat experimental immediate update
try to immediately update pulseaudio, if pactl subscribe exists & allows
us to monitor update.

see #913
2022-08-30 21:38:48 +02:00