Replace application launcher with anyrun

This commit is contained in:
Michel Fedde 2025-04-05 12:39:33 +02:00
parent 694538092c
commit 0c0a9d66b3
8 changed files with 97 additions and 3 deletions

47
.config/anyrun/config.ron Normal file
View file

@ -0,0 +1,47 @@
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(30),
// The width of the runner
width: Absolute(800),
// The minimum height of the runner, the runner will expand to fit all the entries
height: Absolute(0),
// Hide match and plugin info icons
hide_icons: false,
// ignore exclusive zones, f.e. Waybar
ignore_exclusive_zones: true,
// 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.
plugins: [
"libapplications.so",
"libsymbols.so",
"libshell.so",
"libtranslate.so",
],
)

View file

@ -0,0 +1,39 @@
@import "../../theming/library/entry.scss";
* {
color: $foreground;
border-radius: $border-radius;
}
#window {
background-color: rgba(0, 0, 0, 0);
}
box#main {
background-color: $background;
box-shadow: $box-shadow;
border: none;
}
list {
}
list#main {
background-color: rgba(0, 0, 0, 0);
padding: 0.5rem;
}
list#plugin {
background-color: rgba(0, 0, 0, 0);
}
label#match-desc {
font-size: 10px;
}
label#plugin {
font-size: 14px;
}