summaryrefslogtreecommitdiff
path: root/home/desktop/sway.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2025-10-11 12:37:40 -0600
committerAlejandro Soto <alejandro@34project.org>2025-10-11 12:45:21 -0600
commit28d174b485e793c1cb03600ab9a3bfb9c76cf597 (patch)
tree71bfce640bc7e3bcc962dd918d185f444d086b52 /home/desktop/sway.nix
parente6ec95df762912b9716e1c6b5ddcbad7ea813332 (diff)
home/desktop: switch to the trivionomicon's waybar module
Diffstat (limited to 'home/desktop/sway.nix')
-rw-r--r--home/desktop/sway.nix13
1 files changed, 11 insertions, 2 deletions
diff --git a/home/desktop/sway.nix b/home/desktop/sway.nix
index d363e11..40fd83a 100644
--- a/home/desktop/sway.nix
+++ b/home/desktop/sway.nix
@@ -8,13 +8,22 @@ with lib; let
cfg = config.local.desktop;
in {
config = mkIf cfg.enable {
+ local = {
+ waybar = {
+ enable = true;
+
+ battery = cfg.portable;
+
+ fontSize = "24px";
+ fontFamily = "Hack Nerd Font";
+ };
+ };
+
home.packages = [
pkgs.wlr-randr
];
programs = {
- waybar.enable = true;
-
wofi.enable = true;
};