misc: more configuration on looks and slight improvements

This commit is contained in:
Fabio Lenherr 2022-09-02 01:29:10 +02:00
parent 89af4e3b36
commit 07b5b7dc15
No known key found for this signature in database
GPG key ID: 868FFD689D878939
5 changed files with 101 additions and 72 deletions

View file

@ -1,7 +1,7 @@
#!/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\"))"
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