Fix Misc things

This commit is contained in:
tr1x_em committed 2025-08-02 23:29:59 +05:30
1 parent d8d4319b28
commit 2bc4beec28
2 files changed
+14 -5

No files matched your search

+10 -3
View File
@@ -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
View File
@@ -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,