Update personal config

This commit is contained in:
Hydroxycarbamide 2024-08-15 16:30:44 +02:00
parent a29790fbdd
commit 45f5f41399
9 changed files with 74 additions and 30 deletions

View file

@ -0,0 +1,18 @@
#!/usr/bin/nu
let out = {
text: "",
tooltip: ""
}
loop {
sleep 1sec
let fw = niri msg -j focused-window | from json
print (
$out
| try { update text $fw.title | update tooltip $"($fw.title) | ($fw.app_id)" }
| to json -r
)
}