switched to river

This commit is contained in:
λmolinae 2025-08-12 23:01:17 -06:00
parent cef35c17b9
commit 292301ce60
204 changed files with 3513 additions and 965 deletions

View file

@ -2,10 +2,10 @@
# amolinae's recording tool
screencast(){
case $(printf "%s\n" "󰍬 Mic ON" "󰍭 Mic OFF" | fuzzel -d -l 3) in
"󰍬 Mic ON")
case $(printf "%s\n" "󰍬 Mic ON" "󰍭 Mic OFF" | mew) in
"󰍬 Mic ON")
wf-recorder -D -a -f ~/Videos/Recordings/recording_$(date +"%Y-%m-%d_%H:%M:%S.mp4") ;;
"󰍭 Mic OFF")
"󰍭 Mic OFF")
wf-recorder -D --audio="$(pactl list short sources | grep output | awk '{print $2}')" -f ~/Videos/Recordings/recording_$(date +"%Y-%m-%d_%H:%M:%S.mp4") ;;
esac
}
@ -21,10 +21,10 @@ kill(){
}
menu(){
case $(printf "%s\n" "󰻒 Screencast" "󰕧 Video only" "󰕨 Stop recording" | fuzzel -d -l 4) in
"󰻒 Screencast") screencast;;
"󰕧 Video only") video;;
"󰕨 Stop recording") kill;;
case $(printf "%s\n" "󰻒 Screencast" "󰕧 Video only" "󰕨 Stop recording" | mew) in
"󰻒 Screencast") screencast;;
"󰕧 Video only") video;;
"󰕨 Stop recording") kill;;
*) kill;;
esac
}