From cea873563bc3816aeadc566716aa942b20436732 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 18 Apr 2024 20:04:33 -0400 Subject: [PATCH] waybar: add padding and margin for hyprland submap module --- homeManagerModules/apps/waybar/default.nix | 3 +++ homeManagerModules/apps/waybar/waybar.css | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/homeManagerModules/apps/waybar/default.nix b/homeManagerModules/apps/waybar/default.nix index 59349161..1efa9eb1 100644 --- a/homeManagerModules/apps/waybar/default.nix +++ b/homeManagerModules/apps/waybar/default.nix @@ -43,6 +43,9 @@ "active" = "󰪥"; }; }; + "hyprland/submap" = { + "on-click" = "${pkgs.hyprland}/bin/hyprctl dispatch submap reset"; + }; "hyprland/window" = { "format" = ""; "max-length" = 100; diff --git a/homeManagerModules/apps/waybar/waybar.css b/homeManagerModules/apps/waybar/waybar.css index 61476a21..670d3423 100644 --- a/homeManagerModules/apps/waybar/waybar.css +++ b/homeManagerModules/apps/waybar/waybar.css @@ -21,6 +21,11 @@ window#waybar { color: #ca9ee6; } +#submap { + padding: 0 15px; + margin: 0 5px; +} + #tags button { padding: 0px 5px; margin: 0 0px;