diff --git a/anyrun/_colors.css b/anyrun/_colors.css new file mode 100644 index 0000000..3aafdf1 --- /dev/null +++ b/anyrun/_colors.css @@ -0,0 +1,6 @@ + +@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 new file mode 100644 index 0000000..d2e79ef --- /dev/null +++ b/anyrun/config.ron @@ -0,0 +1,19 @@ +Config ( + x: Fraction(0.5), + y: Fraction(0.35), + width: Fraction(0.4), + height: Absolute(100), + hide_icons: false, + ignore_exclusive_zones: false, + layer: Overlay, + show_results_immediately: true, + max_entries: None, + close_on_click: true, + hide_plugin_info: true, + + plugins: [ + "libapplications.so", + "libsymbols.so", + "libshell.so" + ], +) diff --git a/anyrun/stdin.ron b/anyrun/stdin.ron new file mode 100644 index 0000000..e6a137c --- /dev/null +++ b/anyrun/stdin.ron @@ -0,0 +1,4 @@ +Config ( + allow_invalid: false, + max_entries: None +) diff --git a/anyrun/style.css b/anyrun/style.css new file mode 100644 index 0000000..bad2389 --- /dev/null +++ b/anyrun/style.css @@ -0,0 +1,58 @@ + +@import "_colors.css"; + +* { + border: none; + box-shadow: none; + outline: none; +} + +*:hover { + background: none; +} + +window { + background: transparent; +} + +entry { + padding: 6px; + background: @background; + border-radius: 16px 16px 0 0; + border: 2px solid transparent; +} + +entry:focus, entry:active { + border: 2px solid @color2; +} + +entry:hover { + background: lightgray; +} + +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; +} + +list > #match:hover { + transition: 120ms linear; + background: shade(@background, .8); +} + +list > #match:selected, +list > #match:active { + background: @active; +} + +box#main { + background: transparent; +} diff --git a/wofi/config b/wofi/config deleted file mode 100644 index a6896aa..0000000 --- a/wofi/config +++ /dev/null @@ -1,8 +0,0 @@ -width=600 -height=300 -location=center -prompt=Search... -no_actions=true -allow_images=true -hide_scroll=true -gtk_dark=true diff --git a/wofi/style.css b/wofi/style.css deleted file mode 100644 index 668e164..0000000 --- a/wofi/style.css +++ /dev/null @@ -1,54 +0,0 @@ - -/* background -> #312D23 - * highlight -> #AC8A3D - * mark(not-selected) -> #726037 - */ - -* { - outline: none; - font-family: "0xProto Nerd Font Regular", otf-font-awesome, Cantarell, sans-serif; -} - -#outer-box { - border: 3px solid shade(#312D23, .8); - border-radius: 16px; -} - -#window { - background-color: #312D23; - border-radius: 16px; -} - -#text { - font-family: system-ui, sans-serif; - transition: 50ms ease-in; - margin-left: 10px; - color: white; -} - -#text:selected { - color: lightgray; -} - -#input { - border: 2px solid shade(#AC8A3D, .8); - border-radius: 14px; - margin: 8px; - background-color: shade(#726037, .7); - box-shadow: none; -} - -#entry { - padding: 0 16px; - margin: 2px 6px; - padding-top: 7px; - padding-bottom: 5px; - transition: 75ms ease-in; - font-size: 1.02em; - font-weight: 600; - border-radius: 12px; -} - -#entry:selected { - background-color: shade(#AC8A3D, .5); -}