diff --git a/config/senpai/highlight b/config/senpai/highlight new file mode 100644 index 0000000..a072979 --- /dev/null +++ b/config/senpai/highlight @@ -0,0 +1,17 @@ +#!/bin/sh + +escape() { + printf "%s" "$1" | sed 's#\\#\\\\#g' +} + +if [ "$BUFFER" = "$SENDER" ]; then + title="[$BUFFER]" +else + title="[$BUFFER] $SENDER" +fi + +# focus=$(swaymsg -t get_tree | jq -r '..|objects|select(.focused==true)|.name' | grep -c ^senpai) + +#if [ "$focus" -eq 0 ] || [ "$HERE" -eq 0 ]; then + notify-send "$title" "$(escape "$MESSAGE")" +# fi diff --git a/config/senpai/senpai.scfg b/config/senpai/senpai.scfg new file mode 100644 index 0000000..c568617 --- /dev/null +++ b/config/senpai/senpai.scfg @@ -0,0 +1,15 @@ +# to be used with https://github.com/ptrcnull/kouhai +address prox.lunax.cloud:6667 +nickname lunax +username lunax +tls false +password-cmd secret-tool lookup irc lunax +typings false +pane-widths { + nicknames 0 + channels 24 + members 0 +} +colors { + unread "#00ffff" +}