diff options
Diffstat (limited to '.shenanigans.sh')
| -rwxr-xr-x | .shenanigans.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.shenanigans.sh b/.shenanigans.sh index eb06db7..5f42099 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh | |||
| @@ -83,3 +83,11 @@ backup() { | |||
| 83 | screenrecord() { | 83 | screenrecord() { |
| 84 | ffmpeg -f x11grab -s 3840x2560 -i :0.0 -r 60 -vcodec h264_nvenc -preset fast ~/Videos/$(date +%Y-%m-%d-%H-%M-%S).mp4 | 84 | ffmpeg -f x11grab -s 3840x2560 -i :0.0 -r 60 -vcodec h264_nvenc -preset fast ~/Videos/$(date +%Y-%m-%d-%H-%M-%S).mp4 |
| 85 | } | 85 | } |
| 86 | |||
| 87 | mic_status() { | ||
| 88 | if pactl get-source-mute @DEFAULT_SOURCE@ | grep -q "no"; then | ||
| 89 | echo "\${color green}active\${color}" | ||
| 90 | else | ||
| 91 | echo "\${color orange}muted\${color}" | ||
| 92 | fi | ||
| 93 | } | ||
