Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from ublue-os/fix-silverblue-options
Browse files Browse the repository at this point in the history
fix: add gnome specific settings
  • Loading branch information
bobslept authored Sep 10, 2023
2 parents 06b9479 + 869880d commit 5b3b81a
Show file tree
Hide file tree
Showing 15 changed files with 97 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,21 @@ FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION} AS framework
ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-silverblue}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-38}"

COPY usr /usr
# Store a copy of files so we not have to polute
# every image with image specific files.
COPY system_files/ /tmp/
# Copy shared files between all images.
COPY system_files/shared /
COPY framework-install.sh /tmp/framework-install.sh
COPY framework-packages.json /tmp/framework-packages.json

# Setup specific files and commands for Silverblue
RUN if grep -q "silverblue" <<< "${BASE_IMAGE_NAME}"; then \
rsync -rvK /tmp/silverblue/ / && \
systemctl enable dconf-update \
; fi

# Setup things which are the same for every image
RUN /tmp/framework-install.sh && \
systemctl enable tlp && \
systemctl enable fprintd && \
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[org/gnome/desktop/interface]
text-scaling-factor=1.25

[org/gnome/desktop/peripherals/touchpad]
tap-to-click=true

[org/gnome/mutter]
experimental-features=['scale-monitor-framebuffer']

[org/gnome/desktop/background]
picture-uri='file:///usr/share/backgrounds/framework_box.png'
picture-uri-dark='file:///usr/share/backgrounds/framework_box.png'
picture-options='zoom'
primary-color='E6C39AFF'
secondary-color='020201FF'
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Unit]
Description=Update the dconf database onboot
Documentation=https://github.com/coreos/rpm-ostree/issues/1944

[Service]
Type=oneshot
ExecStart=/usr/bin/dconf update

[Install]
WantedBy=multi-user.target
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Frameworkzb</name>
<filename>/usr/share/backgrounds/FrameworkZB.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#323232</pcolor>
<scolor>#83837B</scolor>
</wallpaper>
</wallpapers>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Center</name>
<filename>/usr/share/backgrounds/center.png</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#0B0B0BFF</pcolor>
<scolor>#211F1DFF</scolor>
</wallpaper>
</wallpapers>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Frameworkzb_fedora</name>
<filename>/usr/share/backgrounds/frameworkZB_fedora.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#323232</pcolor>
<scolor>#646660</scolor>
</wallpaper>
</wallpapers>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Framework_box</name>
<filename>/usr/share/backgrounds/framework_box.png</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#E6C39AFF</pcolor>
<scolor>#020201FF</scolor>
</wallpaper>
</wallpapers>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Hills</name>
<filename>/usr/share/backgrounds/hills.jpg</filename>
<options>zoom</options>
<shade_type>solid</shade_type>
<pcolor>#57351F</pcolor>
<scolor>#C4D3DD</scolor>
</wallpaper>
</wallpapers>

0 comments on commit 5b3b81a

Please sign in to comment.