10 lines
221 B
Bash
Executable File
10 lines
221 B
Bash
Executable File
#!/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
|