mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +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:
8
bin/omarchy-launch-walker
Executable file
8
bin/omarchy-launch-walker
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Ensure elephant is running before launching walker
|
||||||
|
if ! pgrep -x elephant > /dev/null; then
|
||||||
|
setsid uwsm app -- elephant &
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec walker "$@"
|
||||||
@@ -29,11 +29,11 @@ menu() {
|
|||||||
local index
|
local index
|
||||||
index=$(echo -e "$options" | grep -nxF "$preselect" | cut -d: -f1)
|
index=$(echo -e "$options" | grep -nxF "$preselect" | cut -d: -f1)
|
||||||
if [[ -n "$index" ]]; then
|
if [[ -n "$index" ]]; then
|
||||||
args+=("-a" "$index")
|
args+=("-c" "$index")
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "$options" | walker --dmenu --theme dmenu_250 -p "$prompt…" "${args[@]}"
|
echo -e "$options" | omarchy-launch-walker --dmenu --width 295 --minheight 1 --maxheight 600 -p "$prompt…" "${args[@]}" 2>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
terminal() {
|
terminal() {
|
||||||
|
|||||||
@@ -156,4 +156,4 @@ dynamic_bindings |
|
|||||||
sort -u |
|
sort -u |
|
||||||
parse_keycodes |
|
parse_keycodes |
|
||||||
parse_bindings |
|
parse_bindings |
|
||||||
walker --dmenu --theme keybindings -p 'Keybindings' -w 800 -h "$menu_height"
|
walker --dmenu -p 'Keybindings' --width 800 --height "$menu_height"
|
||||||
|
|||||||
4
bin/omarchy-refresh-elephant
Executable file
4
bin/omarchy-refresh-elephant
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
omarchy-refresh-config elephant/desktopapplications.toml
|
||||||
|
omarchy-restart-elephant
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
pkill elephant
|
||||||
|
setsid uwsm app -- elephant &
|
||||||
pkill walker
|
pkill walker
|
||||||
# FIXME: Just deal with the memory leak for now.
|
setsid uwsm app -- walker --gapplication-service &
|
||||||
# See https://github.com/basecamp/omarchy/issues/698
|
|
||||||
setsid uwsm-app -- walker --gapplication-service &
|
|
||||||
echo # Always end in success so we don't terminate further running
|
|
||||||
3
config/elephant/desktopapplications.toml
Normal file
3
config/elephant/desktopapplications.toml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
show_actions = true
|
||||||
|
only_search_title = true
|
||||||
|
history = false
|
||||||
@@ -1,100 +1,141 @@
|
|||||||
close_when_open = true
|
force_keyboard_focus = true # forces keyboard forcus to stay in Walker
|
||||||
theme = "omarchy-default"
|
close_when_open = true # close walker when invoking while already opened
|
||||||
theme_base = []
|
selection_wrap = true # wrap list if at bottom or top
|
||||||
theme_location = ["~/.local/share/omarchy/default/walker/themes/"]
|
click_to_close = true # closes walker if clicking outside of the main content area
|
||||||
hotreload_theme = true
|
global_argument_delimiter = "#" # query: firefox#https://benz.dev => part after delimiter will be ignored when querying. this should be the same as in the elephant config
|
||||||
force_keyboard_focus = true
|
exact_search_prefix = "'" # disable fuzzy searching
|
||||||
timeout = 60
|
theme = "omarchy-default" # theme to use
|
||||||
|
disable_mouse = false # disable mouse (on input and list only)
|
||||||
|
additional_theme_location = "~/.local/share/omarchy/default/walker/themes/"
|
||||||
|
|
||||||
[keys.ai]
|
[shell]
|
||||||
run_last_response = ["ctrl e"]
|
anchor_top = true
|
||||||
|
anchor_bottom = true
|
||||||
|
anchor_left = true
|
||||||
|
anchor_right = true
|
||||||
|
|
||||||
[list]
|
[placeholders]
|
||||||
max_entries = 200
|
"default" = { input = " Search...", list = "No Results" } # placeholders for input and empty list, key is the providers name, so f.e. "desktopapplications" or "menus:other"
|
||||||
cycle = true
|
|
||||||
|
|
||||||
[search]
|
[keybinds]
|
||||||
placeholder = " Search..."
|
close = ["Escape"]
|
||||||
|
next = ["Down"]
|
||||||
|
previous = ["Up"]
|
||||||
|
toggle_exact = ["ctrl e"]
|
||||||
|
resume_last_query = ["ctrl r"]
|
||||||
|
quick_activate = []
|
||||||
|
|
||||||
[builtins.hyprland_keybinds]
|
[providers]
|
||||||
path = "~/.config/hypr/hyprland.conf"
|
default = [
|
||||||
hidden = true
|
"desktopapplications",
|
||||||
|
"menus",
|
||||||
|
"websearch",
|
||||||
|
] # providers to be queried by default
|
||||||
|
empty = ["desktopapplications"] # providers to be queried when query is empty
|
||||||
|
|
||||||
[builtins.applications]
|
[[providers.prefixes]]
|
||||||
launch_prefix = "uwsm-app -- "
|
prefix = "/"
|
||||||
placeholder = " Search..."
|
provider = "providerlist"
|
||||||
prioritize_new = false
|
|
||||||
context_aware = false
|
|
||||||
show_sub_when_single = false
|
|
||||||
history = false
|
|
||||||
icon = ""
|
|
||||||
hidden = true
|
|
||||||
|
|
||||||
[builtins.applications.actions]
|
[[providers.prefixes]]
|
||||||
enabled = false
|
|
||||||
hide_category = true
|
|
||||||
|
|
||||||
[builtins.bookmarks]
|
|
||||||
hidden = true
|
|
||||||
|
|
||||||
[[builtins.bookmarks.entries]]
|
|
||||||
label = "Omarchy - Github"
|
|
||||||
url = "https://github.com/basecamp/omarchy"
|
|
||||||
keywords = ["omarchy", "github"]
|
|
||||||
|
|
||||||
[[builtins.bookmarks.entries]]
|
|
||||||
label = "Omarchy Manual"
|
|
||||||
url = "https://manuals.omamix.org/2/the-omarchy-manual"
|
|
||||||
keywords = ["omarchy"]
|
|
||||||
|
|
||||||
[builtins.calc]
|
|
||||||
name = "Calculator"
|
|
||||||
icon = ""
|
|
||||||
min_chars = 3
|
|
||||||
prefix = "="
|
|
||||||
|
|
||||||
[builtins.windows]
|
|
||||||
switcher_only = true
|
|
||||||
hidden = true
|
|
||||||
|
|
||||||
[builtins.clipboard]
|
|
||||||
hidden = true
|
|
||||||
|
|
||||||
[builtins.commands]
|
|
||||||
hidden = true
|
|
||||||
|
|
||||||
[builtins.custom_commands]
|
|
||||||
hidden = true
|
|
||||||
|
|
||||||
[builtins.emojis]
|
|
||||||
name = "Emojis"
|
|
||||||
icon = ""
|
|
||||||
prefix = ":"
|
|
||||||
|
|
||||||
[builtins.symbols]
|
|
||||||
after_copy = ""
|
|
||||||
hidden = true
|
|
||||||
|
|
||||||
[builtins.finder]
|
|
||||||
use_fd = true
|
|
||||||
cmd_alt = "xdg-open $(dirname ~/%RESULT%)"
|
|
||||||
icon = "file"
|
|
||||||
name = "Finder"
|
|
||||||
preview_images = true
|
|
||||||
hidden = false
|
|
||||||
prefix = "."
|
prefix = "."
|
||||||
|
provider = "files"
|
||||||
|
|
||||||
[builtins.runner]
|
[[providers.prefixes]]
|
||||||
shell_config = ""
|
prefix = ":"
|
||||||
switcher_only = true
|
provider = "symbols"
|
||||||
hidden = true
|
|
||||||
|
|
||||||
[builtins.ssh]
|
[[providers.prefixes]]
|
||||||
hidden = true
|
prefix = "="
|
||||||
|
provider = "calc"
|
||||||
|
|
||||||
[builtins.websearch]
|
[[providers.prefixes]]
|
||||||
switcher_only = true
|
prefix = "@"
|
||||||
hidden = true
|
provider = "websearch"
|
||||||
|
|
||||||
[builtins.translation]
|
[[providers.prefixes]]
|
||||||
hidden = true
|
prefix = "$"
|
||||||
|
provider = "clipboard"
|
||||||
|
|
||||||
|
[providers.actions]
|
||||||
|
dmenu = [{ action = "select", default = true, bind = "Return" }]
|
||||||
|
|
||||||
|
providerlist = [
|
||||||
|
{ action = "activate", default = true, bind = "Return", after = "ClearReload" },
|
||||||
|
]
|
||||||
|
|
||||||
|
bluetooth = [
|
||||||
|
{ action = "find", global = true, bind = "ctrl f", after = "AsyncClearReload" },
|
||||||
|
{ action = "trust", bind = "ctrl t", after = "AsyncReload" },
|
||||||
|
{ action = "untrust", bind = "ctrl t", after = "AsyncReload" },
|
||||||
|
{ action = "pair", bind = "Return", after = "AsyncReload" },
|
||||||
|
{ action = "remove", bind = "ctrl d", after = "AsyncReload" },
|
||||||
|
{ action = "connect", bind = "Return", after = "AsyncReload" },
|
||||||
|
{ action = "disconnect", bind = "Return", after = "AsyncReload" },
|
||||||
|
]
|
||||||
|
|
||||||
|
archlinuxpkgs = [
|
||||||
|
{ action = "install", bind = "Return", default = true },
|
||||||
|
{ action = "remove", bind = "Return" },
|
||||||
|
]
|
||||||
|
|
||||||
|
calc = [
|
||||||
|
{ action = "copy", default = true, bind = "Return" },
|
||||||
|
{ action = "delete", bind = "ctrl d", after = "AsyncReload" },
|
||||||
|
{ action = "save", bind = "ctrl s", after = "AsyncClearReload" },
|
||||||
|
]
|
||||||
|
|
||||||
|
websearch = [
|
||||||
|
{ action = "search", default = true, bind = "Return" },
|
||||||
|
{ action = "erase_history", label = "clear hist", bind = "ctrl h", after = "Reload" },
|
||||||
|
]
|
||||||
|
|
||||||
|
desktopapplications = [
|
||||||
|
{ action = "start", default = true, bind = "Return" },
|
||||||
|
{ action = "start", label = "open+next", bind = "shift Return", after = "KeepOpen" },
|
||||||
|
{ action = "erase_history", label = "clear hist", bind = "ctrl h", after = "AsyncReload" },
|
||||||
|
{ action = "pin", bind = "ctrl p", after = "AsyncReload" },
|
||||||
|
{ action = "unpin", bind = "ctrl p", after = "AsyncReload" },
|
||||||
|
{ action = "pinup", bind = "ctrl n", after = "AsyncReload" },
|
||||||
|
{ action = "pindown", bind = "ctrl m", after = "AsyncReload" },
|
||||||
|
]
|
||||||
|
|
||||||
|
files = [
|
||||||
|
{ action = "open", default = true, bind = "Return" },
|
||||||
|
{ action = "opendir", label = "open dir", bind = "ctrl Return" },
|
||||||
|
{ action = "copypath", label = "copy path", bind = "ctrl shift c" },
|
||||||
|
{ action = "copyfile", label = "copy file", bind = "ctrl c" },
|
||||||
|
]
|
||||||
|
|
||||||
|
todo = [
|
||||||
|
{ action = "save", default = true, bind = "Return", after = "ClearReload" },
|
||||||
|
{ action = "delete", bind = "ctrl d", after = "ClearReload" },
|
||||||
|
{ action = "active", bind = "Return", after = "ClearReload" },
|
||||||
|
{ action = "inactive", bind = "Return", after = "ClearReload" },
|
||||||
|
{ action = "done", bind = "ctrl f", after = "ClearReload" },
|
||||||
|
{ action = "clear", bind = "ctrl x", after = "ClearReload", global = true },
|
||||||
|
]
|
||||||
|
|
||||||
|
runner = [
|
||||||
|
{ action = "run", default = true, bind = "Return" },
|
||||||
|
{ action = "runterminal", label = "run in terminal", bind = "shift Return" },
|
||||||
|
{ action = "erase_history", label = "clear hist", bind = "ctrl h", after = "Reload" },
|
||||||
|
]
|
||||||
|
|
||||||
|
symbols = [
|
||||||
|
{ action = "run_cmd", label = "select", default = true, bind = "Return" },
|
||||||
|
{ action = "erase_history", label = "clear hist", bind = "ctrl h", after = "Reload" },
|
||||||
|
]
|
||||||
|
|
||||||
|
unicode = [
|
||||||
|
{ action = "run_cmd", label = "select", default = true, bind = "Return" },
|
||||||
|
{ action = "erase_history", label = "clear hist", bind = "ctrl h", after = "Reload" },
|
||||||
|
]
|
||||||
|
|
||||||
|
clipboard = [
|
||||||
|
{ action = "copy", default = true, bind = "Return" },
|
||||||
|
{ action = "remove", bind = "ctrl d", after = "ClearReload" },
|
||||||
|
{ action = "remove_all", global = true, label = "clear", bind = "ctrl shift d", after = "ClearReload" },
|
||||||
|
{ action = "toggle_images", global = true, label = "toggle images", bind = "ctrl i", after = "ClearReload" },
|
||||||
|
{ action = "edit", bind = "ctrl o" },
|
||||||
|
]
|
||||||
|
|||||||
@@ -4,7 +4,8 @@ exec-once = uwsm app -- waybar
|
|||||||
exec-once = uwsm app -- fcitx5
|
exec-once = uwsm app -- fcitx5
|
||||||
exec-once = uwsm app -- swaybg -i ~/.config/omarchy/current/background -m fill
|
exec-once = uwsm app -- swaybg -i ~/.config/omarchy/current/background -m fill
|
||||||
exec-once = uwsm app -- swayosd-server
|
exec-once = uwsm app -- swayosd-server
|
||||||
exec-once = uwsm app -- walker --gapplication-service
|
|
||||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
exec-once = wl-clip-persist --clipboard regular --all-mime-type-regex '^(?!x-kde-passwordManagerHint).+'
|
exec-once = wl-clip-persist --clipboard regular --all-mime-type-regex '^(?!x-kde-passwordManagerHint).+'
|
||||||
exec-once = omarchy-cmd-first-run
|
exec-once = omarchy-cmd-first-run
|
||||||
|
exec-once = uwsm app -- elephant
|
||||||
|
exec-once = uwsm app -- walker --gapplication-service
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Menus
|
# Menus
|
||||||
bindd = SUPER, SPACE, Launch apps, exec, walker -p "Start…"
|
bindd = SUPER, SPACE, Launch apps, exec, omarchy-launch-walker
|
||||||
bindd = SUPER CTRL, E, Emoji picker, exec, walker -m Emojis
|
bindd = SUPER CTRL, E, Emoji picker, exec, omarchy-launch-walker -m symbols
|
||||||
bindd = SUPER ALT, SPACE, Omarchy menu, exec, omarchy-menu
|
bindd = SUPER ALT, SPACE, Omarchy menu, exec, omarchy-menu
|
||||||
bindd = SUPER, ESCAPE, Power menu, exec, omarchy-menu system
|
bindd = SUPER, ESCAPE, Power menu, exec, omarchy-menu system
|
||||||
bindld = , XF86PowerOff, Power menu, exec, omarchy-menu system
|
bindld = , XF86PowerOff, Power menu, exec, omarchy-menu system
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
@@ -14,6 +14,7 @@ run_logged $OMARCHY_INSTALL/config/fix-powerprofilesctl-shebang.sh
|
|||||||
run_logged $OMARCHY_INSTALL/config/docker.sh
|
run_logged $OMARCHY_INSTALL/config/docker.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/mimetypes.sh
|
run_logged $OMARCHY_INSTALL/config/mimetypes.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/localdb.sh
|
run_logged $OMARCHY_INSTALL/config/localdb.sh
|
||||||
|
run_logged $OMARCHY_INSTALL/config/walker-elephant.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/fast-shutdown.sh
|
run_logged $OMARCHY_INSTALL/config/fast-shutdown.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/sudoless-asdcontrol.sh
|
run_logged $OMARCHY_INSTALL/config/sudoless-asdcontrol.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/network.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/network.sh
|
||||||
|
|||||||
9
install/config/browser-policies.sh
Normal file
9
install/config/browser-policies.sh
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Add 1password extension to Chromium
|
||||||
|
sudo mkdir -p /etc/chromium/policies/managed/
|
||||||
|
sudo cp $OMARCHY_PATH/default/chromium/policies/managed/onepassword.json /etc/chromium/policies/managed/onepassword.json
|
||||||
|
sudo chmod 644 /etc/chromium/policies/managed/onepassword.json
|
||||||
|
|
||||||
|
# Add 1password extension to future Brave installs
|
||||||
|
sudo mkdir -p /etc/brave/policies/managed/
|
||||||
|
sudo cp $OMARCHY_PATH/default/brave/policies/managed/onepassword.json /etc/brave/policies/managed/onepassword.json
|
||||||
|
sudo chmod 644 /etc/brave/policies/managed/onepassword.json
|
||||||
17
install/config/walker-elephant.sh
Normal file
17
install/config/walker-elephant.sh
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Create pacman hook to restart walker after updates
|
||||||
|
sudo mkdir -p /etc/pacman.d/hooks
|
||||||
|
sudo tee /etc/pacman.d/hooks/walker-restart.hook > /dev/null << EOF
|
||||||
|
[Trigger]
|
||||||
|
Type = Package
|
||||||
|
Operation = Upgrade
|
||||||
|
Target = walker
|
||||||
|
Target = walker-debug
|
||||||
|
Target = elephant*
|
||||||
|
|
||||||
|
[Action]
|
||||||
|
Description = Restarting Walker services after system update
|
||||||
|
When = PostTransaction
|
||||||
|
Exec = $OMARCHY_PATH/bin/omarchy-restart-walker
|
||||||
|
EOF
|
||||||
@@ -21,6 +21,19 @@ docker
|
|||||||
docker-buildx
|
docker-buildx
|
||||||
docker-compose
|
docker-compose
|
||||||
dust
|
dust
|
||||||
|
elephant
|
||||||
|
elephant-bluetooth
|
||||||
|
elephant-calc
|
||||||
|
elephant-clipboard
|
||||||
|
elephant-desktopapplications
|
||||||
|
elephant-files
|
||||||
|
elephant-menus
|
||||||
|
elephant-providerlist
|
||||||
|
elephant-runner
|
||||||
|
elephant-symbols
|
||||||
|
elephant-todo
|
||||||
|
elephant-unicode
|
||||||
|
elephant-websearch
|
||||||
evince
|
evince
|
||||||
eza
|
eza
|
||||||
fastfetch
|
fastfetch
|
||||||
@@ -114,7 +127,7 @@ ufw
|
|||||||
ufw-docker
|
ufw-docker
|
||||||
unzip
|
unzip
|
||||||
uwsm
|
uwsm
|
||||||
walker-bin
|
walker
|
||||||
waybar
|
waybar
|
||||||
wf-recorder
|
wf-recorder
|
||||||
whois
|
whois
|
||||||
|
|||||||
26
migrations/1758107878.sh
Normal file
26
migrations/1758107878.sh
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
echo "Migrate to Walker 2.0.0"
|
||||||
|
|
||||||
|
# Ensure we kill walker even if there's a restarting service running
|
||||||
|
kill -9 $(pgrep -x walker)
|
||||||
|
|
||||||
|
omarchy-pkg-drop walker-bin walker-bin-debug
|
||||||
|
|
||||||
|
omarchy-pkg-add elephant \
|
||||||
|
elephant-calc \
|
||||||
|
elephant-clipboard \
|
||||||
|
elephant-bluetooth \
|
||||||
|
elephant-desktopapplications \
|
||||||
|
elephant-files \
|
||||||
|
elephant-menus \
|
||||||
|
elephant-providerlist \
|
||||||
|
elephant-runner \
|
||||||
|
elephant-symbols \
|
||||||
|
elephant-unicode \
|
||||||
|
elephant-websearch \
|
||||||
|
elephant-todo \
|
||||||
|
walker
|
||||||
|
|
||||||
|
source $OMARCHY_PATH/install/config/walker-elephant.sh
|
||||||
|
|
||||||
|
rm -rf ~/.config/walker/themes
|
||||||
|
omarchy-refresh-walker
|
||||||
Reference in New Issue
Block a user