chore(templates): more cleanup

This commit is contained in:
Lemmy
2026-04-26 23:53:48 -04:00
parent c1c1a61834
commit bdbe5c74f6
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ build*/
cmake-build-*/
# Python cache
tools/__pycache__
__pycache__
# Compiled binary
noctalia
+3 -3
View File
@@ -100,12 +100,12 @@ post_hook = "bash '{{ config_dir }}/ghostty/apply.sh'"
[templates.gtk3]
input_path = "./gtk/gtk3.css"
output_path = "~/.config/gtk-3.0/noctalia.css"
post_hook = "bash '{{ config_dir }}/gtk/gtk-refresh.sh' {{ mode }}"
post_hook = "bash '{{ config_dir }}/gtk/apply.sh' {{ mode }}"
[templates.gtk4]
input_path = "./gtk/gtk4.css"
output_path = "~/.config/gtk-4.0/noctalia.css"
post_hook = "bash '{{ config_dir }}/gtk/gtk-refresh.sh' {{ mode }}"
post_hook = "bash '{{ config_dir }}/gtk/apply.sh' {{ mode }}"
[templates.helix]
input_path = "./helix/helix.toml"
@@ -114,7 +114,7 @@ output_path = "~/.config/helix/themes/noctalia.toml"
[templates.kcolorscheme]
input_path = "./kde/kcolorscheme.colors"
output_path = "~/.local/share/color-schemes/noctalia.colors"
post_hook = "python3 '{{ config_dir }}/kde/kde-apply-scheme.py' noctalia"
post_hook = "python3 '{{ config_dir }}/kde/apply.py' noctalia"
[templates.kitty]
input_path = "./kitty/kitty.conf"
@@ -111,7 +111,7 @@ main() {
shift
fi
if [ $# -ne 1 ] || { [ "$1" != "dark" ] && [ "$1" != "light" ]; }; then
echo "Usage: gtk-refresh.sh [--appearance-only] (dark|light)" >&2
echo "Usage: apply.sh [--appearance-only] (dark|light)" >&2
exit 1
fi
mode="$1"