diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-23 22:18:10 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-23 22:18:10 +1100 |
| commit | 15110e5f7c74d153510fcfd76f5a67374bb3a10a (patch) | |
| tree | a76b86f41ab371af47bcb2ac0746535b387062a9 /src | |
| parent | config: fix type (diff) | |
| download | caelestia-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.tsx | 5 |
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(); |