Skip to content

Commit

Permalink
feat(bluefin, branding): add GNOME schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Dec 27, 2024
1 parent 3368fa7 commit d02ca14
Show file tree
Hide file tree
Showing 7 changed files with 109 additions and 1 deletion.
14 changes: 13 additions & 1 deletion bluefin/branding/bluefin-branding.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ mkdir -p -m0755 \
%{buildroot}%{_datadir}/backgrounds/%{vendor} \
%{buildroot}%{_datadir}/gnome-background-properties \
%{buildroot}%{_datadir}/pixmaps \
%{buildroot}%{_datadir}/ublue-os
%{buildroot}%{_datadir}/ublue-os \
%{buildroot}%{_sysconfdir}

mv wallpapers/*.xml %{buildroot}%{_datadir}/gnome-background-properties
mv wallpapers/* %{buildroot}%{_datadir}/backgrounds/%{vendor}
mv faces %{buildroot}%{_datadir}/pixmaps
mv logos/* %{buildroot}%{_datadir}/pixmaps
mv cli-logos %{buildroot}%{_datadir}/ublue-os/bluefin-logos
mv schemas/dconf %{buildroot}%{_sysconfdir}

%package logos
Summary: Logos for GNOME
Expand All @@ -51,6 +53,16 @@ Logos for CLI applications like Fastfetch
%files cli-logos
%attr(0755,root,root) %{_datadir}/ublue-os/bluefin-logos/*

%package schemas
Summary: GNOME Schemas for Bluefin

%description schemas
Contains all of the DConf settings that Bluefin ships by default

%files schemas
%attr(0755,root,root) %{_sysconfdir}/dconf/db


%package backgrounds
Summary: Bluefin wallpapers
License: CC-BY-CA
Expand Down
43 changes: 43 additions & 0 deletions bluefin/branding/schemas/dconf/db/distro.d/01-bluefin-folders
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Relocatable schemas are located here in dconf
# Some Gnome extensions don't ship gschema XML, so their settings also need to go in dconf

[org/gnome/desktop/app-folders/folders/GamingUtilities]
apps=['protontricks.desktop', 'discover_overlay_configure.desktop', 'com.vysp3r.ProtonPlus.desktop', 'io.github.benjamimgois.goverlay.desktop', 'com.gerbilsoft.rom-properties.rp-config.desktop', 'steamos-nested-desktop.desktop']
name='Gaming Utilities'
translate=false

[org/gnome/desktop/app-folders/folders/Utilities]
apps=['com.github.tchx84.Flatseal.desktop', 'io.github.flattool.Warehouse.desktop', 'com.mattjakeman.ExtensionManager.desktop', 'org.gnome.tweaks.desktop', 'firewall-config.desktop', 'ca.desrt.dconf-editor.desktop', 'org.gnome.World.PikaBackup.desktop', 'input-leap.desktop', 'solaar.desktop', 'org.fedoraproject.MediaWriter.desktop', 'input-remapper-gtk.desktop', 'org.gnome.Sysprof.desktop', 'remote-viewer.desktop']
categories=['X-GNOME-Utilities']
name='X-GNOME-Utilities.directory'
translate=true

[org/gnome/desktop/app-folders/folders/Games]
excluded-apps=['steam.desktop', 'net.lutris.Lutris.desktop', 'io.github.benjamimgois.goverlay.desktop', 'com.vysp3r.ProtonPlus.desktop', 'io.github.fastrizwaan.WineZGUI.desktop' ]
categories=['Game']
name='Games'
translate=false

[org/gnome/desktop/app-folders/folders/Containers]
apps=['io.github.dvlv.boxbuddyrs.desktop', 'com.github.marhkb.Pods.desktop']
categories=['Distrobox']
name='Containers'
translate=false

[org/gnome/desktop/app-folders/folders/Wine]
apps=['winetricks.desktop']
categories=['X-Wine', 'wine-wine']
name='Wine'
translate=false

[org/gnome/desktop/app-folders/folders/Development]
apps=['dev-pod.desktop', 'code.desktop', 'virt-manager.desktop', 'io.podman_desktop.PodmanDesktop.desktop']
excluded-apps=['org.gnome.Sysprof.desktop']
categories=['Development', 'IDE']
name='Development'
translate=false

[org/gnome/desktop/app-folders/folders/Productivity]
apps=['simple-scan.desktop', 'org.gnome.Papers.desktop', 'org.gnome.Connections.desktop']
name='Productivity'
translate=false
17 changes: 17 additions & 0 deletions bluefin/branding/schemas/dconf/db/distro.d/02-bluefin-keybindings
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Relocatable schemas are located here in dconf
# Some Gnome extensions don't ship gschema XML, so their settings also need to go in dconf

[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0]
binding='<Control><Alt>t'
command='/usr/bin/ptyxis --new-window'
name='Ptyxis'

[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1]
binding='<Control><Alt>Return'
command='/usr/bin/ptyxis --new-window'
name='Ptyxis Alt'

[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2]
binding='<Control><Shift>Escape'
command="flatpak run io.missioncenter.MissionCenter"
name='mission-center'
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Relocatable schemas are located here in dconf
# Some Gnome extensions don't ship gschema XML, so their settings also need to go in dconf

[org/gnome/Ptyxis/Profiles/2871e8027773ae74d6c87a5f659bbc74]
palette='catppuccin-dynamic'
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Relocatable schemas are located here in dconf
# Some Gnome extensions don't ship gschema XML, so their settings also need to go in dconf

[org/gnome/shell/extensions/Logo-menu]
symbolic-icon=true
menu-button-icon-image=30
menu-button-terminal='xdg-terminal-exec'
menu-button-system-monitor='flatpak run io.missioncenter.MissionCenter'
menu-button-extensions-app='com.mattjakeman.ExtensionManager.desktop'
menu-button-software-center='gnome-software'
show-activities-button=true
show-lockscreen=false
show-power-option=false
show-gamemode=false
hide-forcequit=true
show-boxbuddy=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Relocatable schemas are located here in dconf
# Some Gnome extensions don't ship gschema XML, so their settings also need to go in dconf

[org/gnome/shell/extensions/search-light]
shortcut-search=['<Super>space']
scale-width=0.10
scale-height=0.15
border-thickness=1
border-radius=1.65
border-color=(0.23, 0.23, 0.23, 1.0)
background-color=(0.0, 0.0, 0.0, 0.8)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Lock Gnome Software updates
/org/gnome/software/allow-updates
/org/gnome/software/download-updates
/org/gnome/software/download-updates-notify

0 comments on commit d02ca14

Please sign in to comment.