mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Walker: migrate to 2.0.0 (#1005)
* fix: remove theme-flag * migration: walker 1.0.0-beta * Fixups * Add elephant and walker * Update for new layout.xml * Clean up some styling * add unicode and todo providers * remove default quick activate keybinds * Update keybinds and remove defaults to prevent conflict * Fix menu option * Fixes * Remove * Update height * Add elephant service * Remove from hyprland * Restart service now * Trim * Update height * Fix keybindings style * Fix install location * Add walker restart * Fix indention * Fix indention * Fix indention * Fix indention * Advance to present * Need to refresh to bring over the new config * style adjustments * Correct the installation of the 1pw policy installer * Skip the prebuilt for a second while we test * Need libyaml to build ruby * No longer needed, gcc-15 compatibility has been added * Let's just stick to the official path * GCC15 compatibility for Ruby has been achieved * No longer necessary The other mise option is set on Ruby on Rails install * Added ZLS - Zig's Language Server when installing Zig (#1718) * style adjustments * styling changes * add only_search_title * css adjustments to fix broken styles * Be tall again * Remove for future variable height menu * Update height / width params * fix: remove theme-flag * Fix spacing..again * Remove service and add launch util * Fix * fix: wrong emojis flag * remove flag, its dmenu only * set min content width to prevent flickering if the item list contains shorter items * Remove unused service * Megakill needed * Remove any old themes too * Remove min-width * Style adjustments * changes for walker/elephant updates * Match current width * Add a little more space between icon and text * fix: bluetooth find bind * remove archlinux provider, fix migration with missing providers * fix: css import * Fix theme path * fix: add new error label to layout * Fix migration --------- Co-authored-by: David Heinemeier Hansson <david@hey.com> Co-authored-by: Ryan Hughes <ryan@heyoodle.com> Co-authored-by: DoKoB0512 <123281216+DoKoB0512@users.noreply.github.com>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
@import url("file://~/.local/share/omarchy/default/walker/themes/omarchy-default.css");
|
||||
@import url("file://~/.config/omarchy/current/theme/walker.css");
|
||||
@@ -1,10 +0,0 @@
|
||||
[ui.window.box]
|
||||
width = 150
|
||||
|
||||
[ui.window.box.scroll.list]
|
||||
max_width = 150
|
||||
min_width = 150
|
||||
width = 150
|
||||
|
||||
[ui.window.box.search]
|
||||
hide = false
|
||||
@@ -1,2 +0,0 @@
|
||||
@import url("file://~/.local/share/omarchy/default/walker/themes/omarchy-default.css");
|
||||
@import url("file://~/.config/omarchy/current/theme/walker.css");
|
||||
@@ -1,11 +0,0 @@
|
||||
[ui.window.box]
|
||||
width = 250
|
||||
|
||||
[ui.window.box.scroll.list]
|
||||
max_width = 250
|
||||
min_width = 250
|
||||
width = 250
|
||||
max_height = 600
|
||||
|
||||
[ui.window.box.search]
|
||||
hide = false
|
||||
@@ -1,2 +0,0 @@
|
||||
@import url("file://~/.local/share/omarchy/default/walker/themes/omarchy-default.css");
|
||||
@import url("file://~/.config/omarchy/current/theme/walker.css");
|
||||
@@ -1,48 +0,0 @@
|
||||
[ui.window.box]
|
||||
width = 964
|
||||
min_width = 964
|
||||
max_width = 964
|
||||
|
||||
height = 664
|
||||
min_height = 664
|
||||
max_height = 664
|
||||
|
||||
[ui.window.box.search]
|
||||
hide = false
|
||||
|
||||
[ui.window.box.scroll]
|
||||
v_align = "fill"
|
||||
h_align = "fill"
|
||||
min_width = 964
|
||||
width = 964
|
||||
max_width = 964
|
||||
min_height = 664
|
||||
height = 664
|
||||
max_height = 664
|
||||
|
||||
[ui.window.box.scroll.list]
|
||||
v_align = "fill"
|
||||
h_align = "fill"
|
||||
min_width = 900
|
||||
width = 900
|
||||
max_width = 900
|
||||
min_height = 600
|
||||
height = 600
|
||||
max_height = 600
|
||||
|
||||
[ui.window.box.scroll.list.item]
|
||||
h_align = "fill"
|
||||
min_width = 900
|
||||
width = 900
|
||||
max_width = 900
|
||||
|
||||
[ui.window.box.scroll.list.item.activation_label]
|
||||
hide = true
|
||||
|
||||
[ui.window.box.scroll.list.placeholder]
|
||||
v_align = "start"
|
||||
h_align = "fill"
|
||||
hide = false
|
||||
min_width = 900
|
||||
width = 900
|
||||
max_width = 900
|
||||
@@ -1,169 +0,0 @@
|
||||
/* Reset all elements */
|
||||
#window,
|
||||
#box,
|
||||
#search,
|
||||
#password,
|
||||
#input,
|
||||
#prompt,
|
||||
#clear,
|
||||
#typeahead,
|
||||
#list,
|
||||
child,
|
||||
scrollbar,
|
||||
slider,
|
||||
#item,
|
||||
#text,
|
||||
#label,
|
||||
#sub,
|
||||
#activationlabel {
|
||||
all: unset;
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: monospace;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
/* Window */
|
||||
#window {
|
||||
background: transparent;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Main box container */
|
||||
#box {
|
||||
background: alpha(@base, 0.95);
|
||||
padding: 20px;
|
||||
border: 2px solid @border;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
/* Search container */
|
||||
#search {
|
||||
background: @base;
|
||||
padding: 10px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Hide prompt icon */
|
||||
#prompt {
|
||||
opacity: 0;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Hide clear button */
|
||||
#clear {
|
||||
opacity: 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* Input field */
|
||||
#input {
|
||||
background: none;
|
||||
color: @text;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#input placeholder {
|
||||
opacity: 0.5;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Hide typeahead */
|
||||
#typeahead {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* List */
|
||||
#list {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* List items */
|
||||
child {
|
||||
padding: 0px 12px;
|
||||
background: transparent;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
child:selected,
|
||||
child:hover {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* Item layout */
|
||||
#item {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#item.active {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Icon */
|
||||
#icon {
|
||||
margin-right: 10px;
|
||||
-gtk-icon-transform: scale(0.7);
|
||||
}
|
||||
|
||||
/* Text */
|
||||
#text {
|
||||
color: @text;
|
||||
padding: 14px 0;
|
||||
}
|
||||
|
||||
#label {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* Selected state */
|
||||
child:selected #text,
|
||||
child:selected #label,
|
||||
child:hover #text,
|
||||
child:hover #label {
|
||||
color: @selected-text;
|
||||
}
|
||||
|
||||
/* Hide sub text */
|
||||
#sub {
|
||||
opacity: 0;
|
||||
font-size: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
/* Hide activation label */
|
||||
#activationlabel {
|
||||
opacity: 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* Scrollbar styling */
|
||||
scrollbar {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* Hide spinner */
|
||||
#spinner {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* Hide AI elements */
|
||||
#aiScroll,
|
||||
#aiList,
|
||||
.aiItem {
|
||||
opacity: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
/* Bar entry (switcher) */
|
||||
#bar {
|
||||
opacity: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.barentry {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
@import url("file://~/.config/omarchy/current/theme/walker.css");
|
||||
@@ -1,16 +0,0 @@
|
||||
[ui.window.box]
|
||||
width = 664
|
||||
min_width = 664
|
||||
max_width = 664
|
||||
height = 396
|
||||
min_height = 396
|
||||
max_height = 396
|
||||
|
||||
# List constraints are critical - without these, the window shrinks when empty
|
||||
[ui.window.box.scroll.list]
|
||||
height = 300
|
||||
min_height = 300
|
||||
max_height = 300
|
||||
|
||||
[ui.window.box.scroll.list.item.icon]
|
||||
pixel_size = 40
|
||||
129
default/walker/themes/omarchy-default/layout.xml
Normal file
129
default/walker/themes/omarchy-default/layout.xml
Normal file
@@ -0,0 +1,129 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk" version="4.0"></requires>
|
||||
<object class="GtkWindow" id="Window">
|
||||
<style>
|
||||
<class name="window"></class>
|
||||
</style>
|
||||
<property name="resizable">true</property>
|
||||
<property name="title">Walker</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="BoxWrapper">
|
||||
<style>
|
||||
<class name="box-wrapper"></class>
|
||||
</style>
|
||||
<property name="width-request">644</property>
|
||||
<property name="overflow">hidden</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="valign">center</property>
|
||||
<property name="halign">center</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="Box">
|
||||
<style>
|
||||
<class name="box"></class>
|
||||
</style>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="hexpand-set">true</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="spacing">10</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="SearchContainer">
|
||||
<style>
|
||||
<class name="search-container"></class>
|
||||
</style>
|
||||
<property name="overflow">hidden</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="halign">fill</property>
|
||||
<property name="hexpand-set">true</property>
|
||||
<property name="hexpand">true</property>
|
||||
<child>
|
||||
<object class="GtkEntry" id="Input">
|
||||
<style>
|
||||
<class name="input"></class>
|
||||
</style>
|
||||
<property name="halign">fill</property>
|
||||
<property name="hexpand-set">true</property>
|
||||
<property name="hexpand">true</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkBox" id="ContentContainer">
|
||||
<style>
|
||||
<class name="content-container"></class>
|
||||
</style>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="spacing">10</property>
|
||||
<property name="vexpand">true</property>
|
||||
<property name="vexpand-set">true</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="ElephantHint">
|
||||
<style>
|
||||
<class name="elephant-hint"></class>
|
||||
</style>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="height-request">100</property>
|
||||
<property name="label">Waiting for elephant...</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="Placeholder">
|
||||
<style>
|
||||
<class name="placeholder"></class>
|
||||
</style>
|
||||
<property name="label">No Results</property>
|
||||
<property name="yalign">0.0</property>
|
||||
<property name="hexpand">true</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkScrolledWindow" id="Scroll">
|
||||
<style>
|
||||
<class name="scroll"></class>
|
||||
</style>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="can_focus">false</property>
|
||||
<property name="overlay-scrolling">true</property>
|
||||
<property name="max-content-width">600</property>
|
||||
<property name="max-content-height">300</property>
|
||||
<property name="min-content-height">0</property>
|
||||
<property name="propagate-natural-height">true</property>
|
||||
<property name="propagate-natural-width">true</property>
|
||||
<property name="hscrollbar-policy">automatic</property>
|
||||
<property name="vscrollbar-policy">automatic</property>
|
||||
<child>
|
||||
<object class="GtkGridView" id="List">
|
||||
<style>
|
||||
<class name="list"></class>
|
||||
</style>
|
||||
<property name="max_columns">1</property>
|
||||
<property name="can_focus">false</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkBox" id="Preview">
|
||||
<style>
|
||||
<class name="preview"></class>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="Error">
|
||||
<style>
|
||||
<class name="error"></class>
|
||||
</style>
|
||||
<property name="xalign">0</property>
|
||||
<property name="visible">false</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
||||
122
default/walker/themes/omarchy-default/style.css
Normal file
122
default/walker/themes/omarchy-default/style.css
Normal file
@@ -0,0 +1,122 @@
|
||||
@import "../../../../../../../.config/omarchy/current/theme/walker.css";
|
||||
|
||||
* {
|
||||
all: unset;
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: monospace;
|
||||
font-size: 18px;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
scrollbar {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.normal-icons {
|
||||
-gtk-icon-size: 16px;
|
||||
}
|
||||
|
||||
.large-icons {
|
||||
-gtk-icon-size: 32px;
|
||||
}
|
||||
|
||||
.box-wrapper {
|
||||
background: alpha(@base, 0.95);
|
||||
padding: 20px;
|
||||
border: 2px solid @border;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
.preview-box {
|
||||
}
|
||||
|
||||
.box {
|
||||
}
|
||||
|
||||
.search-container {
|
||||
background: @base;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.input placeholder {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.input {
|
||||
}
|
||||
|
||||
.input:focus,
|
||||
.input:active {
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.content-container {
|
||||
}
|
||||
|
||||
.placeholder {
|
||||
}
|
||||
|
||||
.scroll {
|
||||
}
|
||||
|
||||
.list {
|
||||
}
|
||||
|
||||
child,
|
||||
child > * {
|
||||
}
|
||||
|
||||
child:hover .item-box {
|
||||
}
|
||||
|
||||
child:selected .item-box {
|
||||
}
|
||||
|
||||
child:selected .item-box * {
|
||||
color: @selected-text;
|
||||
}
|
||||
|
||||
.item-box {
|
||||
padding-left: 14px;
|
||||
}
|
||||
|
||||
.item-text-box {
|
||||
all: unset;
|
||||
padding: 14px 0;
|
||||
}
|
||||
|
||||
.item-text {
|
||||
}
|
||||
|
||||
.item-subtext {
|
||||
font-size: 0px;
|
||||
min-height: 0px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.item-image {
|
||||
margin-right: 14px;
|
||||
-gtk-icon-transform: scale(0.9);
|
||||
}
|
||||
|
||||
.item-box.calc .item-image {
|
||||
-gtk-icon-source: url("file:///home/ryan/Downloads/gitlab.svg");
|
||||
}
|
||||
|
||||
.current {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.keybind-hints {
|
||||
background: @background;
|
||||
padding: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.preview {
|
||||
background: @background;
|
||||
}
|
||||
Reference in New Issue
Block a user