Commit graph

19 commits

Author SHA1 Message Date
Stanislav Ochotnický
04d47cba3c Add initial pulseaudio module support
This seems to work quite well including hotplugging of devices, changes to
default sinks/sources etc.

So far I only provided percentage values for sink/source since they seem most
useful. Defaults are set to DEFAULT_SINK/DEFAULT_SOURCE which means it will
follow whatever defaults are at the moment (instead of being fixed to a given
device).

One thing currently left unhandled is when pulseaudio/pipewire gets
disconnected/restarted. In such a case we mark the sink/source as offline but
there is no reconnect attempted later.

Added man page + more complex example which includes mixed usage of both input
and output.
2021-10-10 20:29:58 +02:00
Daniel Eklöf
066427d77a
examples: add ssid to wifi-network module 2021-09-01 19:10:22 +02:00
Daniel Eklöf
0963afd282
example/conf: alsa: use the new ‘online’ tag 2021-08-24 16:57:22 +02:00
mzeinali
e2f3df87a3 add changes in response to PR #58 comments 2021-06-14 22:42:22 +04:30
novakne
21a84aed72
exemples/script: Update dwl-tags
Update dwl-tags to works with dwl main branch
now that the pull request was merged
2021-03-28 12:55:02 +02:00
Daniel Eklöf
0edfd8e22c
Merge branch 'dwltags-script' 2021-02-25 20:57:14 +01:00
novakne
d69ca5a0c9
exemples/scripts: dwl-tags.sh: fix exemple length
rename yambar tags
2021-02-25 08:26:10 +01:00
novakne
db34254677
exemples/scripts: dwl-tags.sh: use yambar capacities 2021-02-24 19:57:01 +01:00
novakne
075ddf3f50
exemples/scripts: pacman.sh: display tags early 2021-02-23 13:44:39 +01:00
novakne
0f1c3548ae
exemples/scripts: pacman.sh: handle no update in yambar config
change type to int
2021-02-23 12:00:56 +01:00
novakne
c4f58e8673
exemples/scripts: pacman.sh: display number of pacman/aur updates available 2021-02-22 11:18:55 +01:00
novakne
db6e868011
exemples/scripts: dwl-tags.sh: display info about dwl tags 2021-02-22 11:04:02 +01:00
Daniel Eklöf
87b6b98695
examples: laptop: add margin around i3 mode 2021-01-02 14:49:13 +01:00
Daniel Eklöf
86cc3f0918
examples: laptop: add i3-mode
Closes #27
2021-01-02 13:09:12 +01:00
Daniel Eklöf
9718c6f31e
examples: scripts: cpu: fix idle and total calculation
* include iowait in idle
* guest/guestnice is accounted in user/nice, so need to subtract them
  to not count them twice
2020-11-25 20:41:44 +01:00
Daniel Eklöf
b1ee1ba403
examples: script: cpu.sh add missing “‘” 2020-11-25 20:41:26 +01:00
Daniel Eklöf
d5a92cbf5f
examples: script: cpu.sh - measures CPU usage at a configurable interval 2020-11-25 20:41:26 +01:00
Daniel Eklöf
05aa44f1ab
examples: move laptop.conf -> configurations/laptop.conf 2020-11-25 20:41:10 +01:00
Daniel Eklöf
b49fb08b70
examples: my current laptop configuration 2020-01-23 17:52:31 +01:00