diff --git a/hosts/battleship/home.nix b/hosts/battleship/home.nix index ed281b4..7138f22 100644 --- a/hosts/battleship/home.nix +++ b/hosts/battleship/home.nix @@ -13,146 +13,5 @@ "$MONITOR-1" = lib.mkForce "HDMI-A-1"; "$MONITOR-2" = lib.mkForce "DVI-D-1"; }; - - programs.waybar.settings = let - layer = "top"; - position = "top"; - - height = 25; - spacing = 5; - - margin-top = 5; - margin-x = 10; - margin-right = margin-x; - margin-left = margin-x; - in { - main = { - inherit - layer - position - height - spacing - margin-top - margin-right - margin-left - ; - - output = [hyprcfg."$MONITOR-1"]; - - modules-left = [ - "hyprland/workspaces" - ]; - - "hyprland/workspaces" = { - active-only = false; - persistent-workspaces = { - "${hyprcfg."$MONITOR-1"}" = [1 2 3 4 5]; - }; - format = "{icon}"; - format-icons = { - default = ""; - active = ""; - }; - }; - - modules-center = [ - "hyprland/window" - ]; - - "hyprland/window" = { - format = "{title}"; - }; - - modules-right = [ - "clock" - "pulseaudio" - ]; - - "clock" = { - format = "󰥔 {:%d  %R}"; - format-alt = "{:%B %d, 12.0%y (%A)}"; - tooltip-format = "{calendar}"; - calendar = { - mode = "year"; - mode-mon-col = 3; - weeks-pos = "left"; - on-scroll = 1; - format = with config.lib.stylix.colors.withHashtag; { - months = "{}"; - days = "{}"; - weeks = "W{}"; - weeksdays = "{}"; - today = "{}"; - }; - }; - }; - - "pulseaudio" = { - format = "{icon} {volume}%"; - format-muted = ""; - format-icons = { - default = ["" ""]; - }; - onclick = "${lib.getExe pkgs.pwvucontrol}"; - }; - }; - secondary = { - inherit - layer - position - height - spacing - margin-top - margin-right - margin-left - ; - - output = [hyprcfg."$MONITOR-2"]; - - modules-left = [ - "cpu" - "memory" - "disk" - ]; - - "cpu" = { - format = " {usage}%"; - }; - - "memory" = { - format = " {percentage}%"; - }; - - "disk" = { - interval = 30; - format = "󰨣 {specific_free:0.2f}"; - unit = "GB"; - }; - - modules-center = [ - "hyprland/window" - ]; - - "hyprland/window" = { - format = "{title}"; - }; - - modules-right = [ - "hyprland/workspaces" - ]; - - "hyprland/workspaces" = { - active-only = false; - persistent-workspaces = { - "${hyprcfg."$MONITOR-2"}" = [6 7 8 9 10]; - }; - format = "{icon}"; - format-icons = { - default = ""; - active = ""; - }; - }; - }; - }; }; }