mirror of https://codeberg.org/anemofilia/zero
radio: files: senpai: Fix on-highlight script
parent
01527be1d0
commit
fdcb39f3ed
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env -S fish
|
||||
|
||||
function escape
|
||||
printf "%s" "$1" | string replace '\\' '\\\\'
|
||||
end
|
||||
|
||||
notify-send --urgency=normal --expire-time=0 --category=Mail "[$BUFFER] $SENDER" "$(escape "$MESSAGE")"
|
||||
|
||||
mpv ~/.guix-home/profile/share/sounds/freedesktop/stereo/message.oga
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
#!/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
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
read -p 'senpai password: '
|
|
@ -3,7 +3,7 @@ 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
|
||||
on-highlight-path /home/radio/.config/senpai/scripts/on-highlight.fish
|
||||
tls true
|
||||
typings false
|
||||
mouse true
|
||||
|
|
|
@ -26,7 +26,8 @@
|
|||
#:use-module (gnu packages imagemagick)
|
||||
#:use-module (gnu packages image-viewers)
|
||||
#:use-module (gnu packages irc)
|
||||
#|L|# #:use-module (gnu packages linux)
|
||||
#|L|# #:use-module (gnu packages libcanberra)
|
||||
#:use-module (gnu packages linux)
|
||||
#|M|# #:use-module (gnu packages maths)
|
||||
#:use-module (gnu packages mail)
|
||||
#:use-module (gnu packages messaging)
|
||||
|
@ -114,6 +115,7 @@
|
|||
xdg-terminal-exec
|
||||
#|glib |# dbus
|
||||
#|image |# grim slurp
|
||||
#|libcanberra|# sound-theme-freedesktop
|
||||
#|terminals |# foot
|
||||
#|toys |# wayneko
|
||||
#|wm |# fnott rivercarro swww waybar
|
||||
|
|
Loading…
Reference in New Issue