diff --git a/settings/hyprland.nix b/settings/hyprland.nix
index c5c7b51..45bc826 100644
--- a/settings/hyprland.nix
+++ b/settings/hyprland.nix
@@ -33,7 +33,6 @@
environment.systemPackages = with pkgs; [
ghostty
- waybar
fuzzel
mako
grim
@@ -234,6 +233,114 @@
wallpaper = ,${config.home.homeDirectory}/.local/share/backgrounds/wallpaper.png
splash = false
'';
+
+ programs.waybar = {
+ enable = true;
+
+ settings.mainBar = {
+ layer = "top";
+ position = "top";
+ height = 30;
+ spacing = 6;
+
+ modules-left = [ "hyprland/workspaces" ];
+ modules-center = [ "clock" ];
+ modules-right = [ "pulseaudio" "network" "tray" ];
+
+ "hyprland/workspaces" = {
+ format = "{name}";
+ on-click = "activate";
+ sort-by-number = true;
+ };
+
+ clock = {
+ format = "{:%H:%M}";
+ tooltip-format = "{:%A, %d %B %Y}\n{calendar}";
+ };
+
+ pulseaudio = {
+ format = "{icon} {volume}%";
+ format-muted = " muted";
+ format-icons = {
+ default = [ "" "" "" ];
+ headphone = "";
+ headset = "";
+ };
+ on-click = "pavucontrol";
+ scroll-step = 5;
+ };
+
+ network = {
+ format-wifi = " {essid}";
+ format-ethernet = "";
+ format-disconnected = "";
+ tooltip-format = "{ifname}";
+ on-click = "nm-connection-editor";
+ };
+
+ tray = {
+ icon-size = 16;
+ spacing = 8;
+ };
+ };
+
+ style = ''
+ * {
+ font-family: "FiraMono Nerd Font", monospace;
+ font-size: 13px;
+ min-height: 0;
+ border: none;
+ border-radius: 0;
+ }
+
+ window#waybar {
+ background: rgba(20, 20, 20, 0.82);
+ color: #e8e8e8;
+ }
+
+ #workspaces {
+ margin-left: 6px;
+ }
+
+ #workspaces button {
+ padding: 0 8px;
+ color: #6e6e6e;
+ background: transparent;
+ }
+
+ #workspaces button.active {
+ color: #ffffff;
+ }
+
+ #workspaces button:hover {
+ background: rgba(255, 255, 255, 0.06);
+ color: #ffffff;
+ box-shadow: none;
+ text-shadow: none;
+ }
+
+ #clock {
+ color: #ffffff;
+ font-weight: 500;
+ }
+
+ #pulseaudio,
+ #network,
+ #tray {
+ padding: 0 10px;
+ color: #e8e8e8;
+ }
+
+ #pulseaudio.muted,
+ #network.disconnected {
+ color: #6e6e6e;
+ }
+
+ #tray {
+ margin-right: 6px;
+ }
+ '';
+ };
};
};
}