sync + misc: Added anyrun config

This commit is contained in:
GaspardCulis 2024-04-04 20:04:54 +02:00
parent 1f61360b2d
commit 3e6968c168
No known key found for this signature in database
GPG key ID: BC18146756955609
7 changed files with 114 additions and 0 deletions

1
misc/anyrun/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
plugins/

View file

@ -0,0 +1,5 @@
Config(
desktop_actions: false,
max_entries: 5,
terminal: Some("alacritty"),
)

19
misc/anyrun/config.ron Normal file
View file

@ -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",
]
)

73
misc/anyrun/style.css Normal file
View file

@ -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;
}

8
misc/anyrun/symbols.ron Normal file
View file

@ -0,0 +1,8 @@
Config(
prefix: "",
symbols: {
"tableflip": "(╯°□°)╯︵ ┻━┻",
"shrug": "¯\\_(ツ)_/¯",
},
max_entries: 3,
)

View file

@ -0,0 +1,7 @@
Config(
prefix: "?",
engines: [DuckDuckGo, Google, Custom(
name: "SearX",
url: "searx.be/?q={}",
)]
)

1
sync
View file

@ -57,6 +57,7 @@ synced_files = [
("misc/runst/", "~/.config/runst/"), ("misc/runst/", "~/.config/runst/"),
("misc/mako/", "~/.config/mako/"), ("misc/mako/", "~/.config/mako/"),
("misc/swayosd/", "~/.config/swayosd/"), ("misc/swayosd/", "~/.config/swayosd/"),
("misc/anyrun/", "~/.config/anyrun/"),
("misc/x11-toggle-gpu/", "~/.local/share/x11-toggle-gpu/"), ("misc/x11-toggle-gpu/", "~/.local/share/x11-toggle-gpu/"),
("bin/swaylock-hyprland", "~/.local/bin/swaylock-hyprland"), ("bin/swaylock-hyprland", "~/.local/bin/swaylock-hyprland"),
("bin/Hyprland", "~/.local/bin/Hyprland"), ("bin/Hyprland", "~/.local/bin/Hyprland"),