diff --git a/gtk4.nix b/gtk4.nix index 4a3db9e..849d963 100644 --- a/gtk4.nix +++ b/gtk4.nix @@ -21,4 +21,9 @@ in pkgs.mkShell { python-pkgs.debian ])) ]; + shellHook = '' + export GSETTINGS_SCHEMAS_PATH="$(pwd "$0")/schemas:$GSETTINGS_SCHEMAS_PATH" + export GSETTINGS_SCHEMA_DIR="$(pwd "$0")/schemas:$GSETTINGS_SCHEMA_DIR" + export XDG_DATA_DIRS="$(pwd "$0")/schemas:$XDG_DATA_DIRS" + ''; } \ No newline at end of file diff --git a/schemas/com.asandikci.pardus-security-center.gschema.xml b/schemas/com.asandikci.pardus-security-center.gschema.xml new file mode 100644 index 0000000..94c3f10 --- /dev/null +++ b/schemas/com.asandikci.pardus-security-center.gschema.xml @@ -0,0 +1,10 @@ + + + + + true + First Run + Did application run before or is this first run? + + + \ No newline at end of file diff --git a/schemas/compile-schemas.sh b/schemas/compile-schemas.sh new file mode 100755 index 0000000..6e78dd5 --- /dev/null +++ b/schemas/compile-schemas.sh @@ -0,0 +1,2 @@ +cd $(dirname "$0") +glib-compile-schemas . \ No newline at end of file diff --git a/schemas/gschemas.compiled b/schemas/gschemas.compiled new file mode 100644 index 0000000..8a383b7 Binary files /dev/null and b/schemas/gschemas.compiled differ