diff --git a/home.nix b/home.nix index e2def7a..154518c 100644 --- a/home.nix +++ b/home.nix @@ -540,7 +540,7 @@ position = "left"; width = 45; spacing = 8; - modules-left = [ "wlr/workspaces" ]; + modules-left = [ "wlr/workspaces" "custom/new-workspace" ]; modules-center = [ "hyprland/window" ]; modules-right = [ "tray" "wireplumber" "backlight" "battery" "clock" ]; @@ -572,6 +572,10 @@ "format" = "{icon}"; "format-icons" = ["" ""]; }; + "custom/new-workspace" = { + "format" = "+"; + "on-click" = "hyprctl dispatch workspace empty && rofi -show drun"; + }; }; }; style = lib.mkForce '' @@ -632,6 +636,13 @@ font-size: 24px; } + #custom-new-workspace { + font-family: "Font Awesome 6 Free Solid"; + padding-top: 8px; + padding-bottom: 8px; + color: alpha(@base0A, 0.67); + } + #clock { font-size: 18px; font-weight: bold;