diff --git a/bin/omarchy b/bin/omarchy index 4c0463f..1f62ebb 100755 --- a/bin/omarchy +++ b/bin/omarchy @@ -35,11 +35,11 @@ main_menu() { update_menu() { show_ascii_art - local menu=("Omarchy" "Waybar" "Wofi" "Plymouth" "Desktop apps" "Back") + local menu=("Omarchy" "Waybar" "Walker" "Plymouth" "Desktop apps" "Back") local commands=( "omarchy-update" "omarchy-refresh-waybar" - "omarchy-refresh-wofi" + "omarchy-refresh-walker" "omarchy-refresh-plymouth" "omarchy-refresh-applications" "main_menu" diff --git a/bin/omarchy-dev-config-link b/bin/omarchy-dev-config-link index b6152a5..a51c99a 100755 --- a/bin/omarchy-dev-config-link +++ b/bin/omarchy-dev-config-link @@ -5,4 +5,3 @@ ln -nsf ~/.local/share/omarchy/config/hypr/hyprland.conf ~/.config/hypr/ ln -nsf ~/.local/share/omarchy/config/hypr/hypridle.conf ~/.config/hypr/ ln -nsf ~/.local/share/omarchy/config/hypr/hyprlock.conf ~/.config/hypr/ ln -nsf ~/.local/share/omarchy/config/waybar/config.jsonc ~/.config/waybar/ -ln -nsf ~/.local/share/omarchy/config/wofi/config ~/.config/wofi/ diff --git a/bin/omarchy-menu-keybindings b/bin/omarchy-menu-keybindings index 8750e76..622bcff 100755 --- a/bin/omarchy-menu-keybindings +++ b/bin/omarchy-menu-keybindings @@ -1,15 +1,13 @@ #!/bin/bash # A script to display Hyprland keybindings defined in your configuration -# using wofi for an interactive search menu. +# using walker for an interactive search menu. USER_HYPRLAND_CONF="$HOME/.config/hypr/hyprland.conf" -OMARCHY_BINDINGS_CONF="$HOME/.local/share/omarchy/default/hypr/bindings.conf $HOME/.local/share/omarchy/default/hypr/bindings/tiling.conf $HOME/.local/share/omarchy/default/hypr/bindings/utilities.conf $HOME/.local/share/omarchy/default/hypr/bindings.conf $HOME/.local/share/omarchy/default/hypr/media.conf" - OMARCHY_BINDINGS_CONF="$HOME/.local/share/omarchy/default/hypr/bindings.conf \ $HOME/.local/share/omarchy/default/hypr/bindings/tiling.conf \ $HOME/.local/share/omarchy/default/hypr/bindings/utilities.conf \ -$HOME/.local/share/omarchy/default/hypr/media.conf" +$HOME/.local/share/omarchy/default/hypr/bindings/media.conf" # Process the configuration file to extract and format keybindings # 1. `grep` finds all lines starting with 'bind' (allowing for leading spaces). @@ -53,7 +51,14 @@ grep -h '^[[:space:]]*bind' $USER_HYPRLAND_CONF $OMARCHY_BINDINGS_CONF | gsub(/[ \t]+/, " ", key_combo); # Collapse multiple spaces to one if (action != "") { + # Escape XML entities + gsub(/&/, "\\&", action); + gsub(//, "\\>", action); + gsub(/"/, "\\"", action); + gsub(/'"'"'/, "\\'", action); + printf "%-35s → %s\n", key_combo, action; } }' | - wofi -dmenu -i --width 60% --height 70% -p 'Hyprland Keybindings' -O alphabetical + walker --dmenu --theme keybindings -p 'Keybindings' diff --git a/bin/omarchy-menu-power b/bin/omarchy-menu-power index 1c3d9dd..9535cd5 100755 --- a/bin/omarchy-menu-power +++ b/bin/omarchy-menu-power @@ -7,8 +7,7 @@ show_power_menu() { \u200D Relaunch \u2060󰜉 Restart \u2063󰐥 Shutdown" - - local selection=$(echo -e "$menu_options" | wofi --show dmenu --width 150 --height 195 -O alphabetical --style ~/.config/wofi/select.css) + local selection=$(echo -e "$menu_options" | walker --dmenu --theme dmenu_150) case "$selection" in *Lock*) hyprlock ;; diff --git a/bin/omarchy-refresh-walker b/bin/omarchy-refresh-walker new file mode 100755 index 0000000..734c6b7 --- /dev/null +++ b/bin/omarchy-refresh-walker @@ -0,0 +1,5 @@ +#!/bin/bash + +if [[ "$1" == "-y" ]] || gum confirm "Refresh Walker config? This will replace your current settings with Omarchy defaults."; then + cp -f ~/.local/share/omarchy/config/walker/config.toml ~/.config/walker/ 2>/dev/null +fi diff --git a/bin/omarchy-refresh-wofi b/bin/omarchy-refresh-wofi deleted file mode 100755 index 3f2f9e3..0000000 --- a/bin/omarchy-refresh-wofi +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -if [[ "$1" == "-y" ]] || gum confirm "Refresh Wofi config? This will replace your current settings with Omarchy defaults."; then - # Overwrite local waybar settings with the latest in Omarchy - cp -f ~/.local/share/omarchy/config/wofi/config ~/.config/wofi/ 2>/dev/null - cp -f ~/.local/share/omarchy/config/wofi/style.css ~/.config/wofi/ 2>/dev/null - cp -f ~/.local/share/omarchy/config/wofi/select.css ~/.config/wofi/ 2>/dev/null -fi diff --git a/bin/omarchy-theme-menu b/bin/omarchy-theme-menu index 7eefaaf..96ca993 100755 --- a/bin/omarchy-theme-menu +++ b/bin/omarchy-theme-menu @@ -18,14 +18,8 @@ mapfile -t themes < <( done | sort ) -# Show Wofi menu (with markup support) -selection=$(printf '%s\n' "${themes[@]}" | wofi \ - --show dmenu \ - --allow-markup \ - --width 200 \ - --height 400 \ - -O alphabetical \ - --style ~/.config/wofi/select.css 2>/dev/null) +# Show Walker menu +selection=$(printf '%s\n' "${themes[@]}" | walker --dmenu --theme dmenu_250 2>/dev/null) # Remove any Pango markup before converting back to filename clean_selection=$(echo "$selection" | sed -E 's/<[^>]+>//g') diff --git a/config/walker/config.toml b/config/walker/config.toml new file mode 100644 index 0000000..cd13e8d --- /dev/null +++ b/config/walker/config.toml @@ -0,0 +1,291 @@ +app_launch_prefix = "uwsm app -- " +terminal_title_flag = "" +locale = "" +close_when_open = true # Toggle on reopen +theme = "omarchy-default" +theme_base = [] +theme_location = ["~/.local/share/omarchy/default/walker/themes/"] +monitor = "" +hotreload_theme = false +as_window = false +timeout = 0 +disable_click_to_close = false +force_keyboard_focus = true + +[keys] +accept_typeahead = ["tab"] +trigger_labels = "lalt" +next = ["down"] +prev = ["up"] +close = ["esc"] +remove_from_history = ["shift backspace"] +resume_query = ["ctrl r"] +toggle_exact_search = ["ctrl m"] + +[keys.activation_modifiers] +keep_open = "shift" +alternate = "alt" + +[keys.ai] +clear_session = ["ctrl x"] +copy_last_response = ["ctrl c"] +resume_session = ["ctrl r"] +run_last_responstruee = ["ctrl e"] + +[events] +on_activate = "" +on_selection = "" +on_exit = "" +on_launch = "" +on_query_change = "" + +[list] +dynamic_sub = true +keyboard_scroll_style = "emacs" +max_entries = 50 +show_initial_entries = true +single_click = true +visibility_threshold = 20 +placeholder = "No Results" + +[search] +argument_delimiter = "#" +placeholder = " Search..." +delay = 0 +resume_last_query = false + +[activation_mode] +labels = "jkl;asdf" + +[builtins.hyprland_keybinds] +show_sub_when_single = true +path = "~/.config/hypr/hyprland.conf" +weight = 5 +name = "hyprland_keybinds" +placeholder = "Hyprland Keybinds" +switcher_only = true +hidden = true + +[builtins.applications] +weight = 5 +name = "applications" +placeholder = " Search..." +prioritize_new = true +hide_actions_with_empty_query = true +context_aware = true +refresh = true +show_sub_when_single = false +show_icon_when_single = true +show_generic = true +history = false +icon = "" +hidden = true + +[builtins.applications.actions] +enabled = false +hide_category = true +hide_without_query = true + +[builtins.bookmarks] +weight = 5 +placeholder = "Bookmarks" +name = "bookmarks" +icon = "bookmark" +switcher_only = true +hidden = true + +[[builtins.bookmarks.entries]] +label = "Walker" +url = "https://github.com/abenz1267/walker" +keywords = ["walker", "github"] + +[[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.xdph_picker] +hidden = true +weight = 5 +placeholder = "Screen/Window Picker" +show_sub_when_single = true +name = "xdphpicker" +switcher_only = true + +[builtins.ai] +weight = 5 +placeholder = "AI" +name = "ai" +icon = "help-browser" +switcher_only = true +show_sub_when_single = true + +[[builtins.ai.anthropic.prompts]] +model = "claude-3-7-sonnet-20250219" +temperature = 1 +max_tokens = 1_000 +label = "General Assistant" +prompt = "You are a helpful general assistant. Keep your answers short and precise." + +[builtins.calc] +require_number = true +weight = 5 +name = "Calculator" +icon = "accessories-calculator" +placeholder = "Calculator" +min_chars = 3 # Min chars to calculate. 3 allows "3+3" + +[builtins.windows] +weight = 5 +icon = "view-restore" +name = "windows" +placeholder = "Windows" +show_icon_when_single = true +switcher_only = true +hidden = true + +[builtins.clipboard] +always_put_new_on_top = true +exec = "wl-copy" +weight = 5 +name = "clipboard" +avoid_line_breaks = true +placeholder = "Clipboard" +image_height = 300 +max_entries = 10 +switcher_only = true +hidden = true + +[builtins.commands] +weight = 5 +icon = "utilities-terminal" +switcher_only = true +name = "commands" +placeholder = "Commands" +hidden = true + +[builtins.custom_commands] +weight = 5 +icon = "utilities-terminal" +name = "custom_commands" +placeholder = "Custom Commands" +hidden = true + +[builtins.emojis] +exec = "wl-copy" +weight = 5 +name = "Emojis" +placeholder = "Emojis" +switcher_only = true +history = true +typeahead = true +show_unqualified = false +prefix = "." + +[builtins.symbols] +after_copy = "" +weight = 5 +name = "symbols" +placeholder = "Symbols" +switcher_only = true +history = true +typeahead = true +hidden = true + +[builtins.finder] +use_fd = false +fd_flags = "--ignore-vcs --type file --type directory" +cmd_alt = "xdg-open $(dirname ~/%RESULT%)" +weight = 5 +icon = "file" +name = "finder" +placeholder = "Finder" +switcher_only = true +ignore_gitignore = true +refresh = true +concurrency = 8 +show_icon_when_single = true +preview_images = false +hidden = true + +[builtins.runner] +eager_loading = true +weight = 5 +icon = "utilities-terminal" +name = "runner" +placeholder = "Runner" +typeahead = true +history = true +generic_entry = false # Generic command runner +shell_config = "" # Path to shell to parse for aliases +refresh = true +use_fd = false +switcher_only = true +hidden = true + +[builtins.ssh] +weight = 5 +icon = "preferences-system-network" +name = "ssh" +placeholder = "SSH" +switcher_only = true +history = true +refresh = true +hidden = true + +[builtins.switcher] +weight = 5 +name = "switcher" +placeholder = "Switcher" +prefix = "/" + +[builtins.websearch] +keep_selection = true +weight = 5 +icon = "applications-internet" +name = "websearch" +placeholder = "Websearch" +switcher_only = true +hidden = true + +[[builtins.websearch.entries]] +name = "Google" +url = "https://www.google.com/search?q=%TERM%" + +[[builtins.websearch.entries]] +name = "DuckDuckGo" +url = "https://duckduckgo.com/?q=%TERM%" +switcher_only = true + +[[builtins.websearch.entries]] +name = "Ecosia" +url = "https://www.ecosia.org/search?q=%TERM%" +switcher_only = true + +[[builtins.websearch.entries]] +name = "Yandex" +url = "https://yandex.com/search/?text=%TERM%" +switcher_only = true + +[builtins.dmenu] +hidden = true +weight = 5 +name = "dmenu" +placeholder = "Dmenu" +switcher_only = true +show_icon_when_single = true + +[builtins.translation] +delay = 1000 +weight = 5 +name = "translation" +icon = "accessories-dictionary" +placeholder = "Translation" +switcher_only = true +provider = "googlefree" +hidden = true diff --git a/config/wofi/config b/config/wofi/config deleted file mode 100644 index adf78c7..0000000 --- a/config/wofi/config +++ /dev/null @@ -1,15 +0,0 @@ -width=600 -height=350 -location=center -show=drun -prompt=Search... -filter_rate=100 -allow_markup=true -no_actions=true -halign=fill -orientation=vertical -content_halign=fill -insensitive=true -allow_images=true -image_size=40 -gtk_dark=true diff --git a/config/wofi/select.css b/config/wofi/select.css deleted file mode 100644 index a55a7bb..0000000 --- a/config/wofi/select.css +++ /dev/null @@ -1,11 +0,0 @@ -/* Use by power menu, theme selector, and other menus without visible search bar */ - -@import ".config/wofi/style.css"; - -#input { - display: none; - opacity: 0; - margin-top: -200px; -} - -@import ".config/omarchy/current/theme/wofi.css"; diff --git a/config/wofi/style.css b/config/wofi/style.css deleted file mode 100644 index e6bb68f..0000000 --- a/config/wofi/style.css +++ /dev/null @@ -1,74 +0,0 @@ -/* Colors are defined by theme file and can be referenced via @base, @text, @selected-text, and @border */ - -* { - font-family: 'CaskaydiaMono Nerd Font', monospace; - font-size: 18px; -} - -window { - margin: 0px; - padding: 20px; - background-color: @base; - opacity: 0.95; -} - -#inner-box { - margin: 0; - padding: 0; - border: none; - background-color: @base; -} - -#outer-box { - margin: 0; - padding: 20px; - border: none; - background-color: @base; - border: 2px solid @border; -} - -#scroll { - margin: 0; - padding: 0; - border: none; - background-color: @base; -} - -#input { - margin: 0; - padding: 10px; - border: none; - background-color: @base; - color: @text; -} - -#input:focus { - outline: none; - box-shadow: none; - border: none; -} - -#text { - margin: 5px; - border: none; - color: @text; -} - -#entry { - background-color: @base; -} - -#entry:selected { - outline: none; - border: none; -} - -#entry:selected #text { - color: @selected-text; -} - -#entry image { - -gtk-icon-transform: scale(0.7); -} - -@import ".config/omarchy/current/theme/wofi.css"; diff --git a/default/hypr/autostart.conf b/default/hypr/autostart.conf index c77942b..8b04359 100644 --- a/default/hypr/autostart.conf +++ b/default/hypr/autostart.conf @@ -3,5 +3,6 @@ exec-once = uwsm app -- mako exec-once = uwsm app -- waybar exec-once = uwsm app -- fcitx5 exec-once = uwsm app -- swaybg -i ~/.config/omarchy/current/background -m fill +exec-once = uwsm app -- walker --gapplication-service 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).+' diff --git a/default/hypr/bindings/utilities.conf b/default/hypr/bindings/utilities.conf index 7f28201..070938d 100644 --- a/default/hypr/bindings/utilities.conf +++ b/default/hypr/bindings/utilities.conf @@ -1,11 +1,11 @@ # Launching -bind = SUPER, space, exec, pkill wofi || wofi --show drun -O alphabetical -bind = SUPER, K, exec, pkill wofi || ~/.local/share/omarchy/bin/omarchy-menu-keybindings +bind = SUPER, space, exec, walker +bind = SUPER, K, exec, ~/.local/share/omarchy/bin/omarchy-menu-keybindings # Aesthetics bind = SUPER SHIFT, SPACE, exec, pkill -SIGUSR1 waybar bind = SUPER CTRL, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-theme-bg-next -bind = SUPER SHIFT CTRL, SPACE, exec, pkill wofi || ~/.local/share/omarchy/bin/omarchy-theme-menu +bind = SUPER SHIFT CTRL, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-theme-menu # Notifications bind = SUPER, comma, exec, makoctl dismiss @@ -13,7 +13,7 @@ bind = SUPER SHIFT, comma, exec, makoctl dismiss --all bind = SUPER CTRL, comma, exec, makoctl mode -t do-not-disturb && makoctl mode | grep -q 'do-not-disturb' && notify-send "Silenced notifications" || notify-send "Enabled notifications" # Power menu controls lock, suspend, relaunch, restart, shutdown -bind = SUPER, ESCAPE, exec, pkill wofi || ~/.local/share/omarchy/bin/omarchy-menu-power +bind = SUPER, ESCAPE, exec, ~/.local/share/omarchy/bin/omarchy-menu-power # Toggle idling bind = SUPER CTRL, I, exec, ~/.local/share/omarchy/bin/omarchy-toggle-idle diff --git a/default/hypr/looknfeel.conf b/default/hypr/looknfeel.conf index d73f677..8e9f587 100644 --- a/default/hypr/looknfeel.conf +++ b/default/hypr/looknfeel.conf @@ -69,6 +69,9 @@ animations { animation = workspaces, 0, 0, ease } +# Application-sepcific animation +layerrule=noanim,walker + # Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/ # "Smart gaps" / "No gaps when only" # uncomment all if you wish to use that. diff --git a/default/hypr/windows.conf b/default/hypr/windows.conf index ed1031e..877342d 100644 --- a/default/hypr/windows.conf +++ b/default/hypr/windows.conf @@ -27,6 +27,3 @@ windowrule = opacity 1 1, class:^(com.libretro.RetroArch|steam)$ # Fix some dragging issues with XWayland windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 - -# Proper background blur for wofi -layerrule = blur,wofi diff --git a/default/walker/themes/dmenu_150.css b/default/walker/themes/dmenu_150.css new file mode 100644 index 0000000..6b78eac --- /dev/null +++ b/default/walker/themes/dmenu_150.css @@ -0,0 +1,2 @@ +@import url("file://~//.local/share/omarchy/default/walker/themes/omarchy-default.css"); +@import url("file://~/.config/omarchy/current/theme/walker.css"); diff --git a/default/walker/themes/dmenu_150.toml b/default/walker/themes/dmenu_150.toml new file mode 100644 index 0000000..f2c02bd --- /dev/null +++ b/default/walker/themes/dmenu_150.toml @@ -0,0 +1,10 @@ +[ui.window.box] +width = 150 + +[ui.window.box.scroll.list] +max_width = 150 +min_width = 150 +width = 150 + +[ui.window.box.search] +hide = true diff --git a/default/walker/themes/dmenu_250.css b/default/walker/themes/dmenu_250.css new file mode 100644 index 0000000..6b78eac --- /dev/null +++ b/default/walker/themes/dmenu_250.css @@ -0,0 +1,2 @@ +@import url("file://~//.local/share/omarchy/default/walker/themes/omarchy-default.css"); +@import url("file://~/.config/omarchy/current/theme/walker.css"); diff --git a/default/walker/themes/dmenu_250.toml b/default/walker/themes/dmenu_250.toml new file mode 100644 index 0000000..c506cb7 --- /dev/null +++ b/default/walker/themes/dmenu_250.toml @@ -0,0 +1,10 @@ +[ui.window.box] +width = 250 + +[ui.window.box.scroll.list] +max_width = 250 +min_width = 250 +width = 250 + +[ui.window.box.search] +hide = true diff --git a/default/walker/themes/keybindings.css b/default/walker/themes/keybindings.css new file mode 100644 index 0000000..6b78eac --- /dev/null +++ b/default/walker/themes/keybindings.css @@ -0,0 +1,2 @@ +@import url("file://~//.local/share/omarchy/default/walker/themes/omarchy-default.css"); +@import url("file://~/.config/omarchy/current/theme/walker.css"); diff --git a/default/walker/themes/keybindings.toml b/default/walker/themes/keybindings.toml new file mode 100644 index 0000000..c5d1b78 --- /dev/null +++ b/default/walker/themes/keybindings.toml @@ -0,0 +1,48 @@ +[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 diff --git a/default/walker/themes/omarchy-default.css b/default/walker/themes/omarchy-default.css new file mode 100644 index 0000000..e0f9a0c --- /dev/null +++ b/default/walker/themes/omarchy-default.css @@ -0,0 +1,166 @@ +@import url("file://~/.config/omarchy/current/theme/walker.css"); + +/* Reset all elements */ +#window, +#box, +#search, +#password, +#input, +#prompt, +#clear, +#typeahead, +#list, +child, +scrollbar, +slider, +#item, +#text, +#label, +#sub, +#activationlabel { + all: unset; +} + +* { + font-family: 'CaskaydiaMono Nerd Font', 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; +} + +/* 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; +} + diff --git a/default/walker/themes/omarchy-default.toml b/default/walker/themes/omarchy-default.toml new file mode 100644 index 0000000..9abc5d8 --- /dev/null +++ b/default/walker/themes/omarchy-default.toml @@ -0,0 +1,16 @@ +[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 diff --git a/install/hyprlandia.sh b/install/hyprlandia.sh index a13fccc..8c23142 100644 --- a/install/hyprlandia.sh +++ b/install/hyprlandia.sh @@ -2,5 +2,5 @@ yay -S --noconfirm --needed \ hyprland hyprshot hyprpicker hyprlock hypridle polkit-gnome hyprland-qtutils \ - wofi waybar mako swaybg \ + walker-bin libqalculate waybar mako swaybg \ xdg-desktop-portal-hyprland xdg-desktop-portal-gtk diff --git a/migrations/1752551006.sh b/migrations/1752551006.sh deleted file mode 100644 index efa955c..0000000 --- a/migrations/1752551006.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Make wofi stylesheet user editable" -if [[ -L "$HOME/.config/wofi/style.css" ]]; then - rm "$HOME/.config/wofi/style.css" - cp ~/.local/share/omarchy/config/wofi/style.css ~/.config/wofi/ - cp ~/.local/share/omarchy/config/wofi/search.css ~/.config/wofi/ -fi diff --git a/migrations/1752673060.sh b/migrations/1752673060.sh deleted file mode 100644 index 4e2df85..0000000 --- a/migrations/1752673060.sh +++ /dev/null @@ -1,2 +0,0 @@ -echo "Make all wofi stylesheets user editable" -omarchy-refresh-wofi -y diff --git a/migrations/1752981883.sh b/migrations/1752981883.sh new file mode 100644 index 0000000..ae3f485 --- /dev/null +++ b/migrations/1752981883.sh @@ -0,0 +1,11 @@ +echo "Replace wofi with walker as the default launcher" + +if [[ ! -d ~/.config/walker ]]; then + yay -Sy --noconfirm --needed walker-bin libqalculate + + yay -Rns --noconfirm wofi + rm -rf ~/.config/wofi + + mkdir -p ~/.config/walker + cp -r ~/.local/share/omarchy/config/walker/* ~/.config/walker/ +fi diff --git a/themes/catppuccin-latte/walker.css b/themes/catppuccin-latte/walker.css new file mode 100644 index 0000000..30e54bd --- /dev/null +++ b/themes/catppuccin-latte/walker.css @@ -0,0 +1,6 @@ +@define-color selected-text #1e66f5; +@define-color text #4c4f69; +@define-color base #eff1f5; +@define-color border #dce0e8; +@define-color foreground #4c4f69; +@define-color background #eff1f5; diff --git a/themes/catppuccin-latte/wofi.css b/themes/catppuccin-latte/wofi.css deleted file mode 100644 index 077dd68..0000000 --- a/themes/catppuccin-latte/wofi.css +++ /dev/null @@ -1,4 +0,0 @@ -@define-color selected-text #1e66f5; /* blue */ -@define-color text #4c4f69; /* text */ -@define-color base #eff1f5; /* base */ -@define-color border #dce0e8; /* crust */ diff --git a/themes/catppuccin/walker.css b/themes/catppuccin/walker.css new file mode 100644 index 0000000..4b0d346 --- /dev/null +++ b/themes/catppuccin/walker.css @@ -0,0 +1,6 @@ +@define-color selected-text #8caaee; +@define-color text #c6d0f5; +@define-color base #24273a; +@define-color border #c6d0f5; +@define-color foreground #c6d0f5; +@define-color background #24273a; diff --git a/themes/catppuccin/wofi.css b/themes/catppuccin/wofi.css deleted file mode 100644 index 7dd3bb5..0000000 --- a/themes/catppuccin/wofi.css +++ /dev/null @@ -1,4 +0,0 @@ -@define-color selected-text #8caaee; -@define-color text #c6d0f5; -@define-color base #24273a; -@define-color border #c6d0f5; diff --git a/themes/everforest/walker.css b/themes/everforest/walker.css new file mode 100644 index 0000000..56d6e56 --- /dev/null +++ b/themes/everforest/walker.css @@ -0,0 +1,6 @@ +@define-color selected-text #dbbc7f; +@define-color text #d3c6aa; +@define-color base #2d353b; +@define-color border #d3c6aa; +@define-color foreground #d3c6aa; +@define-color background #2d353b; diff --git a/themes/everforest/wofi.css b/themes/everforest/wofi.css deleted file mode 100644 index e4ea073..0000000 --- a/themes/everforest/wofi.css +++ /dev/null @@ -1,4 +0,0 @@ -@define-color selected-text #dbbc7f; -@define-color text #d3c6aa; -@define-color base #2d353b; -@define-color border #d3c6aa; diff --git a/themes/gruvbox/walker.css b/themes/gruvbox/walker.css new file mode 100644 index 0000000..6192cd6 --- /dev/null +++ b/themes/gruvbox/walker.css @@ -0,0 +1,6 @@ +@define-color selected-text #fabd2f; +@define-color text #ebdbb2; +@define-color base #282828; +@define-color border #ebdbb2; +@define-color foreground #ebdbb2; +@define-color background #282828; diff --git a/themes/gruvbox/wofi.css b/themes/gruvbox/wofi.css deleted file mode 100644 index 42d68ef..0000000 --- a/themes/gruvbox/wofi.css +++ /dev/null @@ -1,4 +0,0 @@ -@define-color selected-text #fabd2f; -@define-color text #ebdbb2; -@define-color base #282828; -@define-color border #ebdbb2; diff --git a/themes/kanagawa/walker.css b/themes/kanagawa/walker.css new file mode 100644 index 0000000..8284746 --- /dev/null +++ b/themes/kanagawa/walker.css @@ -0,0 +1,6 @@ +@define-color selected-text #dca561; +@define-color text #dcd7ba; +@define-color base #1f1f28; +@define-color border #dcd7ba; +@define-color foreground #dcd7ba; +@define-color background #1f1f28; diff --git a/themes/kanagawa/wofi.css b/themes/kanagawa/wofi.css deleted file mode 100644 index 8c45967..0000000 --- a/themes/kanagawa/wofi.css +++ /dev/null @@ -1,4 +0,0 @@ -@define-color selected-text #dca561; -@define-color text #dcd7ba; -@define-color base #1f1f28; -@define-color border #dcd7ba; diff --git a/themes/matte-black/walker.css b/themes/matte-black/walker.css new file mode 100644 index 0000000..d3d606b --- /dev/null +++ b/themes/matte-black/walker.css @@ -0,0 +1,6 @@ +@define-color selected-text #B91C1C; +@define-color text #EAEAEA; +@define-color base #121212; +@define-color border #EAEAEA88; +@define-color foreground #EAEAEA; +@define-color background #121212; diff --git a/themes/matte-black/wofi.css b/themes/matte-black/wofi.css deleted file mode 100644 index a699672..0000000 --- a/themes/matte-black/wofi.css +++ /dev/null @@ -1,8 +0,0 @@ -@define-color selected-text #B91C1C; -@define-color text #EAEAEA; -@define-color base #121212; - -@define-color selected-text #B91C1C; -@define-color text #EAEAEA; -@define-color base #121212; -@define-color border #EAEAEA; diff --git a/themes/nord/walker.css b/themes/nord/walker.css new file mode 100644 index 0000000..2e20d17 --- /dev/null +++ b/themes/nord/walker.css @@ -0,0 +1,6 @@ +@define-color selected-text #88C0D0; +@define-color text #D8DEE9; +@define-color base #2E3440; +@define-color border #D8DEE9; +@define-color foreground #D8DEE9; +@define-color background #2E3440; diff --git a/themes/nord/wofi.css b/themes/nord/wofi.css deleted file mode 100644 index 17190dd..0000000 --- a/themes/nord/wofi.css +++ /dev/null @@ -1,4 +0,0 @@ -@define-color selected-text #88C0D0; -@define-color text #D8DEE9; -@define-color base #2E3440; -@define-color border #D8DEE9; diff --git a/themes/rose-pine/walker.css b/themes/rose-pine/walker.css new file mode 100644 index 0000000..a6188c8 --- /dev/null +++ b/themes/rose-pine/walker.css @@ -0,0 +1,6 @@ +@define-color selected-text #88C0D0; +@define-color text #575279; +@define-color base #faf4ed; +@define-color border #575279; +@define-color foreground #575279; +@define-color background #faf4ed; diff --git a/themes/rose-pine/wofi.css b/themes/rose-pine/wofi.css deleted file mode 100644 index 51bf573..0000000 --- a/themes/rose-pine/wofi.css +++ /dev/null @@ -1,4 +0,0 @@ -@define-color selected-text #88C0D0; -@define-color text #575279; -@define-color base #faf4ed; -@define-color border #575279; diff --git a/themes/tokyo-night/walker.css b/themes/tokyo-night/walker.css new file mode 100644 index 0000000..aeb271d --- /dev/null +++ b/themes/tokyo-night/walker.css @@ -0,0 +1,6 @@ +@define-color selected-text #7dcfff; +@define-color text #cfc9c2; +@define-color base #1a1b26; +@define-color border #33ccff; +@define-color foreground #cfc9c2; +@define-color background #1a1b26; diff --git a/themes/tokyo-night/wofi.css b/themes/tokyo-night/wofi.css deleted file mode 100644 index 0c21483..0000000 --- a/themes/tokyo-night/wofi.css +++ /dev/null @@ -1,4 +0,0 @@ -@define-color selected-text #7dcfff; -@define-color text #cfc9c2; -@define-color base #1a1b26; -@define-color border #33ccff;