diff --git a/home-environments/radio/files/.config/senpai/scripts/on-highlight.sh b/home-environments/radio/files/.config/senpai/scripts/on-highlight.sh new file mode 100755 index 0000000..ff3dea8 --- /dev/null +++ b/home-environments/radio/files/.config/senpai/scripts/on-highlight.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +escape() { + printf "%s" "$1" | sed 's#\#\\#g' +} + +notify-send --urgency=normal --expire-time=0 --category=Mail "[$BUFFER] $SENDER" "$(escape "$MESSAGE")" + +mpv ~/.guix-home/profile/share/sounds/freedesktop/stereo/complete.oga + diff --git a/home-environments/radio/files/.config/senpai/scripts/pass.sh b/home-environments/radio/files/.config/senpai/scripts/pass.sh new file mode 100755 index 0000000..4a998b2 --- /dev/null +++ b/home-environments/radio/files/.config/senpai/scripts/pass.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +read -p 'senpai password: ' diff --git a/home-environments/radio/files/.config/senpai/senpai.scfg b/home-environments/radio/files/.config/senpai/senpai.scfg new file mode 100644 index 0000000..4cf3c59 --- /dev/null +++ b/home-environments/radio/files/.config/senpai/senpai.scfg @@ -0,0 +1,13 @@ +address chat.sr.ht +nickname anemofilia +password-cmd pass show senpai/password +highlight anemofilia: anemofilia, radix saayix cargo2guix misako +channel "#coreboot" "#fossandcrafts" "#fsf" "#gnu" "#guix" "#guile" "#hurd" "#ibmthinkpad" "#kakoune" "#lisp" "#lobsters" "#scheme" "#spritely" "#savannah" "#whereiseveryone" +on-highlight-path /home/radio/.config/senpai/scripts/on-highlight.sh +tls true +typings false +mouse true +pane-widths { + nicknames 20 + channels 20 +}