init
This commit is contained in:
commit
b6067074c0
25 changed files with 979 additions and 0 deletions
19
data/gresource.xml
Normal file
19
data/gresource.xml
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="/org/er2/cord">
|
||||
<file>style.css</file>
|
||||
<!-- file alias="style-dark.css">style-dark.css</file>
|
||||
<file alias="add-note-symbolic.svg">icons/scalable/add-note-symbolic.svg</file>
|
||||
<file alias="notebook-symbolic.svg">icons/scalable/notebook-symbolic.svg</file>
|
||||
<file alias="notebook-config-symbolic.svg">icons/scalable/notebook-config-symbolic.svg</file>
|
||||
<file alias="title_menu.ui">ui/title_menu.ui</file>
|
||||
<file alias="shortcuts.ui">ui/shortcuts.ui</file>
|
||||
<file alias="main_window.ui">ui/main_window.ui</file>
|
||||
<file alias="menu.ui">ui/menu.ui</file>
|
||||
<file alias="note_theme.ui">ui/note_theme.ui</file>
|
||||
<file alias="note_menu.ui">ui/note_menu.ui</file>
|
||||
<file alias="trash_note_menu.ui">ui/trash_note_menu.ui</file>
|
||||
<file alias="edit_notebooks.ui">ui/edit_notebooks.ui</file>
|
||||
<file alias="move_to_dialog.ui">ui/move_to_dialog.ui</file -->
|
||||
</gresource>
|
||||
</gresources>
|
10
data/gschema.xml
Normal file
10
data/gschema.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schemalist>
|
||||
<schema path="/org/er2/cord/" id="org.er2.cord">
|
||||
<key name="name" type="s">
|
||||
<default>'Er2'</default>
|
||||
<summary>Name</summary>
|
||||
<description>The font to be used for content.</description>
|
||||
</key>
|
||||
</schema>
|
||||
</schemalist>
|
21
data/meson.build
Normal file
21
data/meson.build
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
gnome = import('gnome')
|
||||
i18n = import('i18n')
|
||||
|
||||
sch = gnome.compile_schemas(depend_files: 'gschema.xml')
|
||||
res = gnome.compile_resources(
|
||||
'res', 'gresource.xml',
|
||||
source_dir: 'data',
|
||||
c_name: 'as'
|
||||
)
|
||||
source += res
|
||||
source += sch
|
||||
|
||||
schemas_dir = datadir /'glib-2.0'/'schemas'
|
||||
|
||||
install_data(
|
||||
'gschema.xml',
|
||||
install_dir: schemas_dir,
|
||||
rename: [meson.project_name() + '.gschema.xml']
|
||||
)
|
||||
meson.add_install_script('glib-compile-schemas', schemas_dir)
|
9
data/style.css
Normal file
9
data/style.css
Normal file
|
@ -0,0 +1,9 @@
|
|||
window:not(.maximized) {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
popover arrow {
|
||||
background: rgba(0,0,0,0);
|
||||
border: none;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue