From 01d3f9d6d74bba8620d3d4998b8371eb35848ae8 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 11 May 2024 00:58:33 -0400 Subject: [PATCH] waybar: improve spacing in waybar scratchpad --- homeManagerModules/apps/vsCodium/default.nix | 10 ++++++++-- homeManagerModules/apps/waybar/default.nix | 2 +- homeManagerModules/desktop/sway/default.nix | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/homeManagerModules/apps/vsCodium/default.nix b/homeManagerModules/apps/vsCodium/default.nix index c9ffeedd..540487ac 100644 --- a/homeManagerModules/apps/vsCodium/default.nix +++ b/homeManagerModules/apps/vsCodium/default.nix @@ -28,8 +28,14 @@ "update.mode" = "none"; "window.menuBarVisibility" = "hidden"; "window.zoomPerWindow" = false; - "workbench.colorTheme" = if config.alyraffauf.desktop.theme.colors.preferDark then "Catppuccin Macchiato" else "Catppuccin Latte"; - "workbench.iconTheme" = if config.alyraffauf.desktop.theme.colors.preferDark then "catppuccin-macchiato" else "catppuccin-latte"; + "workbench.colorTheme" = + if config.alyraffauf.desktop.theme.colors.preferDark + then "Catppuccin Macchiato" + else "Catppuccin Latte"; + "workbench.iconTheme" = + if config.alyraffauf.desktop.theme.colors.preferDark + then "catppuccin-macchiato" + else "catppuccin-latte"; "workbench.preferredDarkColorTheme" = "Catppuccin Macchiato"; "workbench.preferredLightColorTheme" = "Catppuccin Latte"; }; diff --git a/homeManagerModules/apps/waybar/default.nix b/homeManagerModules/apps/waybar/default.nix index 739448e6..2e9ceb2a 100644 --- a/homeManagerModules/apps/waybar/default.nix +++ b/homeManagerModules/apps/waybar/default.nix @@ -157,7 +157,7 @@ "max-length" = 100; }; "sway/scratchpad" = { - "format" = "{icon} {count}"; + "format" = "{icon} {count}"; "show-empty" = false; "format-icons" = ["" ""]; "tooltip" = true; diff --git a/homeManagerModules/desktop/sway/default.nix b/homeManagerModules/desktop/sway/default.nix index a2689df8..efaf4a70 100644 --- a/homeManagerModules/desktop/sway/default.nix +++ b/homeManagerModules/desktop/sway/default.nix @@ -39,7 +39,7 @@ programs.waybar = { settings = { mainBar = { - modules-left = ["sway/workspaces" "sway/scratchpad" "sway/mode" ]; + modules-left = ["sway/workspaces" "sway/scratchpad" "sway/mode"]; }; }; };