-- ~/.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",
-- 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()
font_weight_inactive = "medium",
-- text_color = "0xffefefef",
-- text_color_inactive = "0xff6f6f6f",
- height = 12,
+ height = 16,
scrolling = true,
indicator_gap = 2,
indicator_height = 0,