mirror of
https://github.com/hydroxycarbamide/dotfiles.git
synced 2025-05-07 13:29:08 -04:00
Update personal config
This commit is contained in:
parent
a29790fbdd
commit
45f5f41399
9 changed files with 74 additions and 30 deletions
18
dot_config/waybar/modules/executable_window.nu
Normal file
18
dot_config/waybar/modules/executable_window.nu
Normal 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
|
||||
)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue