Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
slapos
Commits
685ac27d
Commit
685ac27d
authored
Dec 01, 2022
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bermiz-ide: use materia theme and custom font-size
parent
37e5b8f8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
3 deletions
+34
-3
software/beremiz-ide/buildout.hash.cfg
software/beremiz-ide/buildout.hash.cfg
+3
-3
software/beremiz-ide/instance-beremiz-test.cfg.jinja2.in
software/beremiz-ide/instance-beremiz-test.cfg.jinja2.in
+6
-0
software/beremiz-ide/instance-beremiz.cfg.jinja2.in
software/beremiz-ide/instance-beremiz.cfg.jinja2.in
+23
-0
software/beremiz-ide/instance.cfg.in
software/beremiz-ide/instance.cfg.in
+1
-0
software/beremiz-ide/software.cfg
software/beremiz-ide/software.cfg
+1
-0
No files found.
software/beremiz-ide/buildout.hash.cfg
View file @
685ac27d
...
...
@@ -15,15 +15,15 @@
[instance]
filename = instance.cfg.in
md5sum = e
8aae0fe3a8bc3f006b8638ed326bbcb
md5sum = e
ac5155a458c8a2f37959833caa9d9fe
[template-instance-beremiz]
filename = instance-beremiz.cfg.jinja2.in
md5sum =
2b990148e527117bcfb366f8b700c807
md5sum =
880a96ad5679b075a0681a6b1233f582
[template-instance-beremiz-test]
filename = instance-beremiz-test.cfg.jinja2.in
md5sum =
a2fa2b9d3a225a1dd71db67bd4fea769
md5sum =
34bf185731d479021f0c4472b5e524e0
[template-fluxbox-menu.in]
filename = fluxbox-menu.in
...
...
software/beremiz-ide/instance-beremiz-test.cfg.jinja2.in
View file @
685ac27d
...
...
@@ -13,6 +13,12 @@ environment =
XORG_LOCK_DIR=${xserver:lock-dir}
DISPLAY=${xserver:display}
[enable-matieria-theme]
inline =
[Settings]
gtk-font-name=FreeSans,12
gtk-theme-name=Materia
[xdotool]
recipe = slapos.cookbook:wrapper
command-line = {{ xdotool_bin }}
...
...
software/beremiz-ide/instance-beremiz.cfg.jinja2.in
View file @
685ac27d
...
...
@@ -11,6 +11,9 @@ var = ${buildout:directory}/var
tmp = ${buildout:directory}/tmp
log = ${:var}/log
vnc = ${buildout:directory}/.vnc
themes = ${buildout:directory}/.themes
config = ${buildout:directory}/.config
gtk3-config = ${:config}/gtk-3.0
scripts = ${:etc}/run
services = ${:etc}/service
promise = ${:etc}/promise
...
...
@@ -159,6 +162,21 @@ recipe = slapos.cookbook:wrapper
wrapper-path = ${directory:promise}/xserver-is-up
command-line = bash -c "[ -S ${xserver:lock-dir}/.X11-unix/X${xserver:display-num} ]"
[install-gtk-materia-theme]
recipe = plone.recipe.command
command =
cp -r {{ gtk_materia_theme }}/share/themes/* ${directory:themes}/
update-command = ${:command}
stop-on-error = true
[enable-matieria-theme]
recipe = slapos.recipe.template
inline =
[Settings]
gtk-font-name=FreeSans,10
gtk-theme-name=Materia
output = ${directory:gtk3-config}/settings.ini
[fluxbox-menu]
recipe = slapos.recipe.template:jinja2
url = {{ fluxbox_menu }}
...
...
@@ -201,6 +219,9 @@ inline =
export LD_LIBRARY_PATH={{ mesa_location }}/lib
export PATH=${directory:bin}:{{ git_bin_dir }}:{{ cmake_bin }}:{{ autoconf_bin }}:{{ automake_bin }}:{{ matiec_location }}/bin:{{ bison_location }}/bin:{{ flex_location }}/bin:{{ bin_directory }}:{{ gcc_location }}/bin:$PATH
export XDG_DATA_DIR={{ gtk3_location }}/share
export GTK_THEME=Materia
export GTK_PATH={{ gtk_materia_theme }}
export HOME=${buildout:directory}
export GSETTINGS_SCHEMA_DIR={{ gtk3_location }}/share/glib-2.0/schemas
export FONTCONFIG_FILE=${font-config:output}
export DISPLAY=${xserver:display}
...
...
@@ -261,6 +282,8 @@ parts =
novnc-promise
xserver-promise
x11vnc-listen-promise
enable-matieria-theme
install-gtk-materia-theme
beremiz-x11
nginx-launcher
nginx-graceful
...
...
software/beremiz-ide/instance.cfg.in
View file @
685ac27d
...
...
@@ -61,6 +61,7 @@ extra-context =
raw gcc_location {{ gcc_location }}
raw git_bin_dir {{ git_location }}
raw gtk3_location {{ gtk3_location }}
raw gtk_materia_theme {{ gtk_materia_theme}}
raw matiec_location {{ matiec_location }}
raw mesa_location {{ mesa_location }}
raw nginx_executable {{ nginx_executable }}
...
...
software/beremiz-ide/software.cfg
View file @
685ac27d
...
...
@@ -139,6 +139,7 @@ context =
key gcc_location gcc:prefix
key git_location git:location
key gtk3_location gtk-3:location
key gtk_materia_theme gtk-materia-theme:location
key instance_template_type :type
key matiec_location matiec:location
key mesa_location mesa:location
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment