manage themes & configs of kvantum & nwg-look with stow

This commit is contained in:
2025-11-17 20:11:02 +01:00
parent ac4e77bba8
commit 757f93b5ac
2711 changed files with 637253 additions and 5 deletions

View File

@@ -1,15 +0,0 @@
#!/bin/bash
[ -f "$HOME/.local/snippets/apply-color-helper" ] || {
echo "Missing helper script: $HOME/.local/snippets/apply-color-helper"
exit 1
}
. "$HOME/.local/snippets/apply-color-helper"
kvantummanager --set catppuccin-mocha-"$colorName" || {
log_error "Failed to set kvantum theme to catppuccin-mocha-${colorName}"
exit 1
}
log_success "kvantum"

View File

@@ -1,19 +0,0 @@
#!/bin/bash
[ -f "$HOME/.local/snippets/apply-color-helper" ] || {
echo "Missing helper script: $HOME/.local/snippets/apply-color-helper"
exit 1
}
. "$HOME/.local/snippets/apply-color-helper"
file="$HOME/.local/share/nwg-look/gsettings"
sed -i -E "s/^(gtk-theme=catppuccin-mocha-)[^-]+(-standard\+default)$/\1${colorName}\2/" "$file" || {
log_error "Failed to edit ${file}"
exit 1
}
nwg-look -a -x
log_success "nwg-look"