diff --git a/misc/anyrun/.gitignore b/misc/anyrun/.gitignore new file mode 100644 index 0000000..16873f6 --- /dev/null +++ b/misc/anyrun/.gitignore @@ -0,0 +1 @@ +plugins/ diff --git a/misc/anyrun/applications.ron b/misc/anyrun/applications.ron new file mode 100644 index 0000000..4daf425 --- /dev/null +++ b/misc/anyrun/applications.ron @@ -0,0 +1,5 @@ +Config( + desktop_actions: false, + max_entries: 5, + terminal: Some("alacritty"), +) diff --git a/misc/anyrun/config.ron b/misc/anyrun/config.ron new file mode 100644 index 0000000..16918d1 --- /dev/null +++ b/misc/anyrun/config.ron @@ -0,0 +1,19 @@ +Config( + x: Fraction(0.5), + y: Fraction(0.2), + width: Absolute(800), + height: Fraction(0), + hide_icons: false, + hide_plugin_info: true, + ignore_exclusive_zones: false, + layer: Top, + close_on_click: true, + show_results_immediately: false, + plugins: [ + "libapplications.so", + "libsymbols.so", + "libwebsearch.so", + "librink.so", + "libshell.so", + ] +) diff --git a/misc/anyrun/style.css b/misc/anyrun/style.css new file mode 100644 index 0000000..ea27f5f --- /dev/null +++ b/misc/anyrun/style.css @@ -0,0 +1,73 @@ +#window { + background-color: transparent; + color: #a4acc5; +} + +box#main { + border-radius: 10px; + background-color: #282936; + border: 4px solid #282936; +} + +entry#entry { + min-height: 40px; + border-radius: 20px; + background: transparent; + box-shadow: none; + border: none; + color: whitesmoke; +} + +list#main { + background-color: transparent; +} + +#plugin { + background: transparent; + padding-bottom: 5px; +} + +#match { + padding: 2.5px; + border-radius: 4px; + color: #a4acc5; +} + +#match:selected { + background: #383946; + border-right: 4px solid #7e9cd8; + border-left: 4px solid #7e9cd8; + color: #7e9cd8; +} + +#match:selected label#info { + color: #b0b0b0; + animation: fade 0.1s linear; +} + +@keyframes fade { + 0% { + color: transparent; + } + + 100% { + color: #b0b0b0; + } +} + +#match label#info { + color: transparent; +} + +#match:hover { + background: #383946; +} + +label#match-desc { + font-size: 10px; + color: #b0b0b0; +} + +label#plugin { + font-size: 14px; +} diff --git a/misc/anyrun/symbols.ron b/misc/anyrun/symbols.ron new file mode 100644 index 0000000..b30132b --- /dev/null +++ b/misc/anyrun/symbols.ron @@ -0,0 +1,8 @@ +Config( + prefix: "", + symbols: { + "tableflip": "(╯°□°)╯︵ ┻━┻", + "shrug": "¯\\_(ツ)_/¯", + }, + max_entries: 3, +) diff --git a/misc/anyrun/websearch.ron b/misc/anyrun/websearch.ron new file mode 100644 index 0000000..3eac378 --- /dev/null +++ b/misc/anyrun/websearch.ron @@ -0,0 +1,7 @@ +Config( + prefix: "?", + engines: [DuckDuckGo, Google, Custom( + name: "SearX", + url: "searx.be/?q={}", + )] +) diff --git a/sync b/sync index be2189b..afec290 100755 --- a/sync +++ b/sync @@ -57,6 +57,7 @@ synced_files = [ ("misc/runst/", "~/.config/runst/"), ("misc/mako/", "~/.config/mako/"), ("misc/swayosd/", "~/.config/swayosd/"), + ("misc/anyrun/", "~/.config/anyrun/"), ("misc/x11-toggle-gpu/", "~/.local/share/x11-toggle-gpu/"), ("bin/swaylock-hyprland", "~/.local/bin/swaylock-hyprland"), ("bin/Hyprland", "~/.local/bin/Hyprland"),