summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-02-23 22:18:10 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-02-23 22:18:10 +1100
commit15110e5f7c74d153510fcfd76f5a67374bb3a10a (patch)
treea76b86f41ab371af47bcb2ac0746535b387062a9 /src
parentconfig: fix type (diff)
downloadcaelestia-shell-15110e5f7c74d153510fcfd76f5a67374bb3a10a.tar.gz
caelestia-shell-15110e5f7c74d153510fcfd76f5a67374bb3a10a.tar.bz2
caelestia-shell-15110e5f7c74d153510fcfd76f5a67374bb3a10a.zip
launcher: italic xwayland windows
Diffstat (limited to 'src')
-rw-r--r--src/modules/launcher.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/launcher.tsx b/src/modules/launcher.tsx
index b7d4c01..56343d6 100644
--- a/src/modules/launcher.tsx
+++ b/src/modules/launcher.tsx
@@ -142,6 +142,7 @@ const Result = ({
label,
sublabel,
tooltip,
+ italic,
onClicked,
onSecondaryClick,
onMiddleClick,
@@ -152,13 +153,14 @@ const Result = ({
label: string;
sublabel?: string;
tooltip?: string;
+ italic?: boolean;
onClicked: (self: Widget.Button) => void;
onSecondaryClick?: (self: Widget.Button) => void;
onMiddleClick?: (self: Widget.Button) => void;
onDestroy?: () => void;
}) => (
<button
- className="result"
+ className={`result ${italic ? "italic" : ""}`}
cursor="pointer"
onClicked={onClicked}
onClick={(self, event) => {
@@ -450,6 +452,7 @@ const WindowResult = ({ client, reload }: { client: Client; reload: () => void }
tooltip={`${classOrTitle("Title")}\n${classOrTitle("Class")}\n${prop("address")}\n${workspace(
true
)}\n${prop("pid", "Process ID")}\n${prop("floating")}\n${prop("inhibitingIdle", "Inhibiting idle")}`}
+ italic={client.xwayland}
onClicked={self => {
close(self);
astalClient?.focus();