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

Commit

Permalink
feat: base theming straight up got from bluefin and bazzite
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Mar 8, 2024
1 parent c966962 commit d837cb0
Show file tree
Hide file tree
Showing 27 changed files with 237 additions and 14 deletions.
9 changes: 9 additions & 0 deletions config/common/gnome/apps.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
type: rpm-ostree
install:
- helvum
- gnome-shell-extension-gsconnect
- gnome-shell-extension-dash-to-dock
- gnome-shell-extension-appindicator
- gnome-shell-extension-blur-my-shell
- gnome-shell-extension-logo-menu
remove:
- gnome-extensions-app
- gnome-tour
- gnome-software-rpm-ostree
2 changes: 2 additions & 0 deletions config/common/shared/flatpaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ system:
- io.github.fabrialberio.pinapp
- org.rncbc.qtractor
- org.hydrogenmusic.Hydrogen
- com.mattjakeman.ExtensionManager
- io.missioncenter.MissionCenter
1 change: 1 addition & 0 deletions config/common/shared/gui-apps.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: rpm-ostree
install:
- fira-code-fonts
- papirus-icon-theme
- materia-gtk-theme
- krita
Expand Down
2 changes: 2 additions & 0 deletions config/files/gnome/etc/dconf/db/gdm.d/01-atomic
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[org/gnome/desktop/peripherals/touchpad]
tap-to-click=true
117 changes: 117 additions & 0 deletions config/files/gnome/etc/dconf/db/local.d/01-atomic-theming
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
[org/gnome/shell]
enabled-extensions = ['[email protected]', '[email protected]', 'blur-my-shell@aunetx', '[email protected]', 'logomenu@aryan_k', '[email protected]']

[org/gnome/desktop/peripherals/mouse]
accel-profile="flat"

[org/gnome/desktop/interface]
enable-hot-corners=true
clock-show-weekday=true
font-name="Inter 12"
document-font-name="Inter 12"
monospace-font-name="FiraCode Mono 18"
cursor-theme="Adwaita"
icon-theme="Papirus-Dark"
gtk-theme="Materia-Dark"
font-antialiasing="rgba"
font-hinting="full"

[org/gnome/desktop/sound]
allow-volume-above-100-percent=true
theme-name="freedesktop"

[org/gnome/desktop/wm/preferences]
button-layout=":minimize,maximize,close"
num-workspaces='4'
titlebar-font="Inter Bold 12"

[org/gnome/desktop/wm/keybindings]
switch-applications = ['<Super>Tab']
switch-applications-backward = ['<Shift><Super>Tab']
switch-windows = ['<Alt>Tab']
switch-windows-backward = ['<Shift><Alt>Tab']

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

[org/gnome/desktop/peripherals/keyboard]
numlock-state=true

[org/gnome/shell/extensions/dash-to-dock]
dock-fixed=true
force-straight-corner=false
custom-theme-shrink=true
disable-overview-on-startup=true
transparency-mode='DYNAMIC'
animation-time=0.15
background-color='rgb(40,40,40)'
background-opacity=0.8
custom-background-color=true
customize-alphas=true
max-alpha=0.8
min-alpha=0.5

[org/gnome/settings-daemon/plugins/power]
power-button-action='interactive'

[org/gtk/settings/file-chooser]
sort-directories-first=true

[org/gtk/gtk4/settings/file-chooser]
sort-directories-first=true

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

[org/gnome/software]
allow-updates=false
download-updates=false
download-updates-notify=false

[com/github/stunkymonkey/nautilus-open-any-terminal]
terminal='ptyxis'
keybindings=''
new-tab=false
flatpak='off'

[org/gnome/shell/extensions/Logo-menu]
menu-button-icon-image=1
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

[org/gnome/Ptyxis]
interface-style='system'
restore-session=false
restore-window-size=false
audible-bell=false

[org/gnome/shell/extensions/blur-my-shell/panel]
blur=false

[org/gnome/desktop/privacy]
remember-recent-files=false
remove-old-trash-files=true
remove-old-temp-files=true

[org/gnome/settings-daemon/plugins/power]
sleep-inactive-ac-timeout=3600

[org/gnome/desktop/media-handling]
autorun-never=true

[org/gnome/nautilus/preferences]
search-filter-time-type='last_modified'

[org/gnome/nautilus/list-view]
use-tree-view=true

[org/gnome/tweaks]
show-extensions-notice=false
30 changes: 30 additions & 0 deletions config/files/gnome/etc/dconf/db/local.d/02-atomic-folders
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[org/gnome/desktop/app-folders]
folder-children=['Games', 'GamingUtilities', 'Utilities', 'Distrobox', 'Wine', 'YaST', 'Pardus']

[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', 'input-remapper-gtk.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']
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/Distrobox]
categories=['Distrobox']
name='Distrobox'
translate=false

[org/gnome/desktop/app-folders/folders/Wine]
apps=['winetricks.desktop']
categories=['X-Wine', 'wine-wine']
name='Wine'
translate=false
4 changes: 4 additions & 0 deletions config/files/gnome/etc/dconf/db/local.d/locks/01-atomic
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[org/gnome/software]
allow-updates=false
download-updates=false
download-updates-notify=false
3 changes: 3 additions & 0 deletions config/files/gnome/etc/dconf/profile/gdm
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
user-db:user
system-db:gdm
file-db:/usr/share/gdm/greeter-dconf-defaults
2 changes: 2 additions & 0 deletions config/files/gnome/etc/dconf/profile/user
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
user-db:user
system-db:local
3 changes: 3 additions & 0 deletions config/files/plasma/etc/profile.d/kde.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
export MOZ_ENABLE_WAYLAND=1
export MOZ_USE_XINPUT2=1
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ Exec=xdg-user-dirs-update
StartupNotify=false
NoDisplay=true

X-KDE-autostart-phase=1
X-KDE-autostart-phase=1
4 changes: 4 additions & 0 deletions config/files/plasma/etc/xdg/kcm-about-distrorc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[General]
LogoPath=/usr/share/ublue-os/atomic-studio/icons/logo.png
Name=Atomic Studio
Website=https://github.com/atomic-studio-org/Atomic-Studio
2 changes: 2 additions & 0 deletions config/files/plasma/etc/xdg/kcminputrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Libinput][Defaults]
PointerAccelerationProfile=1
18 changes: 18 additions & 0 deletions config/files/plasma/etc/xdg/kdeglobals
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[KDE]
LookAndFeelPackage=com.github.varlesh.materia-dark
SingleClick=false

[KDE Action Restrictions][$i]
action/switch_user=false
action/start_new_session=false
action/lock_screen=false

[KDE Control Module Restrictions][$i]
kcm_sddm.desktop=false
kcm_plymouth.desktop=false

[General]
font=Noto Sans,11,-1,5,50,0,0,0,0,0
menuFont=Noto Sans,11,-1,5,50,0,0,0,0,0
smallestReadableFont=Noto Sans,9,-1,5,50,0,0,0,0,0
toolBarFont=Noto Sans,11,-1,5,50,0,0,0,0,0
3 changes: 3 additions & 0 deletions config/files/plasma/etc/xdg/kscreenlockerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[Daemon]
Autolock=false
LockOnResume=false
2 changes: 2 additions & 0 deletions config/files/plasma/etc/xdg/plasma-nm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[General]
SystemConnectionsByDefault=true
6 changes: 6 additions & 0 deletions config/files/shared/etc/distrobox/distrobox.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
container_always_pull="1"
container_generate_entry=1
container_manager="podman"
container_name_default="ubuntu"
container_image_default="ghcr.io/ublue-os/ubuntu-toolbox:latest"
non_interactive="1"
6 changes: 2 additions & 4 deletions config/files/shared/etc/fish/functions/fish_greeting.fish
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
function fish_greeting
if test -d "$HOME"
if test ! -e "$HOME"/.config/no-show-user-motd
if test -x "/usr/bin/studio-motd"
/usr/bin/studio-motd
end
if test -x "/usr/bin/studio"
/usr/bin/studio motd
end
end

Expand Down
3 changes: 3 additions & 0 deletions config/files/shared/etc/fish/functions/fish_prompt.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function fish_prompt
echo (set_color brblue)\((set_color brmagenta)(whoami)@(hostname)(set_color brblue)\)\:(pwd) \>(set_color normal)" "
end
1 change: 1 addition & 0 deletions config/files/shared/etc/xdg/gtk-2.0/gtkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gtk-theme-name="Materia-Dark"
2 changes: 2 additions & 0 deletions config/files/shared/etc/xdg/gtk-3.0/settings.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Settings]
gtk-theme-name=Materia-Dark
2 changes: 1 addition & 1 deletion config/files/shared/libexec/atomic-studio-cli/add.nu
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ def nix_install [yes: bool, packages: list<string>] {
}

run-external nix profile install ($packages | each {|value| $"nixpkgs#($value) "} | str join)
}
}
6 changes: 3 additions & 3 deletions config/files/shared/libexec/atomic-studio-cli/davinci.nu
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ export def "main davinci" [
}
let box_name = $install_box

try { distrobox ls | grep $box_name out> /dev/null } catch {
try { distrobox ls | grep $box_name } catch {
fancy_prompt_message "The Davinci container"
if (not (user_prompt $yes)) {
if not (user_prompt $yes) {
return
}
distrobox create -i $DAVINCI_IMAGE --name $box_name -Y --pull
}

distrobox enter $box_name -- sh -c $"setup-davinci ($script_path) distrobox && add-davinci-launcher"
}
}
4 changes: 2 additions & 2 deletions config/files/shared/libexec/atomic-studio-cli/update.nu
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ export def "main update toggle" [option?: string] {

# Run topgrade transaction for general upgrades
export def "main update" [
--config (-c) # Configuration file for Topgrade
--config (-c): string # Configuration file for Topgrade
] {
mut config_file = $config
if $config == null {
$config_file = "/usr/share/ublue-os/topgrade.toml"
}

run-external topgrade '--config' '--keep' $config_file
}
}
9 changes: 6 additions & 3 deletions config/files/shared/libexec/studio-jackd-default
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
pulseaudio -k
pactl load-module module-jack-source
pactl load-module module-jack-sink
jack_control start
jack_control ds alsa
jack_control dps rate 48000
Expand All @@ -9,6 +10,8 @@ jack_control dps period 64
sleep 5sec
a2j_control --ehw
a2j_control --start
sleep 5sec
qjackctl &
pactl load-module module-jack-sink

# Prevents the service from restarting a bunch of times for some reason
while true ; do
sleep 10000
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Section "InputClass"
Identifier "Pointer"
Driver "libinput"
MatchIsPointer "yes"
Option "AccelProfile" "flat"
Option "AccelSpeed" "0"
EndSection

File renamed without changes.

0 comments on commit d837cb0

Please sign in to comment.