feat: eww hypr alacritty and more

This commit is contained in:
Fabio Lenherr 2022-08-31 00:28:44 +02:00
parent 7fb4f9ee73
commit 99f7c60db7
No known key found for this signature in database
GPG key ID: 868FFD689D878939
431 changed files with 9853 additions and 23 deletions

9
eww/scripts/current_name Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
currentName() {
win=$(hyprctl activewindow | grep class | awk -F ':' '{print $2}' | tr -d ' ')
echo "(box :class \"module\" :space-evenly \"false\" :orientation \"h\" :spacing \"3\" (label :text \"$win\" :class \"clock_minute_class\"))"
}
currentName
tail -f /tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/hyprland.log | grep -E --line-buffered "focus to surface" | while read -r; do
currentName
done