[pre-commit/pretty-format-json]: keep names as top key

This commit is contained in:
Aminda Suomalainen 2024-07-29 08:28:48 +03:00
parent 40909f6116
commit 635d0bd068
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 38 additions and 38 deletions

View File

@ -41,7 +41,7 @@ repos:
args: args:
# Remember also: --no-sort-keys # Remember also: --no-sort-keys
# ASCII excludes the älphäbet amongst others # ASCII excludes the älphäbet amongst others
[--autofix, --no-ensure-ascii] [--autofix, --no-ensure-ascii, --top-keys, "Name,name"]
# Markdown Table of Contents generation. # Markdown Table of Contents generation.
- repo: https://github.com/thlorenz/doctoc - repo: https://github.com/thlorenz/doctoc

View File

@ -1,34 +1,34 @@
[ [
{ {
"command": "darkman toggle", "name": "Darkman toggle",
"name": "Darkman toggle" "command": "darkman toggle"
}, },
{ {
"command": "loginctl lock-session", "name": "Lock screen",
"name": "Lock screen" "command": "loginctl lock-session"
}, },
{ {
"command": "systemctl poweroff", "name": "Power off",
"name": "Power off" "command": "systemctl poweroff"
}, },
{ {
"command": "systemctl reboot", "name": "Reboot",
"name": "Reboot" "command": "systemctl reboot"
}, },
{ {
"command": "spectacle -b", "name": "Screenshot",
"name": "Screenshot" "command": "spectacle -b"
}, },
{ {
"command": "systemctl suspend", "name": "Suspend",
"name": "Suspend" "command": "systemctl suspend"
}, },
{ {
"command": "kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --ping-msg \"$(ps -eo pid,%mem,cmd --sort=-%mem | head -n 6)\"", "name": "Top#5 memory eaters",
"name": "Top#5 memory eaters" "command": "kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --ping-msg \"$(ps -eo pid,%mem,cmd --sort=-%mem | head -n 6)\""
}, },
{ {
"command": "loginctl unlock-session", "name": "Unlock",
"name": "Unlock" "command": "loginctl unlock-session"
} }
] ]

View File

@ -96,44 +96,44 @@
"Containers": { "Containers": {
"Default": [ "Default": [
{ {
"name": "ff",
"color": "white", "color": "white",
"icon": "chill", "icon": "chill"
"name": "ff"
}, },
{ {
"name": "Fedi",
"color": "green", "color": "green",
"icon": "tree", "icon": "tree"
"name": "Fedi"
}, },
{ {
"name": "Git",
"color": "pink", "color": "pink",
"icon": "briefcase", "icon": "briefcase"
"name": "Git"
}, },
{ {
"name": "Google",
"color": "orange", "color": "orange",
"icon": "chill", "icon": "chill"
"name": "Google"
}, },
{ {
"name": "HSL",
"color": "blue", "color": "blue",
"icon": "vacation", "icon": "vacation"
"name": "HSL"
}, },
{ {
"name": "IM",
"color": "purple", "color": "purple",
"icon": "chill", "icon": "chill"
"name": "IM"
}, },
{ {
"name": "LinkedIn",
"color": "cyan", "color": "cyan",
"icon": "briefcase", "icon": "briefcase"
"name": "LinkedIn"
}, },
{ {
"name": "WhatsApp",
"color": "green", "color": "green",
"icon": "pet", "icon": "pet"
"name": "WhatsApp"
} }
] ]
}, },
@ -951,48 +951,48 @@
"SearchEngines": { "SearchEngines": {
"Add": [ "Add": [
{ {
"Name": "DuckDuckGo Lite",
"Alias": "dl", "Alias": "dl",
"Description": "Minimal, ad-free version of DuckDuckGo", "Description": "Minimal, ad-free version of DuckDuckGo",
"IconURL": "https://start.duckduckgo.com/static-assets/favicons/DDG-icon_256x256.png", "IconURL": "https://start.duckduckgo.com/static-assets/favicons/DDG-icon_256x256.png",
"Method": "POST", "Method": "POST",
"Name": "DuckDuckGo Lite",
"PostData": "q={searchTerms}", "PostData": "q={searchTerms}",
"SuggestURLTemplate": "https://start.duckduckgo.com/ac/?q={searchTerms}&type=list", "SuggestURLTemplate": "https://start.duckduckgo.com/ac/?q={searchTerms}&type=list",
"URLTemplate": "https://duckduckgo.com/lite/?q={searchTerms}" "URLTemplate": "https://duckduckgo.com/lite/?q={searchTerms}"
}, },
{ {
"Name": "DuckDuckGo Start",
"Alias": "d", "Alias": "d",
"Description": "DuckDuckGo Start page version", "Description": "DuckDuckGo Start page version",
"IconURL": "https://start.duckduckgo.com/static-assets/favicons/DDG-icon_256x256.png", "IconURL": "https://start.duckduckgo.com/static-assets/favicons/DDG-icon_256x256.png",
"Method": "GET", "Method": "GET",
"Name": "DuckDuckGo Start",
"SuggestURLTemplate": "https://start.duckduckgo.com/ac/?q={searchTerms}&type=list", "SuggestURLTemplate": "https://start.duckduckgo.com/ac/?q={searchTerms}&type=list",
"URLTemplate": "https://start.duckduckgo.com/?q={searchTerms}" "URLTemplate": "https://start.duckduckgo.com/?q={searchTerms}"
}, },
{ {
"Name": "Ecosia",
"Alias": "e", "Alias": "e",
"Description": "Ecosia Search Engine", "Description": "Ecosia Search Engine",
"IconURL": "https://cdn-static.ecosia.org/static/icons/favicon.ico", "IconURL": "https://cdn-static.ecosia.org/static/icons/favicon.ico",
"Method": "GET", "Method": "GET",
"Name": "Ecosia",
"SuggestURLTemplate": "https://ac.ecosia.org/autocomplete?q={searchTerms}", "SuggestURLTemplate": "https://ac.ecosia.org/autocomplete?q={searchTerms}",
"URLTemplate": "https://www.ecosia.org/search?q={searchTerms}&addon=firefoxgpo" "URLTemplate": "https://www.ecosia.org/search?q={searchTerms}&addon=firefoxgpo"
}, },
{ {
"Name": "Brave Search",
"Alias": "b", "Alias": "b",
"Description": "Brave Search", "Description": "Brave Search",
"IconURL": "https://cdn.search.brave.com/serp/v2/_app/immutable/assets/favicon.acxxetWH.ico", "IconURL": "https://cdn.search.brave.com/serp/v2/_app/immutable/assets/favicon.acxxetWH.ico",
"Method": "GET", "Method": "GET",
"Name": "Brave Search",
"SuggestURLTemplate": "https://search.brave.com/api/suggest?q={searchTerms}", "SuggestURLTemplate": "https://search.brave.com/api/suggest?q={searchTerms}",
"URLTemplate": "https://search.brave.com/search?q={searchTerms}" "URLTemplate": "https://search.brave.com/search?q={searchTerms}"
}, },
{ {
"Name": "Brave Search Goggles",
"Alias": "bg", "Alias": "bg",
"Description": "Brave Search Goggles", "Description": "Brave Search Goggles",
"IconURL": "https://cdn.search.brave.com/serp/v2/_app/immutable/assets/favicon.acxxetWH.ico", "IconURL": "https://cdn.search.brave.com/serp/v2/_app/immutable/assets/favicon.acxxetWH.ico",
"Method": "GET", "Method": "GET",
"Name": "Brave Search Goggles",
"SuggestURLTemplate": "https://search.brave.com/api/suggest?q={searchTerms}", "SuggestURLTemplate": "https://search.brave.com/api/suggest?q={searchTerms}",
"URLTemplate": "https://search.brave.com/goggles?q={searchTerms}" "URLTemplate": "https://search.brave.com/goggles?q={searchTerms}"
} }