Fix Misc things
This commit is contained in:
1 parent
4c113751c6
commit
06de637a46
2 files changed
+14
-5
No files matched your search
@@ -37,6 +37,7 @@ class Launcher(Window):
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(
|
||||
name="launcher-window",
|
||||
title="launcher",
|
||||
layer="top",
|
||||
anchor="center",
|
||||
exclusivity="none",
|
||||
@@ -696,15 +697,21 @@ class Launcher(Window):
|
||||
if self.triggered_plugin:
|
||||
if self.results:
|
||||
# Show more minimal placeholder for triggered mode
|
||||
self.search_entry.set_placeholder_text(f"Search {self.active_trigger.strip()}...")
|
||||
self.search_entry.set_placeholder_text(
|
||||
f"Search {self.active_trigger.strip()}..."
|
||||
)
|
||||
else:
|
||||
# In trigger mode but no results yet
|
||||
if current_text == self.active_trigger.strip():
|
||||
# Just the trigger keyword
|
||||
self.search_entry.set_placeholder_text(f"Search {self.active_trigger.strip()}...")
|
||||
self.search_entry.set_placeholder_text(
|
||||
f"Search {self.active_trigger.strip()}..."
|
||||
)
|
||||
else:
|
||||
# Searching within trigger
|
||||
self.search_entry.set_placeholder_text(f"Searching {self.active_trigger.strip()}...")
|
||||
self.search_entry.set_placeholder_text(
|
||||
f"Searching {self.active_trigger.strip()}..."
|
||||
)
|
||||
else:
|
||||
# Not in trigger mode - show Spotlight-style help
|
||||
if current_text == ":":
|
||||
|
||||
+4
-2
@@ -1,5 +1,6 @@
|
||||
#launcher {
|
||||
background: rgba(30, 30, 30, 0.95);
|
||||
background-color: alpha(#999, 0.3);
|
||||
color: #000;
|
||||
padding: 0;
|
||||
border-radius: 12px;
|
||||
min-width: 640px;
|
||||
@@ -8,7 +9,8 @@
|
||||
}
|
||||
|
||||
#header_box {
|
||||
padding: 20px 20px 0 20px;
|
||||
padding: 0px 20px 0 20px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#close-button,
|
||||
|
||||
Reference in new issue
Block a user