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