From 393c9b31a4e2988a2a8dbdb9c9f30270ff7c110f Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 1 Mar 2024 20:34:59 +0100 Subject: [PATCH] Auto-commit kunsi-p14s.kunbox.net 2024-03-01 20:34:58 --- .bin/trackpoint-settings.sh | 3 +-- .config/fish/config.fish | 6 +++--- .config/i3pystatus/config.py | 32 ++++++++++++++++---------------- .ssh/config | 4 ++++ 4 files changed, 24 insertions(+), 21 deletions(-) diff --git a/.bin/trackpoint-settings.sh b/.bin/trackpoint-settings.sh index cd174f7..9955b56 100755 --- a/.bin/trackpoint-settings.sh +++ b/.bin/trackpoint-settings.sh @@ -1,4 +1,3 @@ #!/bin/sh -echo -n 255 > /sys/devices/platform/i8042/serio1/serio2/sensitivity -echo -n 200 > /sys/devices/platform/i8042/serio1/serio2/speed +xinput set-prop 'TPPS/2 Elan TrackPoint' 321 0.7 diff --git a/.config/fish/config.fish b/.config/fish/config.fish index ad4ea94..53345eb 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -15,9 +15,9 @@ alias share-via-ssh='/home/kunsi/git/share-via-ssh/share-via-ssh' alias tmp='cd (mktemp -d -p /home/kunsi --suffix=.(date +%F))' alias v='vim -p' alias voc-ansible='/home/kunsi/.bin/voc-ansible' -alias voc2gui='cd /home/kunsi/git/voctomix/ && .venv/bin/python voctogui/voctogui.py' -alias weechat='mosh carlene -- tmux attach-session -d -t weechat-tmux' -alias wipa="watch -cn0.3 'ip --color=always -brief addr show; echo; ip --color=always route show; ip -6 --color=always route show'" +alias voc2gui='cd /home/kunsi/git/voctomix/ && voctogui/voctogui.py' +alias weechat='mosh carlene.kunbox.net -- tmux attach-session -d -t weechat-tmux' +alias wipa="watch -cn0.3 'ip --color=always -brief addr show; echo; ip --color=always route show; ip -6 --color=always route show; echo; echo; cat /etc/resolv.conf'" alias youtube-dl='yt-dlp --compat-options youtube-dl' alias lumos='mosquitto_pub -h 172.19.138.20 -t /switch/wohnzimmer/stehlampe/cmnd/POWER -m "ON"' diff --git a/.config/i3pystatus/config.py b/.config/i3pystatus/config.py index 77b44ef..f866938 100644 --- a/.config/i3pystatus/config.py +++ b/.config/i3pystatus/config.py @@ -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} [~ {speed}km/h ]> {next_station}[ ' '\[{next_platform}\] {arrival_time} ' diff --git a/.ssh/config b/.ssh/config index 3426cac..2581c06 100755 --- a/.ssh/config +++ b/.ssh/config @@ -5,6 +5,10 @@ Host * Include ~/.ssh/bwnodes +Host 172.19.138.95 + User of + + Host mixer191.lan.c3voc.de Hostname 10.73.191.1 Host encoder191.lan.c3voc.de