Skip to content

Commit

Permalink
fix(kde): Setup Steam desktop shortcuts during desktop configuration
Browse files Browse the repository at this point in the history
Exclude from GNOME
  • Loading branch information
EyeCantCU committed Aug 7, 2023
1 parent e7ffbfc commit 6f17491
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@ screens:
default: true
packages:
- Enable SDGyroDSU Service: systemctl --user enable --now sdgyrodsu
Steam Desktop Shortcuts:
description: Creates Steam desktop shortcuts
default: true
packages:
- Create Steam shortcuts: just --unstable create-steam-shortcuts
SteamOS BTRFS Mount Flags:
description: Sets SteamOS BTRFS mount flags
default: true
Expand Down
9 changes: 4 additions & 5 deletions system_files/deck/shared/usr/share/ublue-os/just/custom.just
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ set-steamos-kargs:
echo 'Setting kargs...'
rpm-ostree kargs --append="amd_pstate=active" --append="amd_iommu=off" --append="amdgpu.gttsize=8128" --append="spi_amd.speed_dev=1" --append="audit=0" --append="initcall_blacklist=simpledrm_platform_driver_init" --delete-if-present="nomodeset"

create-steam-shortcuts:
cp /usr/share/applications/steam.desktop ~/Desktop
sed -i 's@Steam (Runtime)@Steam@g' ~/Desktop/steam.desktop
cp /etc/skel.d/Desktop/Return.desktop ~/Desktop

get-decky:
#!/usr/bin/env bash
export HOME=$(getent passwd ${SUDO_USER:-$USER} | cut -d: -f6)
Expand Down Expand Up @@ -105,6 +100,10 @@ setup-desktop-environment:
git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git --depth 1 /tmp/wallpaper-engine-kde-plugin
plasmapkg2 -i /tmp/wallpaper-engine-kde-plugin/plugin
rm -rf /tmp/wallpaper-engine-kde-plugin
echo 'Creating Steam shortcuts..'
cp /usr/share/applications/steam.desktop ~/Desktop
sed -i 's@Steam (Runtime)@Steam@g' ~/Desktop/steam.desktop
cp /etc/skel.d/Desktop/Return.desktop ~/Desktop
fi
enable-vapor-theme:
Expand Down

0 comments on commit 6f17491

Please sign in to comment.