From 0a90f76cf3285358d1fff3c72f3e59793db7d80b Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Tue, 3 Feb 2026 11:56:07 +0000 Subject: [PATCH] Added elephant/walker config --- dot_config/elephant/websearch.toml | 19 ++ dot_config/walker/config.toml | 43 ++++ .../walker/themes/tokyo-night/style.css | 198 ++++++++++++++++++ 3 files changed, 260 insertions(+) create mode 100644 dot_config/elephant/websearch.toml create mode 100644 dot_config/walker/config.toml create mode 100644 dot_config/walker/themes/tokyo-night/style.css diff --git a/dot_config/elephant/websearch.toml b/dot_config/elephant/websearch.toml new file mode 100644 index 0000000..8e06f67 --- /dev/null +++ b/dot_config/elephant/websearch.toml @@ -0,0 +1,19 @@ +[[entries]] +name = "Qwant" +url = "https://www.qwant.com/?q=%TERM%" +default = true + +[[entries]] +name = "Wikipedia" +url = "https://en.wikipedia.org/wiki/Special:Search?search=%TERM%" +default = false + +[[entries]] +name = "Nix Packages" +url = "https://search.nixos.org/packages?channel=unstable&query=%TERM%" +default = false + +[[entries]] +name = "Nix Options" +url = "https://search.nixos.org/options?channel=unstable&query=%TERM%" +default = false diff --git a/dot_config/walker/config.toml b/dot_config/walker/config.toml new file mode 100644 index 0000000..555d874 --- /dev/null +++ b/dot_config/walker/config.toml @@ -0,0 +1,43 @@ +theme = "tokyo-night" + +[window] +width = 450 +height = 400 + +[keybinds] +quick_activate = ["1", "2", "3", "4", "5"] + +[placeholders.default] +input = " Search..." +list = "No Results" + +[columns] +symbols = 1 + +[providers] +max_results = 256 +default = ["desktopapplications", "websearch"] + +[[providers.prefixes]] +prefix = "/" +provider = "providerlist" + +[[providers.prefixes]] +prefix = "." +provider = "files" + +[[providers.prefixes]] +prefix = ":" +provider = "symbols" + +[[providers.prefixes]] +prefix = "=" +provider = "calc" + +[[providers.prefixes]] +prefix = "@" +provider = "websearch" + +[[providers.prefixes]] +prefix = "$" +provider = "clipboard" diff --git a/dot_config/walker/themes/tokyo-night/style.css b/dot_config/walker/themes/tokyo-night/style.css new file mode 100644 index 0000000..04d2924 --- /dev/null +++ b/dot_config/walker/themes/tokyo-night/style.css @@ -0,0 +1,198 @@ +/* Tokyo Night Color Definitions */ +@define-color window_bg_color #1a1b26; +@define-color accent_bg_color #7aa2f7; +@define-color theme_fg_color #c0caf5; +@define-color error_bg_color #f7768e; +@define-color error_fg_color #15161e; + +* { + all: unset; + font-family: "MonaspiceNe Nerd Font Mono", monospace; +} + +popover { + background: lighter(@window_bg_color); + border: 1px solid darker(@accent_bg_color); + border-radius: 18px; + padding: 10px; +} + +.normal-icons { + -gtk-icon-size: 16px; +} + +.large-icons { + -gtk-icon-size: 32px; +} + +scrollbar { + opacity: 0; +} + +.box-wrapper { + box-shadow: + 0 19px 38px rgba(0, 0, 0, 0.3), + 0 15px 12px rgba(0, 0, 0, 0.22); + background: @window_bg_color; + padding: 20px; + border-radius: 20px; + border: 1px solid darker(@accent_bg_color); +} + +.preview-box, +.elephant-hint, +.placeholder { + color: @theme_fg_color; +} + +.box {} + +.search-container { + border-radius: 10px; +} + +.input placeholder { + opacity: 0.5; +} + +.input selection { + background: lighter(lighter(lighter(@window_bg_color))); +} + +.input { + caret-color: @theme_fg_color; + background: lighter(@window_bg_color); + padding: 10px; + color: @theme_fg_color; +} + +.input:focus, +.input:active {} + +.content-container {} + +.placeholder {} + +.scroll {} + +.list { + color: @theme_fg_color; +} + +child {} + +.item-box { + border-radius: 10px; + padding: 10px; +} + +.item-quick-activation { + background: alpha(@accent_bg_color, 0.25); + border-radius: 5px; + padding: 10px; +} + +/* child:hover .item-box, */ +child:selected .item-box { + background: alpha(@accent_bg_color, 0.25); +} + +.item-text-box {} + +.item-subtext { + font-size: 12px; + opacity: 0.5; +} + +.providerlist .item-subtext { + font-size: unset; + opacity: 0.75; +} + +.item-image-text { + font-size: 28px; +} + +.preview { + border: 1px solid alpha(@accent_bg_color, 0.25); + /* padding: 10px; */ + border-radius: 10px; + color: @theme_fg_color; +} + +.calc .item-text { + font-size: 24px; +} + +.calc .item-subtext {} + +.symbols .item-image { + font-size: 24px; +} + +.todo.done .item-text-box { + opacity: 0.25; +} + +.todo.urgent { + font-size: 24px; +} + +.todo.active { + font-weight: bold; +} + +.bluetooth.disconnected { + opacity: 0.5; +} + +.preview .large-icons { + -gtk-icon-size: 64px; +} + +.keybinds { + padding-top: 10px; + border-top: 1px solid lighter(@window_bg_color); + font-size: 12px; + color: @theme_fg_color; +} + +.global-keybinds {} + +.item-keybinds {} + +.keybind {} + +.keybind-button { + opacity: 0.5; +} + +.keybind-button:hover { + opacity: 0.75; +} + +.keybind-bind { + text-transform: lowercase; + opacity: 0.35; +} + +.keybind-label { + padding: 2px 4px; + border-radius: 4px; + border: 1px solid @theme_fg_color; +} + +.error { + padding: 10px; + background: @error_bg_color; + color: @error_fg_color; +} + +:not(.calc).current { + font-style: italic; +} + +.preview-content.archlinuxpkgs, +.preview-content.dnfpackages { + font-family: monospace; +}