From 1de0a71e99adfc63e88092752198761a70fbd8e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Mon, 9 Oct 2023 17:52:17 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(misc):=20remove=20comments?= =?UTF-8?q?=20and=20changed=20order=20for=20recording?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/hypr/scripts/focused_monitor | 1 - .config/hypr/scripts/rofi/recording | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/hypr/scripts/focused_monitor b/.config/hypr/scripts/focused_monitor index fddd8c1c..e3adb2fa 100755 --- a/.config/hypr/scripts/focused_monitor +++ b/.config/hypr/scripts/focused_monitor @@ -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}') diff --git a/.config/hypr/scripts/rofi/recording b/.config/hypr/scripts/rofi/recording index c33b2aca..12d43e3c 100755 --- a/.config/hypr/scripts/rofi/recording +++ b/.config/hypr/scripts/rofi/recording @@ -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