mirror of
https://github.com/Zerodya/hyprfreeze.git
synced 2024-11-09 17:08:49 +01:00
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