Touch ups and additional capabilities added to fifo functionality. Sample Fenrir scripts in extra
This commit is contained in:
Executable
+9
@@ -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
|
||||
Executable
+9
@@ -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
|
||||
Executable
+9
@@ -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
|
||||
Reference in New Issue
Block a user