first Version
This commit is contained in:
commit
0c4bef47e8
149 changed files with 32273 additions and 0 deletions
19
backup/eww/scripts/test.sh
Executable file
19
backup/eww/scripts/test.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
windows=()
|
||||
workspaces=()
|
||||
i=0
|
||||
while read -r k v; do
|
||||
windows[$i]="$k"
|
||||
i=$i+1
|
||||
workspaces[$i]="$v"
|
||||
done < <(hyprctl clients -j | jq -r '.[]|"\(.pid) \(.workspace.id)"')
|
||||
|
||||
for window in ${!windows[@]}; do
|
||||
echo $(ps -p ${windows[$window]} -o comm=)
|
||||
done
|
||||
|
||||
test=$(ps -p ${windows[5]} -o comm=)
|
||||
$(feh /usr/share/icons/Papirus-Dark/128x128/apps/${test}.svg)
|
Loading…
Add table
Add a link
Reference in a new issue