summaryrefslogtreecommitdiffstats
path: root/roles/hyprland
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-08 23:28:39 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-08 23:28:39 +0100
commitcf444228b10a4398638d330f1394e846c85f2abb (patch)
tree81df75d6b2b03e57ce0fc4934ef396e40ae61e7c /roles/hyprland
parent636353ce0e02db63dce14ea6be45da951db289b0 (diff)
Add waybar initial role with dependencies and configuration in hyprland
Diffstat (limited to 'roles/hyprland')
-rw-r--r--roles/hyprland/meta/main.yml1
-rw-r--r--roles/hyprland/templates/hyprland/autostart.conf.j21
-rw-r--r--roles/hyprland/templates/hyprland/rules.conf.j21
3 files changed, 3 insertions, 0 deletions
diff --git a/roles/hyprland/meta/main.yml b/roles/hyprland/meta/main.yml
index 5e1fbd39..15e323f2 100644
--- a/roles/hyprland/meta/main.yml
+++ b/roles/hyprland/meta/main.yml
@@ -7,6 +7,7 @@ dependencies:
- role: "mako"
- role: "pipewire"
- role: "brightnessctl"
+ - role: "waybar"
galaxy_info:
author: "a14m"
description: "Install hyprland"
diff --git a/roles/hyprland/templates/hyprland/autostart.conf.j2 b/roles/hyprland/templates/hyprland/autostart.conf.j2
index f0cd7213..bfd75e76 100644
--- a/roles/hyprland/templates/hyprland/autostart.conf.j2
+++ b/roles/hyprland/templates/hyprland/autostart.conf.j2
@@ -1 +1,2 @@
exec-once = uwsm-app -- mako
+exec-once = uwsm-app -- waybar
diff --git a/roles/hyprland/templates/hyprland/rules.conf.j2 b/roles/hyprland/templates/hyprland/rules.conf.j2
index bb75fc04..5d4be853 100644
--- a/roles/hyprland/templates/hyprland/rules.conf.j2
+++ b/roles/hyprland/templates/hyprland/rules.conf.j2
@@ -8,4 +8,5 @@ windowrule = center on, match:tag floating-window
windowrule = size 875 600, match:tag floating-window
windowrule = tag +floating-window, match:class (work.kartoffln.bluetui|work.kartoffln.btop|work.kartoffln.wlctl)
+windowrule = tag +floating-window, match:class (work.kartoffln.wiremix)
windowrule = float on, match:class org.gnome.Calculator