aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/waybar/module/network.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-25 13:15:12 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-25 13:15:12 +0530
commit282a085718b6cba16913771a80256040351d1746 (patch)
tree5eff9995c4f29b64c4880e104d998537f1cde896 /modules/desktop/waybar/module/network.nix
parent892b62a3129a6ae30fa6b039e3f88d370d418319 (diff)
downloadhome-manager-config-282a085718b6cba16913771a80256040351d1746.tar.gz
home-manager-config-282a085718b6cba16913771a80256040351d1746.zip
feat(waybar): add waybar module, refine hyprland config, add private configs
- Add waybar with base16-themed bar, modules (workspaces, window, volume, battery, network, vpn, cpu, memory, date, time), and CSS style - Replace polybar with waybar in desktop imports - Launch waybar + hyprpaper on hyprland startup - Extract hyprpaper into its own module with eDP-2 output target - Tweak border colors (active: base07→base03, inactive: base03→base00) - Enable Nordzy cursor theme with hyprcursor support - Add private email (neomutt) and git (signing key) configs - Remove chromium force-device-scale-factor flag - Drop explicit desktop.hyprland.enable from user config - Add result to gitignore
Diffstat (limited to 'modules/desktop/waybar/module/network.nix')
-rw-r--r--modules/desktop/waybar/module/network.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/desktop/waybar/module/network.nix b/modules/desktop/waybar/module/network.nix
new file mode 100644
index 0000000..e1036ed
--- /dev/null
+++ b/modules/desktop/waybar/module/network.nix
@@ -0,0 +1,16 @@
+{ config }:
+with config.scheme.withHashtag;
+{
+ format-wifi = "{icon} {signalStrength}%";
+ format-ethernet = " {ipaddr}";
+ format-disconnected = "";
+ tooltip-format = "{ifname}";
+ tooltip-format-wifi = "{essid} ({signalStrength}%)";
+ tooltip-format-ethernet = "Wired: {ipaddr}";
+ tooltip-format-disconnected = "Disconnected";
+ format-icons = [
+ "󰢼"
+ "󰢽"
+ "󰢾"
+ ];
+}