aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2023-12-16 12:05:40 +0900
committerGitHub <noreply@github.com>2023-12-16 12:05:40 +0900
commitacaf626cc626da41969a1a2fc59556900ac12d19 (patch)
treead01741356dabd4b386619eaf5e3ae3fef0634f8 /config/hypr/scripts
parent88348f4a9f634c4a9ac4226124f202f3c6a404f8 (diff)
parentaa9a6ebfbb2f99f1301a1276dae3ea119a338ee9 (diff)
Merge pull request #74 from JaKooLit/Development
Development
Diffstat (limited to 'config/hypr/scripts')
-rwxr-xr-xconfig/hypr/scripts/AppAutoClose.sh23
1 files changed, 0 insertions, 23 deletions
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage