diff --git a/Flow.Launcher.Infrastructure/Constant.cs b/Flow.Launcher.Infrastructure/Constant.cs
index 57b39e46e47..5ace463768d 100644
--- a/Flow.Launcher.Infrastructure/Constant.cs
+++ b/Flow.Launcher.Infrastructure/Constant.cs
@@ -1,4 +1,4 @@
-using System.Diagnostics;
+using System.Diagnostics;
using System.IO;
using System.Reflection;
@@ -21,6 +21,7 @@ public static class Constant
public static readonly string PreinstalledDirectory = Path.Combine(ProgramDirectory, Plugins);
public const string Issue = "https://github.com/Flow-Launcher/Flow.Launcher/issues/new";
public static readonly string Version = FileVersionInfo.GetVersionInfo(Assembly.Location.NonNull()).ProductVersion;
+ public static readonly string Dev = "Dev";
public const string Documentation = "https://flowlauncher.com/docs/#/usage-tips";
public static readonly int ThumbnailSize = 64;
diff --git a/Flow.Launcher/HotkeyControl.xaml b/Flow.Launcher/HotkeyControl.xaml
index 9b5f671d8f5..5a593d20a19 100644
--- a/Flow.Launcher/HotkeyControl.xaml
+++ b/Flow.Launcher/HotkeyControl.xaml
@@ -38,9 +38,8 @@
FontSize="13"
FontWeight="SemiBold"
Foreground="{DynamicResource Color05B}"
- Visibility="Visible">
- Press key
-
+ Text="{DynamicResource flowlauncherPressHotkey}"
+ Visibility="Visible" />
@@ -49,8 +48,8 @@
Margin="0,0,18,0"
VerticalContentAlignment="Center"
input:InputMethod.IsInputMethodEnabled="False"
+ LostFocus="tbHotkey_LostFocus"
PreviewKeyDown="TbHotkey_OnPreviewKeyDown"
- TabIndex="100"
- LostFocus="tbHotkey_LostFocus"/>
+ TabIndex="100" />
\ No newline at end of file
diff --git a/Flow.Launcher/HotkeyControl.xaml.cs b/Flow.Launcher/HotkeyControl.xaml.cs
index 7e07695d8da..d746c8fd25d 100644
--- a/Flow.Launcher/HotkeyControl.xaml.cs
+++ b/Flow.Launcher/HotkeyControl.xaml.cs
@@ -9,6 +9,7 @@
using Flow.Launcher.Infrastructure.Hotkey;
using Flow.Launcher.Plugin;
using System.Threading;
+using System.Windows.Interop;
namespace Flow.Launcher
{
@@ -113,7 +114,7 @@ public Task SetHotkeyAsync(string keyStr, bool triggerValidate = true)
private void tbHotkey_LostFocus(object sender, RoutedEventArgs e)
{
tbMsg.Text = tbMsgTextOriginal;
- tbMsg.Foreground = tbMsgForegroundColorOriginal;
+ tbMsg.SetResourceReference(TextBox.ForegroundProperty, "Color05B");
}
}
}
diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml
index f393af11983..e3312d7880e 100644
--- a/Flow.Launcher/Languages/en.xaml
+++ b/Flow.Launcher/Languages/en.xaml
@@ -27,7 +27,7 @@
Reset search window position
- Flow Launcher Settings
+ Settings
General
Portable Mode
Store all settings and user data in one folder (Useful when used with removable drives or cloud services).
@@ -146,6 +146,7 @@
Show result selection hotkey with results.
Custom Query Hotkey
Custom Query Shortcut
+ Built-in Shortcuts
Query
Shortcut
Expanded
@@ -163,6 +164,7 @@
You can also quickly adjust this by using Ctrl+[ and Ctrl+].
Use Segoe Fluent Icons
Use Segoe Fluent Icons for query results where supported
+ Press Key
HTTP Proxy
@@ -186,6 +188,7 @@
Github
Docs
Version
+ Icons
You have activated Flow Launcher {0} times
Check for Updates
New version {0} is available, would you like to restart Flow Launcher to use the update?
diff --git a/Flow.Launcher/MainWindow.xaml b/Flow.Launcher/MainWindow.xaml
index 922f8b9338f..3bf855da7b1 100644
--- a/Flow.Launcher/MainWindow.xaml
+++ b/Flow.Launcher/MainWindow.xaml
@@ -1,4 +1,5 @@
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
+
+
+
-
-
+
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+
-
+
-
+ Text="{Binding DateText}"
+ Visibility="{Binding Settings.UseDate, Converter={StaticResource BooleanToVisibilityConverter}}" />
+