mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
chore(templates): more cleanup
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ build*/
|
||||
cmake-build-*/
|
||||
|
||||
# Python cache
|
||||
tools/__pycache__
|
||||
__pycache__
|
||||
|
||||
# Compiled binary
|
||||
noctalia
|
||||
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user