Skip to content

Commit

Permalink
feat(Aurora): Add Pytxis shortcuts, branding, Desktop Effects (#1213)
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles authored Apr 27, 2024
1 parent 737c555 commit 0877a1e
Show file tree
Hide file tree
Showing 15 changed files with 322 additions and 4 deletions.
5 changes: 3 additions & 2 deletions build_files/base/aurora-changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ if [[ "${BASE_IMAGE_NAME}" = "kinoite" ]]; then
ln -sf aurora.xml /usr/share/backgrounds/default.xml
sed -i '/<entry name="launchers" type="StringList">/,/<\/entry>/ s/<default>[^<]*<\/default>/<default>preferred:\/\/browser,applications:org.gnome.Ptyxis.desktop,applications:org.kde.discover.desktop,preferred:\/\/filemanager<\/default>/' /usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml
sed -i '/<entry name="favorites" type="StringList">/,/<\/entry>/ s/<default>[^<]*<\/default>/<default>preferred:\/\/browser,systemsettings.desktop,org.kde.dolphin.desktop,org.kde.kate.desktop,org.gnome.Ptyxis.desktop,org.kde.discover.desktop<\/default>/' /usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/config/main.xml
sed -i 's@\[Desktop Action new-window\]@\[Desktop Action new-window\]\nX-KDE-Shortcuts=Ctrl+Alt+T@g' /usr/share/applications/org.gnome.Ptyxis.desktop
sed -i 's@Exec=ptyxis@Exec=kde-ptyxis@g' /usr/share/applications/org.gnome.Ptyxis.desktop
sed -i 's@Keywords=@Keywords=konsole;console;@g' /usr/share/applications/org.gnome.Ptyxis.desktop
cp /usr/share/applications/org.gnome.Ptyxis.desktop /usr/share/kglobalaccel/org.gnome.Ptyxis.desktop
sed -i 's@\[Desktop Action new-window\]@\[Desktop Action new-window\]\nX-KDE-Shortcuts=Ctrl+Alt+T@g' /usr/share/applications/org.gnome.Ptyxis.desktop
rm -f /usr/share/kglobalaccel/org.kde.konsole.desktop
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/org.kde.konsole.desktop
rm -f /usr/etc/profile.d/gnome-ssh-askpass.{csh,sh} # This shouldn't be pulled in
rm -f /usr/share/kglobalaccel/org.kde.konsole.desktop
systemctl enable kde-sysmonitor-workaround.service
if [[ "$FEDORA_MAJOR_VERSION " -eq "38" ]]; then
rm -f /usr/etc/profile.d/aurora-fastfetch.sh
Expand Down
1 change: 1 addition & 0 deletions build_files/dx/branding-dx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ if test "$BASE_IMAGE_NAME" = "silverblue"; then
elif test "$BASE_IMAGE_NAME" = "kinoite"; then
sed -i '/^PRETTY_NAME/s/Aurora/Aurora-dx/' /usr/lib/os-release
sed -i 's/Aurora/Aurora-dx/' /usr/etc/yafti.yml
sed -i 's/Aurora/Aurora-DX/' /usr/share/kde-settings/kde-profile/default/xdg/kcm-about-distrorc
fi
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,7 @@
[Desktop Entry]
Exec=/usr/libexec/distrobox-quadlet-ptyxis.sh bluefin-cli
Name=Bluefin-CLI
NoDisplay=true
StartupNotification=false
Type=Application
X-KDE-GlobalAccel-CommandShortcut=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Exec=/usr/libexec/distrobox-quadlet-ptyxis.sh fedora-toolbox
Name=Fedora-Toolbox
NoDisplay=true
StartupNotification=false
Type=Application
X-KDE-GlobalAccel-CommandShortcut=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Exec=/usr/libexec/distrobox-quadlet-ptyxis.sh ubuntu-toolbox
Name=Ubuntu-Toolbox
NoDisplay=true
StartupNotification=false
Type=Application
X-KDE-GlobalAccel-CommandShortcut=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Mouse]
cursorTheme=breeze_cursors

[Touchpad]
NaturalScroll=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[services][org.kde.krunner.desktop]
_launch=Alt+F2\tMeta+Space\tSearch\tAlt+Space

[services][quadlet-bluefin.desktop]
_launch=Meta+Return

[services][quadlet-ubuntu.desktop]
_launch=Ctrl+Alt+U

[services][quadlet-fedora.desktop]
_launch=Ctrl+Alt+F
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[General]
FreeFloating=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[General]
LogoPath=/usr/share/pixmaps/system-logo.png
Name=Aurora
Website=https//getaurora.dev
Variant=Aurora
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Mouse]
cursorTheme=breeze_cursors

[Touchpad]
NaturalScroll=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[services][org.kde.krunner.desktop]
_launch=Alt+F2\tMeta+Space\tSearch\tAlt+Space

[services][quadlet-bluefin.desktop]
_launch=Meta+Return

[services][quadlet-ubuntu.desktop]
_launch=Ctrl+Alt+U

[services][quadlet-fedora.desktop]
_launch=Ctrl+Alt+F
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[General]
FreeFloating=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[Wayland]
InputMethod[$e]=/usr/share/applications/com.github.maliit.keyboard.desktop
VirtualKeyboardEnabled=true

[Effect-wobblywindows]
AdvancedMode=true
Drag=97
MoveFactor=25
Stiffness=7
WobblynessLevel=4

[Plugins]
blurEnabled=true
fallapartEnabled=true
wobblywindowsEnabled=true
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ Rectangle {
y: parent.height - (parent.height - logo.y) / 3 - height/2
anchors.horizontalCenter: parent.horizontalCenter
source: "images/busywidget.svgz"
sourceSize.height: PlasmaCore.Units.gridUnit * 2
sourceSize.width: PlasmaCore.Units.gridUnit * 2
sourceSize.height: PlasmaCore.Units.gridUnit
sourceSize.width: PlasmaCore.Units.gridUnit
RotationAnimator on rotation {
id: rotationAnimator
from: 0
Expand Down

0 comments on commit 0877a1e

Please sign in to comment.