diff options
| author | Robert Günzler <r@gnzler.io> | 2022-02-09 00:35:54 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2022-02-09 00:35:54 +0100 |
| commit | 9e01aabbf3296925acaa51000da1a18aa3ecd920 (patch) | |
| tree | d4cfe28011d1a98f90b1c5b8edd3cee04ca2fab0 /.config/senpai | |
| parent | cf77221aea030dbb1b516b9e04f630236cfa0af1 (diff) | |
add senpai config
= irc client
Diffstat (limited to '.config/senpai')
| -rw-r--r-- | .config/senpai/highlight | 10 | ||||
| -rw-r--r-- | .config/senpai/senpai.scfg | 9 |
2 files changed, 19 insertions, 0 deletions
diff --git a/.config/senpai/highlight b/.config/senpai/highlight new file mode 100644 index 0000000..aaa2e43 --- /dev/null +++ b/.config/senpai/highlight @@ -0,0 +1,10 @@ +#!/bin/sh +escape() { + printf "%s" "$1" | sed 's#\\#\\\\#g' +} +# FOCUS=$(swaymsg -t get_tree | jq '..|objects|select(.focused==true)|.app_id' | grep -c senpai) +# if [ "$HERE" -eq 0 ] || [ "$FOCUS" -eq 0 ]; then +# notify-send "[$BUFFER] $SENDER" "$(escape "$MESSAGE")" +# fi +notify-send -a senpai -i "$(iconez -n message-reply-text-outline)" -c audible \ + "[$BUFFER] $SENDER" "$(escape "$MESSAGE")" diff --git a/.config/senpai/senpai.scfg b/.config/senpai/senpai.scfg new file mode 100644 index 0000000..042c58d --- /dev/null +++ b/.config/senpai/senpai.scfg @@ -0,0 +1,9 @@ +address chat.sr.ht + +username robertgzr@hibiki +nickname robertgzr +password-cmd pass show irc/chat.sr.ht + +pane-widths { + nicknames 12 +} |