diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-26 02:26:24 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-26 02:26:24 +0530 |
| commit | 76e8ba8527b9300ba3b15f18dc6b683e56a9dc47 (patch) | |
| tree | 4b62a3dff953f292c167abbb556d10bb1f5653ad /modules/desktop/waybar/module/workspaces.nix | |
| parent | 8c13757c6d6c503774d833507f281eaa499b3bd9 (diff) | |
| download | home-manager-config-76e8ba8527b9300ba3b15f18dc6b683e56a9dc47.tar.gz home-manager-config-76e8ba8527b9300ba3b15f18dc6b683e56a9dc47.zip | |
feat: configure Wayland scaling, switch to scrolling layout, polish theme
- 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
Diffstat (limited to 'modules/desktop/waybar/module/workspaces.nix')
| -rw-r--r-- | modules/desktop/waybar/module/workspaces.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/desktop/waybar/module/workspaces.nix b/modules/desktop/waybar/module/workspaces.nix index a16b9e5..c8a99c2 100644 --- a/modules/desktop/waybar/module/workspaces.nix +++ b/modules/desktop/waybar/module/workspaces.nix @@ -1,9 +1,13 @@ -{ config, lib }: +{ + config, + lib, + mkIcon, +}: with config.scheme.withHashtag; let mkWindowRewrite = enable: color: icon: - lib.mkIf enable "<span font_size='150%' color='${color}'>${icon}</span>"; + lib.mkIf enable (mkIcon color icon); in { format = "{windows} <span rise='-3000' font_size='small'>{id}</span>"; |
