diff --git a/anyrun/_colors.css b/anyrun/_colors.css deleted file mode 100644 index 3aafdf1..0000000 --- a/anyrun/_colors.css +++ /dev/null @@ -1,6 +0,0 @@ - -@import "../../.cache/wal/colors-anyrun.css"; - -@define-color highlight @color1; -@define-color active shade(@highlight, .7); -@define-color text @foreground; diff --git a/anyrun/config.ron b/anyrun/config.ron index a44696c..ef459b8 100644 --- a/anyrun/config.ron +++ b/anyrun/config.ron @@ -13,7 +13,6 @@ Config ( plugins: [ "libapplications.so", - "libsymbols.so", "libshell.so" ], ) diff --git a/anyrun/shell.ron b/anyrun/shell.ron new file mode 100644 index 0000000..70b346a --- /dev/null +++ b/anyrun/shell.ron @@ -0,0 +1,4 @@ +Config ( + prefix: ":", + shell: "bash" +) diff --git a/anyrun/stdin.ron b/anyrun/stdin.ron index e6a137c..9f8c17b 100644 --- a/anyrun/stdin.ron +++ b/anyrun/stdin.ron @@ -1,4 +1,5 @@ Config ( + show_results_immediately: true, allow_invalid: false, - max_entries: None + max_entries: Some(6) ) diff --git a/anyrun/style.css b/anyrun/style.css index bad2389..15eb1b0 100644 --- a/anyrun/style.css +++ b/anyrun/style.css @@ -1,10 +1,11 @@ -@import "_colors.css"; +@import "../../.cache/wal/colors-anyrun.css"; * { border: none; box-shadow: none; outline: none; + color: @foreground; } *:hover { @@ -15,15 +16,23 @@ window { background: transparent; } +box#main { + background: @background; + border-radius: 16px; + box-shadow: 0 16px 22px 2px black; + padding: 0; + border: .5px solid @color1; +} + entry { padding: 6px; background: @background; - border-radius: 16px 16px 0 0; - border: 2px solid transparent; + border-radius: 16px; + margin: 8px; } entry:focus, entry:active { - border: 2px solid @color2; + box-shadow: inset 0 0 0 2px @color2; } entry:hover { @@ -34,25 +43,30 @@ list { border-bottom-right-radius: 16px; border-bottom-left-radius: 16px; background: @background; - padding: 5px; } list > #match { font-weight: 600; - border-radius: 8px; - padding: 6px; + border-radius: 14px; + padding: 7px; + margin: 0 6px; + color: @foreground; } list > #match:hover { transition: 120ms linear; - background: shade(@background, .8); + background: shade(@color2, .8); } list > #match:selected, list > #match:active { - background: @active; + background: @color1; } -box#main { - background: transparent; +list > #match { + margin-bottom: 1px; +} + +list > #match:last-child { + margin-bottom: 6px; }