oh my god

I still need to figure out what to do with the .uuid font files (I
sucked with the gitignore ig) and btop since it saves state everytime
you toggle something, which is a little annoying. I'm debating if it
should even be here at all. I think all I used it for originally was the
theme lol.
This commit is contained in:
foreverpyrite
2025-09-28 21:00:14 -05:00
parent fcb41ff7b3
commit 3158e1d7de
16 changed files with 326 additions and 295 deletions

View File

@@ -0,0 +1,20 @@
Config(
// Also show the Desktop Actions defined in the desktop files, e.g. "New Window" from LibreWolf
desktop_actions: true,
max_entries: 5,
// A command to preprocess the command from the desktop file. The commands should take arguments in this order:
// command_name <term|no-term> <command>
// preprocess_exec_script: Some("/home/user/.local/share/anyrun/preprocess_application_command.sh")
// The terminal used for running terminal based desktop entries, if left as `None` a static list of terminals is used
// to determine what terminal to use.
terminal: Some(Terminal(
// The main terminal command
command: "alacritty",
// What arguments should be passed to the terminal process to run the command correctly
// {} is replaced with the command in the desktop entry
args: "-e {}",
)),
)

View File

@@ -0,0 +1,80 @@
Config(
// Position/size fields use an enum for the value, it can be either:
// Absolute(n): The absolute value in pixels
// Fraction(n): A fraction of the width or height of the full screen (depends on exclusive zones and the settings related to them) window respectively
// The horizontal position, adjusted so that Relative(0.5) always centers the runner
x: Fraction(0.5),
// The vertical position, works the same as `x`
y: Absolute(0),
// The width of the runner
width: Absolute(800),
// The minimum height of the runner, the runner will expand to fit all the entries
// NOTE: If this is set to 0, the window will never shrink after being expanded
height: Absolute(1),
// Hide match and plugin info icons
hide_icons: false,
// ignore exclusive zones, f.e. Waybar
ignore_exclusive_zones: false,
// Layer shell layer: Background, Bottom, Top, Overlay
layer: Overlay,
// Hide the plugin info panel
hide_plugin_info: false,
// Close window when a click outside the main box is received
close_on_click: false,
// Show search results immediately when Anyrun starts
show_results_immediately: false,
// Limit amount of entries shown in total
max_entries: None,
// List of plugins to be loaded by default, can be specified with a relative path to be loaded from the
// `<anyrun config dir>/plugins` directory or with an absolute path to just load the file the path points to.
//
// The order of plugins here specifies the order in which they appear
// in the results. As in it works as a priority for the plugins.
plugins: [
"libapplications.so",
"libkidex.so"
"librink.so",
"libniri_focus.so",
"libshell.so",
],
keybinds: [
Keybind(
key: "Return",
action: Select,
),
Keybind(
key: "Up",
action: Up,
),
Keybind(
key: "Down",
action: Down,
),
Keybind(
key: "ISO_Left_Tab",
action: Up,
shift: true,
),
Keybind(
key: "Tab",
action: Down,
),
Keybind(
key: "Escape",
action: Close,
),
],
)

View File

@@ -0,0 +1,3 @@
Config(
max_entries: 3,
)

View File

@@ -0,0 +1,3 @@
Config(
max_entries: 2,
)

View File

@@ -0,0 +1,64 @@
window {
background: transparent;
}
box.main {
padding: 5px;
margin: 10px;
border-radius: 10px;
border: 2px solid @theme_selected_bg_color;
background-color: @theme_bg_color;
box-shadow: 0 0 5px black;
}
text {
min-height: 30px;
padding: 5px;
border-radius: 5px;
}
.matches {
background-color: rgba(0, 0, 0, 0);
border-radius: 10px;
}
box.plugin:first-child {
margin-top: 5px;
}
box.plugin.info {
min-width: 200px;
}
list.plugin {
background-color: rgba(0, 0, 0, 0);
}
label.match.description {
font-size: 10px;
}
label.plugin.info {
font-size: 14px;
}
.match {
background: transparent;
}
.match:selected {
border-left: 4px solid @theme_selected_bg_color;
background: transparent;
animation: fade 0.1s linear;
}
@keyframes fade {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

View File

@@ -0,0 +1,13 @@
Config(
prefix: "?",
// Options: Google, Ecosia, Bing, DuckDuckGo, Custom
//
// Custom engines can be defined as such:
// Custom(
// name: "Searx",
// url: "searx.be/?q={}",
// )
//
// NOTE: `{}` is replaced by the search query and `https://` is automatically added in front.
engines: [Google]
)