From f00706c045434f625aa2d03c840d45cd74fc99ab Mon Sep 17 00:00:00 2001 From: arminmiau Date: Fri, 6 Sep 2024 19:41:07 +0200 Subject: [PATCH] feat: add apps and configs --- files/scripts/example.sh | 8 +- files/system/etc/alacritty/alacritty.toml | 5 + files/system/usr/share/kdeglobals | 194 ++++++++++++++++++++++ recipes/recipe.yml | 43 ++--- 4 files changed, 215 insertions(+), 35 deletions(-) create mode 100644 files/system/etc/alacritty/alacritty.toml create mode 100644 files/system/usr/share/kdeglobals diff --git a/files/scripts/example.sh b/files/scripts/example.sh index fdb2e04..dfe55ce 100644 --- a/files/scripts/example.sh +++ b/files/scripts/example.sh @@ -1,10 +1,6 @@ #!/usr/bin/env bash -# Tell this script to exit if there are any errors. -# You should have this in every custom script, to ensure that your completed -# builds actually ran successfully without any errors! set -oue pipefail -# Your code goes here. -echo 'This is an example shell script' -echo 'Scripts here will run during build if specified in recipe.yml' +curl -s https://ohmyposh.dev/install.sh | bash -s +oh-my-posh font install cascadiacode \ No newline at end of file diff --git a/files/system/etc/alacritty/alacritty.toml b/files/system/etc/alacritty/alacritty.toml new file mode 100644 index 0000000..a257aae --- /dev/null +++ b/files/system/etc/alacritty/alacritty.toml @@ -0,0 +1,5 @@ +[shell] +program = '/bin/fish' + +[font] +normal = { family = 'CaskaydiaCove Nerd Font', style = 'Regular' } diff --git a/files/system/usr/share/kdeglobals b/files/system/usr/share/kdeglobals new file mode 100644 index 0000000..fbc99e1 --- /dev/null +++ b/files/system/usr/share/kdeglobals @@ -0,0 +1,194 @@ +[ColorEffects:Disabled] +ChangeSelectionColor= +Color=56,56,56 +ColorAmount=0 +ColorEffect=0 +ContrastAmount=0.65 +ContrastEffect=1 +Enable= +IntensityAmount=0.1 +IntensityEffect=2 + +[ColorEffects:Inactive] +ChangeSelectionColor=true +Color=112,111,110 +ColorAmount=0.025 +ColorEffect=2 +ContrastAmount=0.1 +ContrastEffect=2 +Enable=false +IntensityAmount=0 +IntensityEffect=0 + +[Colors:Button] +BackgroundAlternate=30,87,116 +BackgroundNormal=22,20,20 +DecorationFocus=61,174,233 +DecorationHover=61,174,233 +ForegroundActive=61,174,233 +ForegroundInactive=114,118,125 +ForegroundLink=29,153,243 +ForegroundNegative=200,0,0 +ForegroundNeutral=255,255,255 +ForegroundNormal=252,252,252 +ForegroundPositive=0,200,0 +ForegroundVisited=28,153,243 + +[Colors:Complementary] +BackgroundAlternate=30,87,116 +BackgroundNormal=42,46,50 +DecorationFocus=61,174,233 +DecorationHover=61,174,233 +ForegroundActive=61,174,233 +ForegroundInactive=161,169,177 +ForegroundLink=29,153,243 +ForegroundNegative=218,68,83 +ForegroundNeutral=246,116,0 +ForegroundNormal=252,252,252 +ForegroundPositive=39,174,96 +ForegroundVisited=155,89,182 + +[Colors:Header] +BackgroundAlternate=42,46,50 +BackgroundNormal=49,54,59 +DecorationFocus=61,174,233 +DecorationHover=61,174,233 +ForegroundActive=61,174,233 +ForegroundInactive=161,169,177 +ForegroundLink=29,153,243 +ForegroundNegative=218,68,83 +ForegroundNeutral=246,116,0 +ForegroundNormal=252,252,252 +ForegroundPositive=39,174,96 +ForegroundVisited=155,89,182 + +[Colors:Header][Inactive] +BackgroundAlternate=49,54,59 +BackgroundNormal=42,46,50 +DecorationFocus=61,174,233 +DecorationHover=61,174,233 +ForegroundActive=61,174,233 +ForegroundInactive=161,169,177 +ForegroundLink=29,153,243 +ForegroundNegative=218,68,83 +ForegroundNeutral=246,116,0 +ForegroundNormal=252,252,252 +ForegroundPositive=39,174,96 +ForegroundVisited=155,89,182 + +[Colors:Selection] +BackgroundAlternate=30,87,116 +BackgroundNormal=79,84,92 +DecorationFocus=61,174,233 +DecorationHover=61,174,233 +ForegroundActive=252,252,252 +ForegroundInactive=220,221,222 +ForegroundLink=253,188,75 +ForegroundNegative=200,0,0 +ForegroundNeutral=255,255,255 +ForegroundNormal=255,255,255 +ForegroundPositive=0,200,0 +ForegroundVisited=28,153,243 + +[Colors:Tooltip] +BackgroundAlternate=42,46,50 +BackgroundNormal=24,25,28 +DecorationFocus=61,174,233 +DecorationHover=61,174,233 +ForegroundActive=61,174,233 +ForegroundInactive=114,118,125 +ForegroundLink=29,153,243 +ForegroundNegative=200,0,0 +ForegroundNeutral=255,255,255 +ForegroundNormal=220,221,222 +ForegroundPositive=0,200,0 +ForegroundVisited=28,153,243 + +[Colors:View] +BackgroundAlternate=35,38,41 +BackgroundNormal=10,10,10 +DecorationFocus=61,174,233 +DecorationHover=61,174,233 +ForegroundActive=61,174,233 +ForegroundInactive=114,118,125 +ForegroundLink=29,153,243 +ForegroundNegative=200,0,0 +ForegroundNeutral=255,255,255 +ForegroundNormal=252,252,252 +ForegroundPositive=0,200,0 +ForegroundVisited=28,153,243 + +[Colors:Window] +BackgroundAlternate=49,54,59 +BackgroundNormal=31,31,31 +DecorationFocus=61,174,233 +DecorationHover=61,174,233 +ForegroundActive=61,174,233 +ForegroundInactive=114,118,125 +ForegroundLink=29,153,243 +ForegroundNegative=200,0,0 +ForegroundNeutral=255,255,255 +ForegroundNormal=252,252,252 +ForegroundPositive=0,200,0 +ForegroundVisited=28,153,243 + +[DirSelect Dialog] +DirSelectDialog Size=1280,720 +History Items[$e]= + +[General] +AccentColor=0,0,0,0 +ColorSchemeHash=070dac325a21570dc503269099f80d392360dcb0 +LastUsedCustomAccentColor=104,107,111 +TerminalApplication=alacritty +TerminalService=Alacritty.desktop +UseSystemBell=true +XftAntialias=true +XftHintStyle=hintslight +XftSubPixel=none +fixed=JetBrains Mono,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 +font=Inter,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 +menuFont=Inter,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 +smallestReadableFont=Inter,8,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 +toolBarFont=Inter,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 + +[KDE] +AnimationDurationFactor=0.5 +LookAndFeelPackage=dev.getaurora.aurora.desktop +ShowDeleteCommand=false +SingleClick=false + +[KFileDialog Settings] +Allow Expansion=false +Automatically select filename extension=true +Breadcrumb Navigation=false +Decoration position=2 +LocationCombo Completionmode=5 +PathCombo Completionmode=5 +Show Bookmarks=false +Show Full Path=false +Show Inline Previews=true +Show Preview=false +Show Speedbar=true +Show hidden files=true +Sort by=Name +Sort directories first=true +Sort hidden files last=false +Sort reversed=false +Speedbar Width=140 +View Style=DetailTree + +[PreviewSettings] +MaximumRemoteSize=0 + +[WM] +activeBackground=31,31,31 +activeBlend=20,20,20 +activeFont=Inter,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1 +activeForeground=220,221,222 +inactiveBackground=10,10,10 +inactiveBlend=20,20,20 +inactiveForeground=114,118,125 + +[KDE Control Module Restrictions][$i] +kcm_plymouth.desktop=false \ No newline at end of file diff --git a/recipes/recipe.yml b/recipes/recipe.yml index 2ada186..ef9ae2d 100644 --- a/recipes/recipe.yml +++ b/recipes/recipe.yml @@ -1,48 +1,33 @@ -# image will be published to ghcr.io// name: dev-image -# description will be included in the image's metadata -description: This is my personal OS image. +description: Custom aurora image with more dev tools. -# the base image to build on top of (FROM) and the version tag to use -base-image: ghcr.io/ublue-os/silverblue-main -image-version: 40 # latest is also supported if you want new updates ASAP +base-image: ghcr.io/ublue-os/aurora-dx +image-version: latest -# module configuration, executed in order -# you can include multiple instances of the same module modules: - type: files files: - source: system - destination: / # copies files/system/* (* means everything inside it) into your image's root folder / + destination: / - type: rpm-ostree repos: - # - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%OS_VERSION%/atim-starship-fedora-%OS_VERSION%.repo + - https://copr.fedorainfracloud.org/coprs/medzik/jetbrains/repo/fedora-%OS_VERSION%/medzik-jetbrains-fedora-%OS_VERSION%.repo install: - # - micro - # - starship + - rider + - alacritty remove: - # example: removing firefox (in favor of the flatpak) - # "firefox" is the main package, "firefox-langpacks" is a dependency - # - firefox - # - firefox-langpacks # also remove firefox dependency (not required for all packages, this is a special case) + # none for now - type: default-flatpaks - notify: true # Send notification after install/uninstall is finished (true/false) + notify: true system: - # If no repo information is specified, Flathub will be used by default - # repo-url: https://dl.flathub.org/repo/flathub.flatpakrepo - # repo-name: flathub - # repo-title: "Flathub (system-wide)" # Optional; this sets the remote's user-facing name in graphical frontends like GNOME Software install: - # - org.mozilla.firefox - # - org.gnome.Loupe - # - one.ablaze.floorp//lightning # This is an example of flatpak which has multiple branches in selection (flatpak//branch). - # Flatpak runtimes are not supported (like org.winehq.Wine//stable-23.08), - # only normal flatpak applications are (like Floorp Lightning web browser in this example). - # Installing different branches of the same Flatpak is not supported. + - io.github.zen_browser.zen + - com.bitwarden.desktop + - it.mijorus.gearlever remove: - # - org.gnome.eog + # none for now - - type: signing # this sets up the proper policy & signing files for signed images to work fully + - type: signing