programs/anyrun: update config and styling
This commit is contained in:
parent
a51ca01822
commit
317dfc0b4a
2 changed files with 5 additions and 10 deletions
|
@ -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),
|
||||
)
|
||||
|
|
|
@ -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 -- {}",
|
||||
|
|
Loading…
Add table
Reference in a new issue