diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-09-29 08:07:37 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-09-29 08:07:37 +0200 |
| commit | 8e89fbedde2d647e5db7d8d57eb4deb98e0a3a7e (patch) | |
| tree | 585d2254a27fec06dfe8d7c0d612a70c315b25e2 /.shenanigans.sh | |
| parent | f4140eb56d44bb85e2ccc445749b562de4ca766b (diff) | |
| download | dotfiles-8e89fbedde2d647e5db7d8d57eb4deb98e0a3a7e.tar.gz | |
Update
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 | } | ||
