Initial commit
This commit is contained in:
		
							
								
								
									
										159
									
								
								config/walker/config.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										159
									
								
								config/walker/config.toml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,159 @@
 | 
			
		||||
force_keyboard_focus = false    # forces keyboard forcus to stay in Walker
 | 
			
		||||
close_when_open = true          # close walker when invoking while already opened
 | 
			
		||||
click_to_close = true           # closes walker if clicking outside of the main content area
 | 
			
		||||
selection_wrap = false          # wrap list if at bottom or top
 | 
			
		||||
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
 | 
			
		||||
exact_search_prefix = "'"       # disable fuzzy searching
 | 
			
		||||
theme = "hyprtron"               # theme to use
 | 
			
		||||
disable_mouse = false           # disable mouse (on input and list only)
 | 
			
		||||
debug = false                   # enables debug printing for some stuff, f.e. keybinds
 | 
			
		||||
additional_theme_location = "~/.config/walker/themes"
 | 
			
		||||
 | 
			
		||||
[shell]
 | 
			
		||||
anchor_top = true
 | 
			
		||||
anchor_bottom = true
 | 
			
		||||
anchor_left = true
 | 
			
		||||
anchor_right = true
 | 
			
		||||
 | 
			
		||||
[placeholders]
 | 
			
		||||
"default" = { input = "Search", list = "No Results" } # placeholders for input and empty list, key is the providers name, so f.e. "desktopapplications" or "menus:other"
 | 
			
		||||
 | 
			
		||||
[keybinds]
 | 
			
		||||
close = ["Escape"]
 | 
			
		||||
next = ["Down"]
 | 
			
		||||
previous = ["Up"]
 | 
			
		||||
toggle_exact = ["ctrl e"]
 | 
			
		||||
resume_last_query = ["ctrl r"]
 | 
			
		||||
quick_activate = ["F1", "F2", "F3", "F4"]
 | 
			
		||||
 | 
			
		||||
[providers]
 | 
			
		||||
default = [
 | 
			
		||||
  "desktopapplications",
 | 
			
		||||
  "calc",
 | 
			
		||||
  "runner",
 | 
			
		||||
  "menus",
 | 
			
		||||
  "websearch",
 | 
			
		||||
] # providers to be queried by default
 | 
			
		||||
empty = ["desktopapplications"] # providers to be queried when query is empty
 | 
			
		||||
max_results = 50 # global max results
 | 
			
		||||
 | 
			
		||||
[providers.sets] # define your own defaults/empty sets of providers
 | 
			
		||||
[providers.max_results_provider] # define max results per provider in here
 | 
			
		||||
 | 
			
		||||
[[providers.prefixes]]
 | 
			
		||||
prefix = ";"
 | 
			
		||||
provider = "providerlist"
 | 
			
		||||
 | 
			
		||||
[[providers.prefixes]]
 | 
			
		||||
prefix = ">"
 | 
			
		||||
provider = "runner"
 | 
			
		||||
 | 
			
		||||
[[providers.prefixes]]
 | 
			
		||||
prefix = "/"
 | 
			
		||||
provider = "files"
 | 
			
		||||
 | 
			
		||||
[[providers.prefixes]]
 | 
			
		||||
prefix = "."
 | 
			
		||||
provider = "symbols"
 | 
			
		||||
 | 
			
		||||
[[providers.prefixes]]
 | 
			
		||||
prefix = "!"
 | 
			
		||||
provider = "todo"
 | 
			
		||||
 | 
			
		||||
[[providers.prefixes]]
 | 
			
		||||
prefix = "="
 | 
			
		||||
provider = "calc"
 | 
			
		||||
 | 
			
		||||
[[providers.prefixes]]
 | 
			
		||||
prefix = "@"
 | 
			
		||||
provider = "websearch"
 | 
			
		||||
 | 
			
		||||
[[providers.prefixes]]
 | 
			
		||||
prefix = ":"
 | 
			
		||||
provider = "clipboard"
 | 
			
		||||
 | 
			
		||||
[providers.clipboard]
 | 
			
		||||
time_format = "%d.%m. - %H:%M" # format for the clipboard item date
 | 
			
		||||
 | 
			
		||||
[providers.actions] # This will be MERGED/OVEWRITTEN with what the user specifies
 | 
			
		||||
fallback = [
 | 
			
		||||
  { action = "menus:open", label = "open", after = "Nothing" },
 | 
			
		||||
  { action = "menus:default", label = "run", after = "Close" },
 | 
			
		||||
  { action = "erase_history", label = "clear hist", bind = "ctrl h", after = "AsyncReload" },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
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" }]
 | 
			
		||||
 | 
			
		||||
desktopapplications = [
 | 
			
		||||
  { action = "start", default = true, bind = "Return" },
 | 
			
		||||
  { action = "start:keep", label = "open+next", bind = "shift Return", after = "KeepOpen" },
 | 
			
		||||
  { 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" },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
symbols = [
 | 
			
		||||
  { action = "run_cmd", label = "select", default = true, bind = "Return" },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
unicode = [
 | 
			
		||||
  { action = "run_cmd", label = "select", default = true, bind = "Return" },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
clipboard = [
 | 
			
		||||
  { action = "copy", default = true, bind = "Return" },
 | 
			
		||||
  { action = "remove", bind = "ctrl d", after = "AsyncClearReload" },
 | 
			
		||||
  { action = "remove_all", global = true, label = "clear", bind = "ctrl shift d", after = "AsyncClearReload" },
 | 
			
		||||
  { action = "toggle_images", global = true, label = "toggle images", bind = "ctrl i", after = "AsyncClearReload" },
 | 
			
		||||
  { action = "edit", bind = "ctrl o" },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										184
									
								
								config/walker/themes/hyprtron/style.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										184
									
								
								config/walker/themes/hyprtron/style.css
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,184 @@
 | 
			
		||||
@import "../../../../.local/share/hyprtron/theme/style.css";
 | 
			
		||||
@define-color window_bg_color #1f1f28;
 | 
			
		||||
@define-color accent_bg_color #54546d;
 | 
			
		||||
@define-color theme_fg_color #f2ecbc;
 | 
			
		||||
@define-color error_bg_color #C34043;
 | 
			
		||||
@define-color error_fg_color #DCD7BA;
 | 
			
		||||
 | 
			
		||||
* {
 | 
			
		||||
  all: unset;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.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;*/
 | 
			
		||||
  background: @background-t0;
 | 
			
		||||
  padding: 20px;
 | 
			
		||||
  border-radius: var(--border-radius);
 | 
			
		||||
  border: 1px solid @border;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.preview-box,
 | 
			
		||||
.elephant-hint,
 | 
			
		||||
.placeholder {
 | 
			
		||||
  color: @theme_fg_color;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.box {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.search-container {
 | 
			
		||||
  border-radius: 10px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.input placeholder {
 | 
			
		||||
  opacity: 0.5;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.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 {
 | 
			
		||||
  margin-left: 10px;
 | 
			
		||||
  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-text {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.item-subtext {
 | 
			
		||||
  font-size: 12px;
 | 
			
		||||
  opacity: 0.5;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.item-image,
 | 
			
		||||
.item-image-text {
 | 
			
		||||
  margin-right: 10px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.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-wrapper {
 | 
			
		||||
  border-top: 1px solid lighter(@window_bg_color);
 | 
			
		||||
  font-size: 12px;
 | 
			
		||||
  opacity: 0.5;
 | 
			
		||||
  color: @theme_fg_color;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.keybinds {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.keybind {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.keybind-bind {
 | 
			
		||||
  /* color: lighter(@window_bg_color); */
 | 
			
		||||
  font-weight: bold;
 | 
			
		||||
  text-transform: lowercase;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.keybind-label {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.error {
 | 
			
		||||
  padding: 10px;
 | 
			
		||||
  background: @error_bg_color;
 | 
			
		||||
  color: @error_fg_color;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.current {
 | 
			
		||||
  font-style: italic;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user