chore: desktop variant
This commit is contained in:
parent
20deee09db
commit
a2011eab8c
51 changed files with 0 additions and 541 deletions
9
eww_desktop/scripts/current_name
Executable file
9
eww_desktop/scripts/current_name
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
currentName() {
|
||||
win=$(hyprctl activewindow | grep class | awk -F ':' '{print $2}' | tr -d ' ')
|
||||
echo "(box :class \"module_app_text\" :space-evenly \"false\" :orientation \"h\" :spacing \"3\" (label :text \"$win\"))"
|
||||
}
|
||||
currentName
|
||||
tail -f /tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/hyprland.log | grep -E --line-buffered "focus to surface" | while read -r; do
|
||||
currentName
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue