🔧 chore(misc): remove comments and changed order for recording
This commit is contained in:
parent
3a643a6b82
commit
1de0a71e99
2 changed files with 1 additions and 2 deletions
|
@ -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}')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue