From 10f444b088270bfa50d4ea7d6470c87cfc6cefd6 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Wed, 30 Apr 2025 10:12:21 +0200 Subject: [PATCH] Better hyprland --- hypr/hyprland.conf | 1 + hypr/hyprscript | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 194a475..1d209e9 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -155,6 +155,7 @@ windowrule = noborder, class:negative:Alacritty dwindle { pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # You probably want this + force_split = 2 # split to the right / bottom } # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more diff --git a/hypr/hyprscript b/hypr/hyprscript index 99e2235..e142ce5 100755 --- a/hypr/hyprscript +++ b/hypr/hyprscript @@ -181,7 +181,7 @@ def monitor_stats(): battery_class = None battery_json = f', "class": "{battery_class}"' if battery_class else '' - battery_json = '{"text": "' + battery_icon + ' ' + "% 3.0f"%battery.percent + '%"' + battery_json + '}' + battery_json = '{"text": "' + battery_icon + ' ' + "% 4.0f"%battery.percent + '%"' + battery_json + '}' with open('.stat.txt', 'w') as f: f.write(