feat(config): migrate launcher configuration to TOML
Migrate launcher configuration from JSON to TOML format, add new `launcher.toml` and `mods.toml` files, remove `launcher.json`, and update project metadata in `pyproject.toml` to version 0.2.0.
This commit is contained in:
3 files changed
+67
-65
No files matched your search
@@ -1,65 +0,0 @@
|
||||
{
|
||||
"launcher_config": {
|
||||
"em": {
|
||||
"examples": [
|
||||
"em updatejson"
|
||||
],
|
||||
"icon": "emoji-people-symbolic",
|
||||
"description": "Emoji - Search and copy emojis"
|
||||
},
|
||||
"clip": {
|
||||
"icon": "app.getclipboard.Clipboard",
|
||||
"description": "Clipboard - Search and manage clipboard history"
|
||||
},
|
||||
"=": {
|
||||
"examples": [
|
||||
"= 10*5",
|
||||
"= 2^8",
|
||||
"= sin(30)"
|
||||
],
|
||||
"icon": "calculator",
|
||||
"description": "Quick Math - Fast mathematical expressions"
|
||||
},
|
||||
"app": {
|
||||
"icon": "apps",
|
||||
"description": "Applications - Launch installed applications"
|
||||
},
|
||||
"power": {
|
||||
"icon": "shutdown",
|
||||
"description": "Power - System power management and session control"
|
||||
},
|
||||
"caffeine": {
|
||||
"examples": [
|
||||
"caffeine 30m",
|
||||
"caffeine 1h",
|
||||
"caffeine 2h",
|
||||
"caffeine on"
|
||||
],
|
||||
"icon": "caffeine",
|
||||
"description": "Caffeine - Prevent system from going idle"
|
||||
},
|
||||
"sc": {
|
||||
"icon": "cs-screen",
|
||||
"description": "Screencapture - Record screen and audio"
|
||||
},
|
||||
"wall": {
|
||||
"icon": "daily-wallpaper",
|
||||
"description": "Wallpapers - Set wallpapers, and tons of features"
|
||||
},
|
||||
"?": {
|
||||
"icon": "search-symbolic",
|
||||
"description": "Quick Web Search - Fast web search with question mark",
|
||||
"examples": [
|
||||
"? cats",
|
||||
"? google cats",
|
||||
"? youtube music"
|
||||
]
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"max_examples_shown": 2,
|
||||
"default_icon": "apps",
|
||||
"fallback_example_template": "{trigger} <search>",
|
||||
"config_version": "1.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
[launcher_config.em]
|
||||
icon = "emoji-people-symbolic"
|
||||
description = "Emoji - Search and copy emojis"
|
||||
examples = [
|
||||
"em updatejson",
|
||||
]
|
||||
|
||||
[launcher_config.clip]
|
||||
icon = "app.getclipboard.Clipboard"
|
||||
description = "Clipboard - Search and manage clipboard history"
|
||||
|
||||
[launcher_config."="]
|
||||
icon = "calculator"
|
||||
description = "Quick Math - Fast mathematical expressions"
|
||||
examples = [
|
||||
"= 10*5",
|
||||
"= 2^8",
|
||||
"= sin(30)",
|
||||
]
|
||||
|
||||
[launcher_config.app]
|
||||
icon = "apps"
|
||||
description = "Applications - Launch installed applications"
|
||||
|
||||
[launcher_config.power]
|
||||
icon = "shutdown"
|
||||
description = "Power - System power management and session control"
|
||||
|
||||
[launcher_config.caffeine]
|
||||
icon = "caffeine"
|
||||
description = "Caffeine - Prevent system from going idle"
|
||||
examples = [
|
||||
"caffeine 30m",
|
||||
"caffeine 1h",
|
||||
"caffeine 2h",
|
||||
"caffeine on",
|
||||
]
|
||||
|
||||
[launcher_config.sc]
|
||||
icon = "cs-screen"
|
||||
description = "Screencapture - Record screen and audio"
|
||||
|
||||
[launcher_config.wall]
|
||||
icon = "daily-wallpaper"
|
||||
description = "Wallpapers - Set wallpapers, and tons of features"
|
||||
|
||||
[launcher_config."?"]
|
||||
icon = "search-symbolic"
|
||||
description = "Quick Web Search - Fast web search with question mark"
|
||||
examples = [
|
||||
"? cats",
|
||||
"? google cats",
|
||||
"? youtube music",
|
||||
]
|
||||
|
||||
[settings]
|
||||
max_examples_shown = 2
|
||||
default_icon = "apps"
|
||||
fallback_example_template = "{trigger} <search>"
|
||||
config_version = "1.0"
|
||||
@@ -0,0 +1,7 @@
|
||||
[Mods.terminal]
|
||||
icon = "terminal.svg"
|
||||
icon-size = 18
|
||||
on-clicked = "kitty"
|
||||
order = 1
|
||||
|
||||
|
||||
Reference in new issue
Block a user