better structure

This commit is contained in:
2025-10-19 00:14:19 +02:00
parent 057afc086e
commit 8733656ed9
630 changed files with 81 additions and 137 deletions

22
config/fuzzel/apply-color Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
path=$(dirname "$(readlink -f "$0")")
. "$path"/../../utils/apply-color-helper
file="$path"/fuzzel.ini
entries="match selection-match border"
if pgrep -x "fuzzel" -u "$USER" > /dev/null; then
pkill -x fuzzel || log_error "Failed to kill fuzzel process"
# and move on
fi
for entry in $entries; do
# Not very sure if alpha channels are neccessary here, but just in case
sed -i -E "s/^($entry\s*=\s*)([0-9A-Fa-f]{6})([0-9A-Fa-f]{0,2})/\1${colorHex}\3/" "$file" || {
log_error "Failed to edit ${file} for entry ${entry}"
exit 1
}
done
log_success "fuzzel"

24
config/fuzzel/fuzzel.ini Normal file
View File

@@ -0,0 +1,24 @@
terminal=kitty -e
prompt=">> "
layer=overlay
[colors]
background=1e1e2edd
text=cdd6f4ff
prompt=bac2deff
placeholder=7f849cff
input=cdd6f4ff
match=89b4faff
selection=585b70ff
selection-text=cdd6f4ff
selection-match=89b4faff
counter=7f849cff
border=89b4faff
[border]
radius=17
width=2
[dmenu]
exit-immediately-if-empty=yes