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:
sankalp committed 2026-07-04 06:28:27 +05:45
1 parent 66fa02d2da
commit 35dcbe4a82
3 files changed
+67 -65

No files matched your search

-65
View File
@@ -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"
}
}
+60
View File
@@ -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"
+7
View File
@@ -0,0 +1,7 @@
[Mods.terminal]
icon = "terminal.svg"
icon-size = 18
on-clicked = "kitty"
order = 1