From b21bcdcebbf6cfe72bcfdcad98ab720d46c179e8 Mon Sep 17 00:00:00 2001 From: sils Date: Mon, 14 Aug 2023 14:02:31 +0200 Subject: Fix(u/sils/waybar): Add battery and time information --- users/sils/waybar/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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" = "{:%Y %B}\n{calendar}"; + "format-alt" = "{:%Y-%m-%d}"; + }; } ]; systemd = { -- cgit 1.4.1