]> Freerunner's - dotfiles.git/commitdiff
hypr: re-add hyprbars
authorAndre Ramnitz <andre.ramnitz@mail.de>
Thu, 13 Aug 2026 17:32:35 +0000 (19:32 +0200)
committerAndre Ramnitz <andre.ramnitz@mail.de>
Thu, 13 Aug 2026 17:32:35 +0000 (19:32 +0200)
dot-config/hypr/fragments/windowrules.lua
dot-config/hypr/hyprland.lua

index 47309c133c66ead33a3c3947268ef1d321f0ff1a..3a4a594a9ec7fc430ee7d9b103fc8e9a2d40b0af 100644 (file)
@@ -6,26 +6,22 @@
 -- ~/.config/hypr/fragments/windowrules.lua
 
 -- hide hyprbars on non-floating windows
--- hl.window_rule({
---     name = "nobar1",
---     match = {
---         float = false,
---     },
---     hyprbars = {
---         no_bar = true,
---     },
--- })
+hl.window_rule({
+    name = "nobar1",
+    match = {
+        float = false,
+    },
+    ["hyprbars:no_bar"] = true
+})
 
 -- hide hyprbars on specific windows
--- hl.window_rule({
---     name = "nobar2",
---     match = {
---         class = "^((steam|io.github.ilya_zlobintsev.LACT).*)$",
---     },
---     hyprbars = {
---         no_bar = true,
---     },
--- })
+hl.window_rule({
+    name = "nobar2",
+    match = {
+        class = "^((org.kde.*|steam|io.github.ilya_zlobintsev.LACT).*)$",
+    },
+    ["hyprbars:no_bar"] = true
+})
 
 hl.window_rule({
     name = "floating_enable",
index cea9ecdf3bb5a9d133cd5cb61107b6e56ead216b..9f1ed543124ca3fad4ca862e514cefe3f48cab4b 100644 (file)
@@ -45,13 +45,13 @@ local menu        = "qs -c noctalia-shell ipc call launcher toggle"
 -- Or execute your favorite apps at launch like this:
 
 hl.on("hyprland.start", function ()
+  hl.exec_cmd("hyprpm reload")
   hl.exec_cmd("/usr/libexec/pam_kwallet_init")
   hl.exec_cmd("gmenudbusmenuproxy")
   hl.exec_cmd("env XDG_MENU_PREFIX=plasma- kbuildsycoca6 --noincremental")
   hl.exec_cmd("openrc -U desktop")
   hl.exec_cmd("~/.local/bin/run_after_noctalia.sh")
   -- hl.exec_cmd("hyprctl plugin load /usr/lib/hyprland-plugins/dynamic-cursors.so")
-  -- hl.exec_cmd("hyprctl plugin load /usr/lib/hyprland-plugins/hyprbars.so")
 end)
 
 hl.on("hyprland.shutdown", function()
@@ -206,7 +206,7 @@ hl.config({
             font_weight_inactive = "medium",
             -- text_color = "0xffefefef",
             -- text_color_inactive = "0xff6f6f6f",
-            height = 12,
+            height = 16,
             scrolling = true,
             indicator_gap = 2,
             indicator_height = 0,