From 8f2a4e52c25f4fd277d09cdb7e4e844f5c3708bb Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 18 Feb 2024 11:08:55 +0700 Subject: [PATCH] add anyrun config --- .config/anyrun/config.ron | 13 ++++++++ .config/anyrun/style.css | 66 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100755 .config/anyrun/config.ron create mode 100755 .config/anyrun/style.css diff --git a/.config/anyrun/config.ron b/.config/anyrun/config.ron new file mode 100755 index 00000000..c3eafd7a --- /dev/null +++ b/.config/anyrun/config.ron @@ -0,0 +1,13 @@ +Config( + x: Fraction(0.500000), + y: Absolute(15), + width: Fraction(0.300000), + height: Absolute(0), + hide_icons: false, + ignore_exclusive_zones: false, + layer: Overlay, + hide_plugin_info: true, + close_on_click: true, + show_results_immediately: false, + max_entries: None, +) diff --git a/.config/anyrun/style.css b/.config/anyrun/style.css new file mode 100755 index 00000000..ca45f260 --- /dev/null +++ b/.config/anyrun/style.css @@ -0,0 +1,66 @@ +* { + all: unset; + font-size: 1.3rem; +} + +#window, +#match, +#entry, +#plugin, +#main { + background: transparent; +} + +#match.activatable { + border-radius: 16px; + padding: 0.3rem 0.9rem; + margin-top: 0.01rem; +} +#match.activatable:first-child { + margin-top: 0.7rem; +} +#match.activatable:last-child { + margin-bottom: 0.6rem; +} + +#plugin:hover #match.activatable { + border-radius: 10px; + padding: 0.3rem; + margin-top: 0.01rem; + margin-bottom: 0; +} + +#match:selected, +#match:hover, +#plugin:hover { + background: #2e3131; +} + +#entry { + background: #0b0f10; + border: 1px solid #0b0f10; + border-radius: 16px; + margin: 0.5rem; + padding: 0.3rem 1rem; +} + +list > #plugin { + border-radius: 16px; + margin: 0 0.3rem; +} +list > #plugin:first-child { + margin-top: 0.3rem; +} +list > #plugin:last-child { + margin-bottom: 0.3rem; +} +list > #plugin:hover { + padding: 0.6rem; +} + +box#main { + background: #0b0f10; + box-shadow: inset 0 0 0 1px #0b0f10, 0 0 0 1px #0b0f10; + border-radius: 24px; + padding: 0.3rem; +}