diff --git a/hyprfreeze b/hyprfreeze index b0b762b..86e4234 100644 --- a/hyprfreeze +++ b/hyprfreeze @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash PID=$(hyprctl activewindow | grep -i pid | awk -F "pid: " '{ print $2 }' | awk -F "," '{ print $1 }') PIDS=$(pstree $PID -npl | grep -oP '(?<=\()[0-9]+(?=\))')