summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-08-14 14:02:31 +0200
committersils <sils@sils.li>2023-08-14 14:02:31 +0200
commitb21bcdcebbf6cfe72bcfdcad98ab720d46c179e8 (patch)
tree9db5fdf24c9cfffc0a521c8648f2ed0c2c7e2ce2
parentFix(u/sils/swayidle): Start with hyprland (diff)
downloadnix-config-b21bcdcebbf6cfe72bcfdcad98ab720d46c179e8.tar.gz
nix-config-b21bcdcebbf6cfe72bcfdcad98ab720d46c179e8.zip
Fix(u/sils/waybar): Add battery and time information
Diffstat (limited to '')
-rw-r--r--users/sils/waybar/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/users/sils/waybar/default.nix b/users/sils/waybar/default.nix
index d227451..89d038c 100644
--- a/users/sils/waybar/default.nix
+++ b/users/sils/waybar/default.nix
@@ -20,13 +20,21 @@
         modules-center = [
           "hyprland/window"
         ];
-        #modules-right = [];
+        modules-right = [
+          "battery"
+          "clock"
+        ];
         "wlr/workspaces" = {
           "format" = "{icon}";
           "on-scroll-up" = "${pkgs.hyprland}/bin/hyprctl dispatch workspace e+1";
           "on-scroll-down" = "${pkgs.hyprland}/bin/hyprctl dispatch workspace e-1";
           "on-click" = "activate";
         };
+        "clock" = {
+          "timezone" = "Europe/Berlin";
+          "tooltip-format" = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
+          "format-alt" = "{:%Y-%m-%d}";
+        };
       }
     ];
     systemd = {