Touch ups and additional capabilities added to fifo functionality. Sample Fenrir scripts in extra

This commit is contained in:
Storm Dragon
2026-09-06 17:55:21 -04:00
parent 4ef8553c7d
commit 6817ecd90b
7 changed files with 75 additions and 37 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Script for fenrir
# Replace USER with your user name
fifoPath=/home/USER/.config/barnard/cmd
[[ -p $fifoPath ]] || exit 0
printf '%s\n' talk | timeout 1s sudo -u USER tee "$fifoPath" &> /dev/null
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Script for fenrir
# Replace USER with your user name
fifoPath=/home/USER/.config/barnard/cmd
[[ -p $fifoPath ]] || exit 0
printf '%s\n' deafen | timeout 1s sudo -u USER tee "$fifoPath" &> /dev/null
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Script for fenrir
# Replace USER with your user name
fifoPath=/home/USER/.config/barnard/cmd
[[ -p $fifoPath ]] || exit 0
printf '%s\n' status | timeout 1s sudo -u USER tee "$fifoPath" &> /dev/null