forked from GH-forks/hyprfreeze
Add support for NixOS
This commit is contained in:
parent
1833892648
commit
58987ea42f
1 changed files with 1 additions and 1 deletions
|
@ -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]+(?=\))')
|
||||
|
|
Loading…
Reference in a new issue