dots/stow/.config/walker/config.toml
2025-05-03 16:34:34 +10:00

317 lines
5.6 KiB
TOML

# general
app_launch_prefix = ""
terminal_title_flag = ""
locale = ""
close_when_open = false
theme = "tokyonight"
monitor = ""
hotreload_theme = true
as_window = false
timeout = 0
disable_click_to_close = false
force_keyboard_focus = false
# keybinds
[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"
[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 = false
single_click = true
visibility_threshold = 20
placeholder = "no results"
[search]
argument_delimiter = "#"
placeholder = "search..."
delay = 0
resume_last_query = true
[activation_mode]
labels = "jkl;asdf"
#
# modules
#
[builtins.applications]
weight = 5
name = "applications"
placeholder = "Applications"
prioritize_new = true
hide_actions_with_empty_query = true
context_aware = true
refresh = true
show_sub_when_single = true
show_icon_when_single = true
show_generic = true
history = true
[builtins.applications.actions]
enabled = true
hide_category = false
hide_without_query = true
weight = 4
[builtins.xdph_picker]
hidden = true
weight = 5
placeholder = "Screen/Window Picker"
show_sub_when_single = true
name = "xdphpicker"
switcher_only = false
[builtins.calc]
require_number = true
weight = 5
name = "calc"
icon = "accessories-calculator"
placeholder = "Calculator"
min_chars = 4
[builtins.windows]
weight = 3
icon = "view-restore"
name = "windows"
placeholder = "Windows"
show_icon_when_single = true
[builtins.clipboard]
exec = "wl-copy"
weight = 5
name = "clipboard"
avoid_line_breaks = true
placeholder = "Clipboard"
image_height = 300
max_entries = 10
switcher_only = true
[builtins.commands]
weight = -1
icon = "utilities-terminal"
switcher_only = true
name = "commands"
placeholder = "Commands"
[builtins.emojis]
exec = "wl-copy"
weight = 2
name = "emojis"
placeholder = "Emojis"
switcher_only = false
history = true
typeahead = true
show_unqualified = false
[builtins.symbols]
after_copy = ""
weight = 1
name = "symbols"
placeholder = "Symbols"
switcher_only = false
history = true
typeahead = true
[builtins.finder]
use_fd = false
weight = 5
icon = "file"
name = "finder"
placeholder = "Finder"
switcher_only = true
ignore_gitignore = true
refresh = true
concurrency = 8
show_icon_when_single = true
[builtins.runner]
weight = 5
icon = "utilities-terminal"
name = "runner"
placeholder = "Runner"
typeahead = true
history = true
generic_entry = false
refresh = true
switcher_only = true
[builtins.ssh]
weight = 5
icon = "preferences-system-network"
name = "ssh"
placeholder = "SSH"
switcher_only = true
history = true
refresh = true
[builtins.switcher]
weight = 5
name = "switcher"
placeholder = "Switcher"
prefix = "/"
[builtins.dmenu]
hidden = true
weight = 5
name = "dmenu"
placeholder = "Dmenu"
switcher_only = true
#
# ai
#
[builtins.ai]
weight = 5
placeholder = "AI"
name = "ai"
icon = "help-browser"
switcher_only = true
[keys.ai]
clear_session = ["ctrl x"]
copy_last_response = ["ctrl c"]
resume_session = ["ctrl r"]
run_last_response = ["ctrl e"]
[[builtins.ai.anthropic.prompts]]
model = "claude-3-5-sonnet-20241022"
temperature = 1
max_tokens = 1_000
label = "General Assistant"
prompt = "You are a helpful general assistant. Keep your answers short and precise."
#
# search
#
[builtins.websearch]
weight = 5
icon = "applications-internet"
name = "websearch"
placeholder = "Websearch"
[[builtins.websearch.entries]]
name = "DuckDuckGo"
url = "https://duckduckgo.com/?q=%TERM%"
switcher_only = true
#
# commands
#
[builtins.custom_commands]
weight = 5
icon = "utilities-terminal"
name = "custom_commands"
placeholder = "Custom Commands"
# power related
[[builtins.custom_commands.commands]]
name = "Shutdown"
cmd = "systemctl poweroff"
Terminal = false
[[builtins.custom_commands.commands]]
name = "Reboot"
cmd = "systemctl reboot"
Terminal = false
[[builtins.custom_commands.commands]]
name = "Suspend"
cmd = "systemctl suspend"
Terminal = false
[[builtins.custom_commands.commands]]
name = "Hibernate"
cmd = "systemctl hibernate"
Terminal = false
[[builtins.custom_commands.commands]]
name = "Hibernate"
cmd = "systemctl hibernate"
Terminal = false
[[builtins.custom_commands.commands]]
name = "Lock"
cmd = "loginctl lock-session"
Terminal = false
[[builtins.custom_commands.commands]]
name = "Kill all user processes"
cmd = "pkill -u $USER"
Terminal = false
[[builtins.custom_commands.commands]]
name = "Logout"
cmd = "uwsm stop"
Terminal = false
# hypr
[[builtins.custom_commands.commands]]
name = "Pin window to all workspaces"
cmd = "hyprctl dispatch pin"
Terminal = false
[[builtins.custom_commands.commands]]
name = "Toggle do not disturb"
cmd = "swaync-client --toggle-dnd"
Terminal = false
#
# bookmarks
#
[builtins.bookmarks]
weight = 5
placeholder = "Bookmarks"
name = "bookmarks"
icon = "bookmark"
switcher_only = false
[[builtins.bookmarks.entries]]
label = "Codeberg"
url = "https://codeberg.org"
keywords = ["code", "git"]
[[builtins.bookmarks.entries]]
label = "Github"
url = "https://github.com"
keywords = ["code", "git"]
[[builtins.bookmarks.entries]]
label = "Hyprland Wiki"
url = "https://wiki.hyprland.org"
keywords = ["code", "linux", "customise"]
[[builtins.bookmarks.entries]]
label = "Nixpkgs github"
url = "https://github.com/nixos/nixpkgs"
keywords = ["code", "linux"]
[[builtins.bookmarks.entries]]
label = "Nix Search"
url = "https://search.nixos.org"
keywords = ["linux"]