colorscheme preview

This commit is contained in:
Zacharias-Brohn
2025-11-27 21:54:33 +01:00
parent 44c05f57db
commit 55bc4ea048
4 changed files with 3 additions and 98 deletions
-17
View File
@@ -1,17 +0,0 @@
#!/bin/zsh
raw="$(hyprctl activewindow)"
json="$(echo "$raw" | jq -Rn '
[ inputs
| sub("\r$"; "")
| select(test(":"))
| capture("^(?<key>[^:]+):[ \t]*(?<value>.*)$")
| .key |= ltrim
]
| from_entries
')"
title="$(echo "$json" | jq '.initialTitle')"
echo "$title"