diff options
author | zachir <zachir@librem.one> | 2023-02-26 13:25:34 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-02-26 13:25:34 -0600 |
commit | 05a7db83bed77fc1d9a39b901123a9409bf726df (patch) | |
tree | d282e5abcd7983967684237555f8a16faf78168d /spqpwg |
add scratchpads (for Hyprland)
Diffstat (limited to 'spqpwg')
-rwxr-xr-x | spqpwg | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#!/bin/sh + +COUNT="$(pgrep -U "$(whoami)" -f qpwgraph | wc -l)" +echo "$COUNT" + +if [ "${COUNT:-0}" -eq "0" ]; then + exec qpwgraph +fi |