diff --git a/modules/home.nix b/modules/home.nix index 95fc0fe..40f26b8 100644 --- a/modules/home.nix +++ b/modules/home.nix @@ -655,15 +655,37 @@ in position = "top"; height = 28; modules-left = [ "hyprland/workspaces" ]; - modules-center = [ "clock" ]; - modules-right = [ "pulseaudio" "network" "battery" ]; + modules-center = [ "hyprland/window" ]; + modules-right = [ "pulseaudio" "network" "battery" "clock" ]; "hyprland/workspaces" = { format = "{id}"; }; + "hyprland/window" = { + format = "{title}"; + max-length = 100; + separate-outputs = true; + }; + clock = { format = "{:%H:%M %a %d %b}"; + tooltip-format = "{calendar}"; + calendar = { + mode = "month"; + mode-mon-col = 3; + weeks-pos = "left"; + format = { + months = "{}"; + weekdays = "{}"; + days = "{}"; + today = "{}"; + weeks = "W{:%V}"; + }; + }; + actions = { + on-click-right = "mode"; + }; }; pulseaudio = { @@ -703,9 +725,23 @@ in background: #222222; color: #bbbbbb; } - #pulseaudio, #network, #battery { + #pulseaudio, #network, #battery, #clock { padding: 0 12px; } + #window { + color: #ffffff; + } + tooltip { + background: #222222; + border: 1px solid #333333; + } + tooltip label { + font-size: 15px; + padding: 4px; + } + window#waybar.empty #window { + background: transparent; + } #battery.warning { color: #e5c07b; }