From cdf6ecbc63de591ab3e9ee838ce08ba85c16eba7 Mon Sep 17 00:00:00 2001 From: srdusr Date: Fri, 7 Feb 2025 17:09:21 +0200 Subject: Commented out general rules/window decoration setting since it's already defined in hyprland.conf --- .config/ags/lib/hyprland.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to '.config/ags') diff --git a/.config/ags/lib/hyprland.ts b/.config/ags/lib/hyprland.ts index b121ed7..7f6a68c 100644 --- a/.config/ags/lib/hyprland.ts +++ b/.config/ags/lib/hyprland.ts @@ -51,19 +51,19 @@ function sendBatch(batch: string[]) { async function setupHyprland() { const wm_gaps = Math.floor(hyprland.gaps.value * spacing.value) - sendBatch([ - `general:border_size ${width}`, - `general:gaps_out ${wm_gaps}`, - `general:gaps_in ${Math.floor(wm_gaps / 2)}`, - `general:col.active_border rgba(${activeBorder()}ff)`, - `general:col.inactive_border rgba(${hyprland.inactiveBorder.value})`, - `decoration:rounding ${radius}`, - `decoration:drop_shadow ${shadows.value ? "yes" : "no"}`, - `dwindle:no_gaps_when_only ${hyprland.gapsWhenOnly.value ? 0 : 1}`, - `master:no_gaps_when_only ${hyprland.gapsWhenOnly.value ? 0 : 1}`, - ]) + //sendBatch([ + // `general:border_size ${width}`, + // `general:gaps_out ${wm_gaps}`, + // `general:gaps_in ${Math.floor(wm_gaps / 2)}`, + // `general:col.active_border rgba(${activeBorder()}ff)`, + // `general:col.inactive_border rgba(${hyprland.inactiveBorder.value})`, + // `decoration:rounding ${radius}`, + // `decoration:drop_shadow ${shadows.value ? "yes" : "no"}`, + // `dwindle:no_gaps_when_only ${hyprland.gapsWhenOnly.value ? 0 : 1}`, + // `master:no_gaps_when_only ${hyprland.gapsWhenOnly.value ? 0 : 1}`, + //]) - await sendBatch(App.windows.map(({ name }) => `layerrule unset, ${name}`)) + //await sendBatch(App.windows.map(({ name }) => `layerrule unset, ${name}`)) if (blur.value > 0) { sendBatch(App.windows.flatMap(({ name }) => [ -- cgit v1.2.3