aboutsummaryrefslogtreecommitdiffstats
path: root/rofi/udt/ssh.rasi
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-18 11:44:56 +0200
committerDanilo M. <danix@danix.xyz>2026-10-18 11:44:56 +0200
commit97a5fc27e011c024393c3b1610f044f3c751bd91 (patch)
treeb4167224de53db10c2d44abcffbc48c303e42171 /rofi/udt/ssh.rasi
parent140e0f906a9e8566b26267d84eb0aa1a7e2f0d94 (diff)
downloadunified-desktop-theme-97a5fc27e011c024393c3b1610f044f3c751bd91.tar.gz
unified-desktop-theme-97a5fc27e011c024393c3b1610f044f3c751bd91.zip
feat(rofi): shared wallpaper header for the searchable layouts
The ssh menu's banner, title plate and plated search bar move into header.rasi, which ssh.rasi, list.rasi and grid.rasi import, so every searchable menu gets the same header with its -p as the title. The banner's @WPAPER@ now lives in header.rasi, so that file is generated and ssh.rasi is linked again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'rofi/udt/ssh.rasi')
-rw-r--r--rofi/udt/ssh.rasi41
1 files changed, 1 insertions, 40 deletions
diff --git a/rofi/udt/ssh.rasi b/rofi/udt/ssh.rasi
index c40ac05..52899f1 100644
--- a/rofi/udt/ssh.rasi
+++ b/rofi/udt/ssh.rasi
@@ -9,6 +9,7 @@
*/
@import "common.rasi"
+@import "header.rasi"
window {
width: 1100px;
@@ -22,46 +23,6 @@ mainbox {
spacing: 0;
}
-/* The wallpaper banner, as in launcher.rasi: the header and the search bar
- * share it. @WPAPER@ is rewritten by the installer, which is why this file
- * is generated rather than linked. */
-header {
- expand: false;
- orientation: vertical;
- children: [ headrow, inputbar ];
- spacing: 12px;
- padding: 2.5em 2em;
- background-image: url("@WPAPER@", width);
- background-color: @mantle;
-}
-
-/* The prompt is lifted out of the inputbar to sit above it, and kept to its
- * own width by the spacer so its plate does not span the banner. */
-headrow {
- expand: false;
- orientation: horizontal;
- children: [ prompt, dummy ];
-}
-
-dummy {
- expand: true;
-}
-
-/* Both sit on plates so they stay legible over any wallpaper. */
-prompt {
- font: "Noto Sans Bold 15";
- text-color: @text;
- background-color: @base;
- border-radius: 6px;
- padding: 6px 12px;
-}
-
-inputbar {
- background-color: @base;
- border: 1px;
- border-color: @accent;
-}
-
entry {
placeholder: "Search hosts, users, addresses";
}