refactor(sherlock): update config structure, theme and fixes

- config.toml: Wechsel auf Rose Pine v3 Theme.
- config.toml: Typos bei Einheiten (meter) und Keybinds (ctrl-h) korrigiert.
- fallback.json: Emoji-Typ auf 'emoji_picker' aktualisiert.
- fallback.json: Power-Menü von 'custom' zu 'command' refactored. Struktur vereinfacht und search_strings hinzugefügt.
This commit is contained in:
s0wlz (Matthias Puchstein)
2025-12-10 00:50:29 +01:00
parent d0652fa91f
commit 7a29b449df
2 changed files with 21 additions and 23 deletions

View File

@@ -5,7 +5,7 @@ terminal = "kitty"
browser = "/usr/lib/firefox/firefox %u"
[units]
lengths = "meters"
lengths = "meter"
weights = "kg"
volumes = "l"
temperatures = "C"
@@ -36,7 +36,7 @@ use_lr_nav = false
[binds]
up = "control-k"
down = "control-j"
left = "control-ih"
left = "control-h"
right = "control-l"
context = "control-i"
modifier = "control"
@@ -44,7 +44,7 @@ exec_inplace = "control-return"
[files]
config = "/home/mpuchstein/.config/sherlock/config.toml"
css = "/home/mpuchstein/.config/sherlock/main.css"
css = "/home/mpuchstein/.config/sherlock/themes/rose-pine_v3.css"
fallback = "/home/mpuchstein/.config/sherlock/fallback.json"
alias = "/home/mpuchstein/.config/sherlock/sherlock_alias.json"
ignore = "/home/mpuchstein/.config/sherlock/sherlockignore"

View File

@@ -209,48 +209,46 @@
{
"name": "Emoji",
"alias": "em",
"type": "emoji",
"type": "emoji_picker",
"priority": 4.0,
"exit": true,
"shortcut": false,
"home": "Search",
"args": {
"default_skin_tone": "Simpson"
"default_skin_tone": "Simpsons"
}
},
{
"name": "Power Menu",
"alias": "pow",
"type": "custom",
"priority": 0.5,
"type": "command",
"priority": 1.0,
"exit": true,
"shortcut": true,
"home": "Search",
"args": {
"commands": [
{
"name": "Shutdown",
"exec": "systemctl poweroff",
"commands": {
"Shutdown": {
"icon": "system-shutdown",
"confirm": true
"exec": "systemctl poweroff",
"search_string": "shutdown;poweroff"
},
{
"name": "Reboot",
"exec": "systemctl reboot",
"Reboot": {
"icon": "system-reboot",
"confirm": true
"exec": "systemctl reboot",
"search_string": "reboot"
},
{
"name": "Sleep",
"Sleep": {
"icon": "media-playback-pause",
"exec": "systemctl suspend",
"icon": "media-playback-pause"
"search_string": "sleep;suspend"
},
{
"name": "Lock Screen",
"Lock Screen": {
"icon": "system-lock-screen",
"exec": "hyprlock",
"icon": "system-lock-screen"
"search_string": "lock;screenlock"
}
]
}
}
}
]