made a basic active window widget

This commit is contained in:
mpuchstein
2025-03-05 21:20:08 +01:00
parent bf6adceda3
commit f56b59d459
3 changed files with 22 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
(deflisten activewindow :initial "..." "hyprman -f activewindow")
(defwidget active_window []
(box :class "activewindow"
:halign "center"
:valign "center"
{activewindow.data.window_class}))

View File

@@ -0,0 +1,12 @@
(deflisten events :initial ""
../scripts/hyprman)
(defvar workspaceIcons '{
"empty": "",
"full": "",
"focused": "󱓻"
}')
(defvar seperator " ")