feat: switched to sherlock
This commit is contained in:
6
.config/anyrun/.vscode/settings.json
vendored
6
.config/anyrun/.vscode/settings.json
vendored
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"files.associations": {
|
|
||||||
"*.ron": "rust",
|
|
||||||
"*.toml": "toml"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
Config(
|
|
||||||
// Also show the Desktop Actions defined in the desktop files, e.g. "New Window" from LibreWolf
|
|
||||||
desktop_actions: false,
|
|
||||||
max_entries: 5,
|
|
||||||
// The terminal used for running terminal based desktop entries, if left as `None` a static list of terminals is used
|
|
||||||
// to determine what terminal to use.
|
|
||||||
terminal: Some("kitty"),
|
|
||||||
)
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
Config(
|
|
||||||
// Position/size fields use an enum for the value, it can be either:
|
|
||||||
// Absolute(n): The absolute value in pixels
|
|
||||||
// Fraction(n): A fraction of the width or height of the full screen (depends on exclusive zones and the settings related to them) window respectively
|
|
||||||
|
|
||||||
// The horizontal position, adjusted so that Relative(0.5) always centers the runner
|
|
||||||
x: Fraction(0.5),
|
|
||||||
|
|
||||||
// The vertical position, works the same as `x`
|
|
||||||
y: Absolute(64),
|
|
||||||
|
|
||||||
// The width of the runner
|
|
||||||
width: Absolute(800),
|
|
||||||
|
|
||||||
// The minimum height of the runner, the runner will expand to fit all the entries
|
|
||||||
height: Absolute(0),
|
|
||||||
|
|
||||||
// Hide match and plugin info icons
|
|
||||||
hide_icons: false,
|
|
||||||
|
|
||||||
// ignore exclusive zones, f.e. Waybar
|
|
||||||
ignore_exclusive_zones: false,
|
|
||||||
|
|
||||||
// Layer shell layer: Background, Bottom, Top, Overlay
|
|
||||||
layer: Overlay,
|
|
||||||
|
|
||||||
// Hide the plugin info panel
|
|
||||||
hide_plugin_info: true,
|
|
||||||
|
|
||||||
// Close window when a click outside the main box is received
|
|
||||||
close_on_click: true,
|
|
||||||
|
|
||||||
// Show search results immediately when Anyrun starts
|
|
||||||
show_results_immediately: true,
|
|
||||||
|
|
||||||
// Limit amount of entries shown in total
|
|
||||||
max_entries: None,
|
|
||||||
|
|
||||||
// List of plugins to be loaded by default, can be specified with a relative path to be loaded from the
|
|
||||||
// `<anyrun config dir>/plugins` directory or with an absolute path to just load the file the path points to.
|
|
||||||
plugins: [
|
|
||||||
"libapplications.so",
|
|
||||||
"libsymbols.so",
|
|
||||||
"librink.so",
|
|
||||||
"libtranslate.so",
|
|
||||||
],
|
|
||||||
)
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#window {
|
|
||||||
background-color: rgba(0, 0, 0, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
box#main {
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @theme_bg_color;
|
|
||||||
}
|
|
||||||
|
|
||||||
list#main {
|
|
||||||
background-color: rgba(0, 0, 0, 0);
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
list#plugin {
|
|
||||||
background-color: rgba(0, 0, 0, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
label#match-desc {
|
|
||||||
font-size: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
label#plugin {
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
Config(
|
|
||||||
// The prefix that the search needs to begin with to yield symbol results
|
|
||||||
prefix: "",
|
|
||||||
// Custom user defined symbols to be included along the unicode symbols
|
|
||||||
symbols: {
|
|
||||||
// "name": "text to be copied"
|
|
||||||
"shrug": "¯\\_(ツ)_/¯",
|
|
||||||
},
|
|
||||||
max_entries: 5,
|
|
||||||
)
|
|
||||||
13
.config/sherlock/config.toml
Normal file
13
.config/sherlock/config.toml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
[default_apps]
|
||||||
|
terminal="kitty"
|
||||||
|
browser="vivaldi"
|
||||||
|
|
||||||
|
[appearance]
|
||||||
|
width=800
|
||||||
|
height=600
|
||||||
|
opacity=0.97
|
||||||
|
status_bar=false
|
||||||
|
|
||||||
|
[behavior]
|
||||||
|
caching=true
|
||||||
|
daemonize=false
|
||||||
106
.config/sherlock/fallback.json
Normal file
106
.config/sherlock/fallback.json
Normal file
@@ -0,0 +1,106 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "Weather",
|
||||||
|
"type": "weather",
|
||||||
|
"args": {
|
||||||
|
"location": "nancy, france",
|
||||||
|
"update_interval": 60
|
||||||
|
},
|
||||||
|
"priority": 1,
|
||||||
|
"home": true,
|
||||||
|
"only_home": true,
|
||||||
|
"async": true,
|
||||||
|
"shortcut": false,
|
||||||
|
"spawn_focus": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Tidal",
|
||||||
|
"type": "audio_sink",
|
||||||
|
"args": {},
|
||||||
|
"async": true,
|
||||||
|
"priority": 1,
|
||||||
|
"home": true,
|
||||||
|
"only_home": true,
|
||||||
|
"spawn_focus": false,
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"name": "Skip",
|
||||||
|
"icon": "media-seek-forward",
|
||||||
|
"exec": "playerctl next",
|
||||||
|
"method": "command"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Previous",
|
||||||
|
"icon": "media-seek-backward",
|
||||||
|
"exec": "playerctl previous",
|
||||||
|
"method": "command"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Spotify",
|
||||||
|
"type": "audio_sink",
|
||||||
|
"args": {},
|
||||||
|
"async": true,
|
||||||
|
"priority": 1,
|
||||||
|
"home": true,
|
||||||
|
"spawn_focus": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Calculator",
|
||||||
|
"type": "calculation",
|
||||||
|
"alias": "=",
|
||||||
|
"args": {},
|
||||||
|
"priority": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "App Launcher",
|
||||||
|
"alias": "app",
|
||||||
|
"type": "app_launcher",
|
||||||
|
"args": {},
|
||||||
|
"priority": 2,
|
||||||
|
"home": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Power Management",
|
||||||
|
"alias": "!",
|
||||||
|
"type": "command",
|
||||||
|
"args": {
|
||||||
|
"commands": {
|
||||||
|
"Shutdown": {
|
||||||
|
"icon": "system-shutdown",
|
||||||
|
"exec": "systemctl poweroff",
|
||||||
|
"search_string": "Poweroff;Shutdown"
|
||||||
|
},
|
||||||
|
"Sleep": {
|
||||||
|
"icon": "system-suspend",
|
||||||
|
"exec": "systemctl suspend",
|
||||||
|
"search_string": "Sleep;"
|
||||||
|
},
|
||||||
|
"Reboot": {
|
||||||
|
"icon": "system-reboot",
|
||||||
|
"exec": "systemctl reboot",
|
||||||
|
"search_string": "reboot"
|
||||||
|
},
|
||||||
|
"Logout": {
|
||||||
|
"icon": "system-logout",
|
||||||
|
"exec": "uwsm exit",
|
||||||
|
"search_string": "logout"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"priority": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Web Search",
|
||||||
|
"display_name": "Startpage",
|
||||||
|
"tag_start": "{keyword}",
|
||||||
|
"alias": "?",
|
||||||
|
"type": "web_launcher",
|
||||||
|
"args": {
|
||||||
|
"search_engine": "startpage",
|
||||||
|
"icon": "google"
|
||||||
|
},
|
||||||
|
"priority": 100
|
||||||
|
}
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user