mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-18 16:26:50 +00:00
feat: Add Senpai configuration files and highlight script.
- Add new files and configuration settings for Senpai prox.lunax.cloud - Include a shell script to highlight notifications in Senpai configuration - Update omitted file changes not shown in diff summary
This commit is contained in:
parent
d4e183a5ef
commit
ca5c32ca63
2 changed files with 32 additions and 0 deletions
17
config/senpai/highlight
Normal file
17
config/senpai/highlight
Normal file
|
@ -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
|
15
config/senpai/senpai.scfg
Normal file
15
config/senpai/senpai.scfg
Normal file
|
@ -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"
|
||||
}
|
Loading…
Add table
Reference in a new issue