diff --git a/homeManagerModules/apps/waybar/default.nix b/homeManagerModules/apps/waybar/default.nix index e32d677a..739448e6 100644 --- a/homeManagerModules/apps/waybar/default.nix +++ b/homeManagerModules/apps/waybar/default.nix @@ -84,11 +84,16 @@ #workspaces, #mode, #submap, + #scratchpad, #tray, #clock, #hardware { border-radius: 10; - background: rgba ${if config.alyraffauf.desktop.theme.colors.preferDark then "(35, 38, 52, 0.8);" else "(220, 224, 232, 0.8);"} + background: rgba ${ + if config.alyraffauf.desktop.theme.colors.preferDark + then "(35, 38, 52, 0.8);" + else "(220, 224, 232, 0.8);" + } margin: 5px 10px 0px 10px; padding: 0px 10px 0px 10px; } @@ -151,6 +156,13 @@ "sway/window" = { "max-length" = 100; }; + "sway/scratchpad" = { + "format" = "{icon} {count}"; + "show-empty" = false; + "format-icons" = ["" ""]; + "tooltip" = true; + "tooltip-format" = "{app}: {title}"; + }; "river/window" = { "max-length" = 100; }; diff --git a/homeManagerModules/desktop/sway/default.nix b/homeManagerModules/desktop/sway/default.nix index 208d64a8..a2689df8 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/mode"]; + modules-left = ["sway/workspaces" "sway/scratchpad" "sway/mode" ]; }; }; };