Replaced state cacher with gsettings
This commit is contained in:
10
data/meson.build
Normal file
10
data/meson.build
Normal file
@@ -0,0 +1,10 @@
|
||||
install_data('org.erikreider.swaync.gschema.xml',
|
||||
install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas')
|
||||
)
|
||||
|
||||
compile_schemas = find_program('glib-compile-schemas', required: false)
|
||||
if compile_schemas.found()
|
||||
test('Validate schema file', compile_schemas,
|
||||
args: ['--strict', '--dry-run', meson.current_source_dir()]
|
||||
)
|
||||
endif
|
10
data/org.erikreider.swaync.gschema.xml
Normal file
10
data/org.erikreider.swaync.gschema.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schemalist gettext-domain="swaync">
|
||||
<schema id="org.erikreider.swaync" path="/org/erikreider/swaync/">
|
||||
<key name="dnd-state" type="b">
|
||||
<default>false</default>
|
||||
<summary>The current do not disturb state</summary>
|
||||
<description>Whether notifications should be silent or not</description>
|
||||
</key>
|
||||
</schema>
|
||||
</schemalist>
|
Reference in New Issue
Block a user