programs/anyrun: update config and styling

This commit is contained in:
Anthony Rodriguez 2025-01-31 17:15:02 +01:00
parent 739f6506f4
commit bc6404817e
Signed by: nezia
SSH key fingerprint: SHA256:Ihfpl0rUpqDevYqnzSR34OYfVLbDNkBiUjs3CpX4ykA
2 changed files with 5 additions and 10 deletions

View file

@ -7,13 +7,7 @@ Config(
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),
y: Fraction(0.2),
// Hide match and plugin info icons
hide_icons: false,
@ -28,11 +22,11 @@ Config(
hide_plugin_info: false,
// Close window when a click outside the main box is received
close_on_click: false,
close_on_click: true,
// Show search results immediately when Anyrun starts
show_results_immediately: true,
// Limit amount of entries shown in total
max_entries: None,
max_entries: Some(10),
)

View file

@ -2,6 +2,7 @@
lib,
inputs,
config,
lib',
pkgs,
...
}: let
@ -22,7 +23,7 @@ in {
// to determine what terminal to use.
terminal: Some(Terminal(
// The main terminal command
command: "foot",
command: "ghostty -e",
// What arguments should be passed to the terminal process to run the command correctly
// {} is replaced with the command in the desktop entry
args: "uwsm app -- {}",