From 4e9d21e5e15f04bdee6f4283da3ac9018b5b25c6 Mon Sep 17 00:00:00 2001 From: Rosty Hnatyshyn Date: Mon, 10 Aug 2026 19:37:22 -0700 Subject: [PATCH] add float rule to screenshare dialog, change fs behavior, change size of borders --- hypr/hyprland.lua | 10 +++++----- hypr/rules.lua | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/hypr/hyprland.lua b/hypr/hyprland.lua index 419c5fc..f3ba324 100644 --- a/hypr/hyprland.lua +++ b/hypr/hyprland.lua @@ -101,7 +101,7 @@ hl.config({ gaps_in = 4, gaps_out = 5, - border_size = 1, + border_size = 2, col = { active_border = "rgba(0DB7D455)", @@ -123,7 +123,7 @@ hl.config({ inactive_opacity = 1.0, shadow = { - enabled = true, + enabled = false, range = 4, render_power = 3, color = 0xee1a1a1a, @@ -132,7 +132,7 @@ hl.config({ blur = { enabled = true, xray = true, - size = 3, + size = 6, passes = 1, vibrancy = 0.1696, }, @@ -224,7 +224,7 @@ hl.config({ -- See https://wiki.hypr.land/Configuring/Layouts/Scrolling-Layout/ for more hl.config({ scrolling = { - fullscreen_on_one_column = true, + fullscreen_on_one_column = false, }, }) @@ -268,7 +268,7 @@ hl.bind(mainMod .. " + E", hl.dsp.exec_cmd(fileManager)) hl.bind(mainMod .. " + M", hl.dsp.exec_cmd("command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch 'hl.dsp.exit()'")) hl.bind(mainMod .. " + SPACE", hl.dsp.window.float({ action = "toggle" })) -hl.bind(mainMod .. " + F", hl.dsp.window.fullscreen_state({ internal="1", client="1", action = "toggle"})) +hl.bind(mainMod .. " + F", hl.dsp.window.fullscreen_state({ internal="1", client="1", layout_aware=true, action = "toggle"})) hl.bind(mainMod .. " + SHIFT + Q", hl.dsp.window.close()) -- change focus diff --git a/hypr/rules.lua b/hypr/rules.lua index e25d479..2525eca 100644 --- a/hypr/rules.lua +++ b/hypr/rules.lua @@ -18,4 +18,5 @@ hl.window_rule({match = {title = "^(.*)(wants to save)$" }, flo hl.window_rule({match = {title = "^(.*)(wants to open)$" }, center = true}) hl.window_rule({match = {title = "^(.*)(wants to open)$" }, float = true}) +hl.window_rule({match = {class = "hyprland-share-picker" }, float = true}) hl.window_rule({match = {title = "(.*)(Settings)(.*)$" },float = true})