From 3d4577044ee400fc26b0d36ee90d562cf37e969c Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 1 Apr 2025 16:24:06 +1100 Subject: launcher: add round style --- src/config/defaults.ts | 3 ++- src/config/types.ts | 1 + src/modules/launcher/actions.tsx | 4 ++-- src/modules/launcher/index.tsx | 9 +++++++-- src/modules/launcher/modes.tsx | 2 +- 5 files changed, 13 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/config/defaults.ts b/src/config/defaults.ts index 5365d86..e933050 100644 --- a/src/config/defaults.ts +++ b/src/config/defaults.ts @@ -8,7 +8,7 @@ export default { // Modules bar: { vertical: true, - style: "gaps", + style: "gaps", // One of "gaps", "panel", "embedded" modules: { osIcon: { enabled: true, @@ -49,6 +49,7 @@ export default { }, }, launcher: { + style: "lines", // One of "lines", "round" actionPrefix: ">", // Prefix for launcher actions apps: { maxResults: 30, // Actual max results, -1 for infinite diff --git a/src/config/types.ts b/src/config/types.ts index d3215c8..7bea7bf 100644 --- a/src/config/types.ts +++ b/src/config/types.ts @@ -25,6 +25,7 @@ export default { "bar.modules.dateTime.detailedFormat": STR, "bar.modules.power.enabled": BOOL, // Launcher + "launcher.style": ["lines", "round"], "launcher.actionPrefix": STR, "launcher.apps.maxResults": NUM, "launcher.files.maxResults": NUM, diff --git a/src/modules/launcher/actions.tsx b/src/modules/launcher/actions.tsx index 11b07d0..e99c720 100644 --- a/src/modules/launcher/actions.tsx +++ b/src/modules/launcher/actions.tsx @@ -304,7 +304,7 @@ const Scheme = ({ scheme, name, colours }: { scheme?: string; name: string; colo const Wallpaper = ({ path, thumbnail }: IWallpaper) => (