aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/waybar/module/network.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-26 02:26:24 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-26 02:26:24 +0530
commit76e8ba8527b9300ba3b15f18dc6b683e56a9dc47 (patch)
tree4b62a3dff953f292c167abbb556d10bb1f5653ad /modules/desktop/waybar/module/network.nix
parent8c13757c6d6c503774d833507f281eaa499b3bd9 (diff)
downloadhome-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/network.nix')
-rw-r--r--modules/desktop/waybar/module/network.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/desktop/waybar/module/network.nix b/modules/desktop/waybar/module/network.nix
index 7f0af4c..f20121f 100644
--- a/modules/desktop/waybar/module/network.nix
+++ b/modules/desktop/waybar/module/network.nix
@@ -2,12 +2,14 @@
with config.scheme.withHashtag;
let
iconColor = base0B;
+ downloadIcon = mkIcon base0F "󰁅";
+ uploadIcon = mkIcon base0F "󰁝";
in
{
interval = 2;
- format-wifi = "${mkIcon iconColor "{icon}"} 󰁅{bandwidthDownBytes} 󰁝{bandwidthUpBytes}";
- format-ethernet = "${mkIcon iconColor ""} 󰁅{bandwidthDownBytes} 󰁝{bandwidthUpBytes}";
+ format-wifi = "${mkIcon iconColor "{icon}"} ${downloadIcon}{bandwidthDownBytes} ${uploadIcon}{bandwidthUpBytes}";
+ format-ethernet = "${mkIcon iconColor ""} ${downloadIcon}{bandwidthDownBytes} ${uploadIcon}{bandwidthUpBytes}";
format-disconnected = "${mkIcon iconColor "󰤮"} Disconnected";
tooltip-format = "{ifname}";