From 76e8ba8527b9300ba3b15f18dc6b683e56a9dc47 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sun, 26 Jul 2026 02:26:24 +0530 Subject: feat: configure Wayland scaling, switch to scrolling layout, polish theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Set GDK_SCALE, QT_SCALE_FACTOR, monitor scale=1, chromium --force-device-scale-factor=1.15 - Migrate dwindle → scrolling layout with column config and Equal key resize - Bump default font size to 18, cursor to 20, system-monitor font shift - Change gap_out to 10, border width to 1px, inactive border to base03 - Refactor waybar workspaces/network to use shared mkIcon helper - Toggle window close with SHIFT+Q, remove redundant file-explorer size rule - Thinner rofi borders, larger width, bigger icons, bold prompt color - Tidy waybar spacing: uniform margins, larger padding, resized workspace buttons - Enable xwayland force_zero_scaling --- modules/desktop/hyprland/default.nix | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) (limited to 'modules/desktop/hyprland/default.nix') diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index bea5c90..09f2639 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -39,6 +39,8 @@ in QT_QPA_PLATFORM = "wayland;xcb"; SDL_VIDEODRIVER = "wayland"; CLUTTER_BACKEND = "wayland"; + GDK_SCALE = "1"; + QT_SCALE_FACTOR = "1"; AQ_DRM_DEVICES = if config.desktop.hardware.gpu.secondaryCard != null then @@ -71,6 +73,14 @@ in systemd.enable = true; settings = { + monitor = [ + { + output = ""; + mode = "preferred"; + position = "auto"; + scale = 1; + } + ]; mainMod = { _var = "SUPER"; }; @@ -78,16 +88,27 @@ in config = { general = with config.scheme.withHashtag; { gaps_in = 5; - gaps_out = 5; + gaps_out = 10; border_size = 1; col = { active_border = { colors = [ (toHyprColor base07) ]; angle = 45; }; - inactive_border = toHyprColor base00; + inactive_border = toHyprColor base03; }; - layout = "dwindle"; + layout = "scrolling"; + }; + + xwayland = { + force_zero_scaling = true; + }; + + scrolling = { + column_width = 0.5; + explicit_column_widths = "0.5, 1.0"; + focus_fit_method = 1; + follow_focus = true; }; debug = { @@ -131,11 +152,6 @@ in match.class = "^(file-explorer)$"; float = true; } - { - name = "size-file-explorer"; - match.class = "^(file-explorer)$"; - size = "1000 600"; - } { name = "center-file-explorer"; match.class = "^(file-explorer)$"; @@ -149,7 +165,7 @@ in enable = true; package = pkgs.rose-pine-hyprcursor; name = "rose-pine-hyprcursor"; - size = 18; + size = 20; hyprcursor.enable = true; gtk.enable = false; x11.enable = false; -- cgit v1.2.3