diff --git a/config/common/gnome/apps.yml b/config/common/gnome/apps.yml index 027167b..add66d5 100644 --- a/config/common/gnome/apps.yml +++ b/config/common/gnome/apps.yml @@ -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 diff --git a/config/common/shared/flatpaks.yml b/config/common/shared/flatpaks.yml index 0b368bb..fabd6b2 100644 --- a/config/common/shared/flatpaks.yml +++ b/config/common/shared/flatpaks.yml @@ -9,3 +9,5 @@ system: - io.github.fabrialberio.pinapp - org.rncbc.qtractor - org.hydrogenmusic.Hydrogen + - com.mattjakeman.ExtensionManager + - io.missioncenter.MissionCenter diff --git a/config/common/shared/gui-apps.yml b/config/common/shared/gui-apps.yml index 73a91bf..dc9e5bb 100644 --- a/config/common/shared/gui-apps.yml +++ b/config/common/shared/gui-apps.yml @@ -1,5 +1,6 @@ type: rpm-ostree install: + - fira-code-fonts - papirus-icon-theme - materia-gtk-theme - krita diff --git a/config/files/gnome/etc/dconf/db/gdm.d/01-atomic b/config/files/gnome/etc/dconf/db/gdm.d/01-atomic new file mode 100644 index 0000000..72eb2cd --- /dev/null +++ b/config/files/gnome/etc/dconf/db/gdm.d/01-atomic @@ -0,0 +1,2 @@ +[org/gnome/desktop/peripherals/touchpad] +tap-to-click=true diff --git a/config/files/gnome/etc/dconf/db/local.d/01-atomic-theming b/config/files/gnome/etc/dconf/db/local.d/01-atomic-theming new file mode 100644 index 0000000..177706a --- /dev/null +++ b/config/files/gnome/etc/dconf/db/local.d/01-atomic-theming @@ -0,0 +1,117 @@ +[org/gnome/shell] +enabled-extensions = ['appindicatorsupport@rgcjonas.gmail.com', 'dash-to-dock@micxgx.gmail.com', 'blur-my-shell@aunetx', 'gsconnect@andyholmes.github.io', 'logomenu@aryan_k', 'tailscale@joaophi.github.com'] + +[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 = ['Tab'] +switch-applications-backward = ['Tab'] +switch-windows = ['Tab'] +switch-windows-backward = ['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 diff --git a/config/files/gnome/etc/dconf/db/local.d/02-atomic-folders b/config/files/gnome/etc/dconf/db/local.d/02-atomic-folders new file mode 100644 index 0000000..f5ff602 --- /dev/null +++ b/config/files/gnome/etc/dconf/db/local.d/02-atomic-folders @@ -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 diff --git a/config/files/gnome/etc/dconf/db/local.d/locks/01-atomic b/config/files/gnome/etc/dconf/db/local.d/locks/01-atomic new file mode 100644 index 0000000..8398665 --- /dev/null +++ b/config/files/gnome/etc/dconf/db/local.d/locks/01-atomic @@ -0,0 +1,4 @@ +[org/gnome/software] +allow-updates=false +download-updates=false +download-updates-notify=false diff --git a/config/files/gnome/etc/dconf/profile/gdm b/config/files/gnome/etc/dconf/profile/gdm new file mode 100644 index 0000000..817afc5 --- /dev/null +++ b/config/files/gnome/etc/dconf/profile/gdm @@ -0,0 +1,3 @@ +user-db:user +system-db:gdm +file-db:/usr/share/gdm/greeter-dconf-defaults diff --git a/config/files/gnome/etc/dconf/profile/user b/config/files/gnome/etc/dconf/profile/user new file mode 100644 index 0000000..aca0641 --- /dev/null +++ b/config/files/gnome/etc/dconf/profile/user @@ -0,0 +1,2 @@ +user-db:user +system-db:local diff --git a/config/files/plasma/etc/profile.d/kde.sh b/config/files/plasma/etc/profile.d/kde.sh new file mode 100644 index 0000000..21f2993 --- /dev/null +++ b/config/files/plasma/etc/profile.d/kde.sh @@ -0,0 +1,3 @@ +#!/bin/sh +export MOZ_ENABLE_WAYLAND=1 +export MOZ_USE_XINPUT2=1 diff --git a/config/files/plasma/etc/xdg/autostart/xdg-user-dirs-kde.desktop b/config/files/plasma/etc/xdg/autostart/xdg-user-dirs-kde.desktop index c74e75d..41c26cf 100644 --- a/config/files/plasma/etc/xdg/autostart/xdg-user-dirs-kde.desktop +++ b/config/files/plasma/etc/xdg/autostart/xdg-user-dirs-kde.desktop @@ -6,4 +6,4 @@ Exec=xdg-user-dirs-update StartupNotify=false NoDisplay=true -X-KDE-autostart-phase=1 \ No newline at end of file +X-KDE-autostart-phase=1 diff --git a/config/files/plasma/etc/xdg/kcm-about-distrorc b/config/files/plasma/etc/xdg/kcm-about-distrorc new file mode 100644 index 0000000..ef212fa --- /dev/null +++ b/config/files/plasma/etc/xdg/kcm-about-distrorc @@ -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 diff --git a/config/files/plasma/etc/xdg/kcminputrc b/config/files/plasma/etc/xdg/kcminputrc new file mode 100644 index 0000000..41e80dd --- /dev/null +++ b/config/files/plasma/etc/xdg/kcminputrc @@ -0,0 +1,2 @@ +[Libinput][Defaults] +PointerAccelerationProfile=1 diff --git a/config/files/plasma/etc/xdg/kdeglobals b/config/files/plasma/etc/xdg/kdeglobals new file mode 100644 index 0000000..83c9b55 --- /dev/null +++ b/config/files/plasma/etc/xdg/kdeglobals @@ -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 diff --git a/config/files/plasma/etc/xdg/kscreenlockerrc b/config/files/plasma/etc/xdg/kscreenlockerrc new file mode 100644 index 0000000..8a52bc5 --- /dev/null +++ b/config/files/plasma/etc/xdg/kscreenlockerrc @@ -0,0 +1,3 @@ +[Daemon] +Autolock=false +LockOnResume=false diff --git a/config/files/plasma/etc/xdg/plasma-nm b/config/files/plasma/etc/xdg/plasma-nm new file mode 100644 index 0000000..4f7b4d3 --- /dev/null +++ b/config/files/plasma/etc/xdg/plasma-nm @@ -0,0 +1,2 @@ +[General] +SystemConnectionsByDefault=true diff --git a/config/files/shared/etc/distrobox/distrobox.conf b/config/files/shared/etc/distrobox/distrobox.conf new file mode 100644 index 0000000..b2ede36 --- /dev/null +++ b/config/files/shared/etc/distrobox/distrobox.conf @@ -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" diff --git a/config/files/shared/etc/fish/functions/fish_greeting.fish b/config/files/shared/etc/fish/functions/fish_greeting.fish index 90fdf2a..deee500 100644 --- a/config/files/shared/etc/fish/functions/fish_greeting.fish +++ b/config/files/shared/etc/fish/functions/fish_greeting.fish @@ -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 diff --git a/config/files/shared/etc/fish/functions/fish_prompt.fish b/config/files/shared/etc/fish/functions/fish_prompt.fish new file mode 100644 index 0000000..c286c0a --- /dev/null +++ b/config/files/shared/etc/fish/functions/fish_prompt.fish @@ -0,0 +1,3 @@ +function fish_prompt + echo (set_color brblue)\((set_color brmagenta)(whoami)@(hostname)(set_color brblue)\)\:(pwd) \>(set_color normal)" " +end diff --git a/config/files/shared/etc/xdg/gtk-2.0/gtkrc b/config/files/shared/etc/xdg/gtk-2.0/gtkrc new file mode 100644 index 0000000..0d0f85d --- /dev/null +++ b/config/files/shared/etc/xdg/gtk-2.0/gtkrc @@ -0,0 +1 @@ +gtk-theme-name="Materia-Dark" diff --git a/config/files/shared/etc/xdg/gtk-3.0/settings.ini b/config/files/shared/etc/xdg/gtk-3.0/settings.ini new file mode 100644 index 0000000..20fbc2b --- /dev/null +++ b/config/files/shared/etc/xdg/gtk-3.0/settings.ini @@ -0,0 +1,2 @@ +[Settings] +gtk-theme-name=Materia-Dark diff --git a/config/files/shared/libexec/atomic-studio-cli/add.nu b/config/files/shared/libexec/atomic-studio-cli/add.nu index 4c714f1..bbe7856 100755 --- a/config/files/shared/libexec/atomic-studio-cli/add.nu +++ b/config/files/shared/libexec/atomic-studio-cli/add.nu @@ -138,4 +138,4 @@ def nix_install [yes: bool, packages: list] { } run-external nix profile install ($packages | each {|value| $"nixpkgs#($value) "} | str join) -} \ No newline at end of file +} diff --git a/config/files/shared/libexec/atomic-studio-cli/davinci.nu b/config/files/shared/libexec/atomic-studio-cli/davinci.nu index 0938002..c5bc765 100755 --- a/config/files/shared/libexec/atomic-studio-cli/davinci.nu +++ b/config/files/shared/libexec/atomic-studio-cli/davinci.nu @@ -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" -} \ No newline at end of file +} diff --git a/config/files/shared/libexec/atomic-studio-cli/update.nu b/config/files/shared/libexec/atomic-studio-cli/update.nu index b368eb7..ba3dabe 100755 --- a/config/files/shared/libexec/atomic-studio-cli/update.nu +++ b/config/files/shared/libexec/atomic-studio-cli/update.nu @@ -34,7 +34,7 @@ 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 { @@ -42,4 +42,4 @@ export def "main update" [ } run-external topgrade '--config' '--keep' $config_file -} \ No newline at end of file +} diff --git a/config/files/shared/libexec/studio-jackd-default b/config/files/shared/libexec/studio-jackd-default index 8f31e2a..50c94cb 100755 --- a/config/files/shared/libexec/studio-jackd-default +++ b/config/files/shared/libexec/studio-jackd-default @@ -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 @@ -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 diff --git a/config/files/shared/share/X11/xorg.conf.d/99-flat-pointer.conf b/config/files/shared/share/X11/xorg.conf.d/99-flat-pointer.conf new file mode 100644 index 0000000..8b9dcb1 --- /dev/null +++ b/config/files/shared/share/X11/xorg.conf.d/99-flat-pointer.conf @@ -0,0 +1,8 @@ +Section "InputClass" + Identifier "Pointer" + Driver "libinput" + MatchIsPointer "yes" + Option "AccelProfile" "flat" + Option "AccelSpeed" "0" +EndSection + diff --git a/config/files/gnome/.gitkeep b/config/files/shared/share/wallpapers/.gitkeep similarity index 100% rename from config/files/gnome/.gitkeep rename to config/files/shared/share/wallpapers/.gitkeep