Auto-commit kunsi-p14s.kunbox.net 2024-03-01 20:34:58

This commit is contained in:
Franzi 2024-03-01 20:34:59 +01:00
parent 6899ba8fd2
commit 393c9b31a4
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 24 additions and 21 deletions

View file

@ -4,21 +4,21 @@ status = Status(
logfile='/dev/stderr',
)
#status.register("pulseaudio",
# format="♪I {volume}%",
# format_muted="♪I -∞dB",
# step="2",
# sink="alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_1__sink")
#status.register("pulseaudio",
# format="♪D {volume}%",
# format_muted="♪D -∞dB",
# step="2",
# sink="@DEFAULT_SINK@")
status.register("pulseaudio",
format="♪I {volume}%",
format_muted="♪I -∞dB",
step="2",
sink="alsa_output.pci-0000_06_00.6.HiFi__hw_Generic_1__sink")
status.register("pulseaudio",
format="♪D {volume}%",
format_muted="♪D -∞dB",
step="2",
sink="@DEFAULT_SINK@")
status.register("shell",
format="♪D {output}",
command="wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -d: -f2",
interval=1)
#status.register("shell",
# format="♪D {output}",
# command="wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -d: -f2",
# interval=1)
#status.register("shell",
# format="{output}",
# hints = {"markup": "pango"},
@ -93,11 +93,11 @@ status.register("shell",
on_leftclick="xinput enable 'SynPS/2 Synaptics TouchPad'",
on_rightclick="xinput disable 'SynPS/2 Synaptics TouchPad'")
#status.register("wifionice", wifi_adapters=['wlp3s0'])
#status.register("wifionice", wifi_adapters=['wlan0'])
status.register("wifionice",
hints = {"markup": "pango"},
url_on_click='https://travelynx.franzi.business/s/{last_station_no}?train={train_type}%20{train_no}',
wifi_adapters=['wlp2s0'],
wifi_adapters=['wlan0'],
format_offtrain='Wann wieder Zug?',
format_ontrain='{train_type} {train_no} [~ <span color="#999999">{speed}km/h</span> ]> {next_station}[ '
'<span color="#999999">\[{next_platform}\]</span> {arrival_time} '