Anthony Rodriguez
6ab835555c
As my NixOS configuration kept growing, I noticed that I don't need home-manager as much as I did before. A lot of what I need is just a way to map nix attrsets to the program's respective configuration format, which is something that I can now do myself, as my nix knowledge got more extensive. After all of this, I decided to completely get rid of home-manager, and switch to a simpler solution called hjem, which just lets me write files to my home directory that are automatically symlinked using `systemd-tmpfiles`. This allows me to simplify my configuration, remove the separation between NixOS and home-manager modules, and cut my eval times by quite a lot (which allows for faster `nixos-rebuild switch`!).
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
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
|
|
height: Absolute(0),
|
|
|
|
// 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: true,
|
|
|
|
// Limit amount of entries shown in total
|
|
max_entries: None,
|
|
)
|