diff --git a/users/myuser/graphical/waybar.nix b/users/myuser/graphical/waybar.nix index 3573c16..063f7ab 100644 --- a/users/myuser/graphical/waybar.nix +++ b/users/myuser/graphical/waybar.nix @@ -7,7 +7,7 @@ enable = true; # Started via hyprland to ensure it restarts properly with hyprland systemd.enable = false; - style = builtins.readFile ./waybar-style.css; + style = ./waybar-style.css; settings.main = { layer = "top"; position = "bottom"; @@ -155,7 +155,7 @@ format = "{format_source}"; format-source = " {volume}%"; format-source-muted = " {volume}%"; - on-click = "${lib.getExe pkgs.helvum}"; + on-click = "${pkgs.hyprland}/bin/hyprctl dispatch exec \"[float]\" ${lib.getExe pkgs.helvum}"; on-click-middle = "${pkgs.wireplumber}/bin/wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 100%"; on-click-right = "${pkgs.wireplumber}/bin/wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; on-scroll-up = "${pkgs.wireplumber}/bin/wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 1%+"; @@ -170,7 +170,8 @@ }; clock = { - format = "{:%H:%M}"; + interval = 10; + format = "{:%H:%M:%S}"; format-alt = "{:%A, %B %d, %Y (%R)}"; tooltip-format = "{calendar}"; calendar = {