From aa9a6ebfbb2f99f1301a1276dae3ea119a338ee9 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 16 Dec 2023 11:59:19 +0900 Subject: Major Rename of waybar configs and styles for easier user to understand Kitty - pywal color change disabled by default Execs.conf re-organized Auto wallpaper changed disabled by default --- config/hypr/scripts/AppAutoClose.sh | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 config/hypr/scripts/AppAutoClose.sh (limited to 'config/hypr/scripts/AppAutoClose.sh') diff --git a/config/hypr/scripts/AppAutoClose.sh b/config/hypr/scripts/AppAutoClose.sh deleted file mode 100755 index 32a6d735..00000000 --- a/config/hypr/scripts/AppAutoClose.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -# Variables: put the process names you want to auto close here. Make sure to add "" and inside the () -processes=("pavucontrol") - -# Loop through each process name -while true; do - active_window=$(hyprctl activewindow | grep class | awk '{print $2}') - - # Loop through each process name in the array - for process in "${processes[@]}"; do - if [ "$active_window" == "$process" ]; then - # If the active window matches the process, mark it as active - process_active=true - else - # If not, mark it as inactive and try to kill the process - process_active=false - pkill "$process" - fi - done - - sleep 5 -done -- cgit v1.2.3