🔧 chore(misc): remove comments and changed order for recording

This commit is contained in:
Sergio Laín 2023-10-09 17:52:17 +02:00
parent 3a643a6b82
commit 1de0a71e99
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 1 additions and 2 deletions

View file

@ -5,7 +5,6 @@ readarray -t LINES <<<"$MONITOR_DATA"
CURRENT_MONITOR=""
# Recorrer las líneas y buscar el nombre y el estado enfocado
for LINE in "${LINES[@]}"; do
if [[ $LINE == *"Monitor"* ]]; then
CURRENT_MONITOR=$(echo $LINE | awk '{print $2}')

View file

@ -3,8 +3,8 @@
wf-recorder_check() {
if pgrep -x "wf-recorder" >/dev/null; then
pkill -INT -x wf-recorder
notify-send "Saved recording at " "$(cat /tmp/recording.txt)"
pkill -RTMIN+8 waybar
notify-send "Saved recording at " "$(cat /tmp/recording.txt)"
wl-copy <"$(cat /tmp/recording.txt)"
exit 0
fi