-
-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(cli-support): Toggle ueli using command line (#1213)
* Changed main and SingleInstanceLock * Fixed test * Fixed Core Dependency bootstrap order * Fixed linting * Cleaned up code * Directly implement second-instance event * Package all js files for dynamic import * Added warning for wayland in settings * Moved warning to translation * Updated documentation link * Moved getEnvironmentVariable event to correct module * Removed toggle setting * Restored main * Restored electron builder * Merge conflict * Prettier * Update type Co-authored-by: Oliver Schwendener <[email protected]> * Added missing translations and improved UI * Show and focus instead of toggle --------- Co-authored-by: Oliver Schwendener <[email protected]> Co-authored-by: Oliver Schwendener <[email protected]>
- Loading branch information
1 parent
547d380
commit 0344fe7
Showing
7 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/renderer/Core/Settings/Pages/General/HotKey/WaylandWarning.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Button, MessageBar, MessageBarActions, MessageBarBody, Tooltip } from "@fluentui/react-components"; | ||
import { InfoRegular } from "@fluentui/react-icons"; | ||
import { useTranslation } from "react-i18next"; | ||
|
||
export const WaylandWarning = () => { | ||
const { t } = useTranslation("settingsGeneral"); | ||
|
||
return ( | ||
<MessageBar intent="warning"> | ||
<MessageBarBody>{t("waylandWarning")}</MessageBarBody> | ||
<MessageBarActions> | ||
<Tooltip content={t("waylandWarningMoreInfo")} relationship="label" withArrow> | ||
<Button | ||
appearance="subtle" | ||
size="small" | ||
icon={<InfoRegular />} | ||
onClick={() => | ||
window.ContextBridge.openExternal("https://github.com/oliverschwendener/ueli/wiki#linux") | ||
} | ||
/> | ||
</Tooltip> | ||
</MessageBarActions> | ||
</MessageBar> | ||
); | ||
}; |