chore: Add extra messages to just scripts

This commit is contained in:
Kyle Gospodnetich 2023-07-31 00:16:52 -07:00
parent c56ab0a379
commit 3b1fd47103
2 changed files with 12 additions and 2 deletions

View File

@ -7,6 +7,7 @@ enable-plasma-autologin:
systemctl enable --now plasma-autologin
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:
@ -26,11 +27,13 @@ get-emudeck:
chmod +x ~/Desktop/EmuDeck.desktop
get-steamcmd:
echo 'Installing SteamCMD...'
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz -O /tmp/steamcmd.tar.gz
tar -xvzf steamcmd.tar.gz -C ~/.steam
rm /tmp/steamcmd.tar.gz
enable-system76-scheduler:
echo 'Installing System76-Scheduler plugin for KDE...'
git clone https://github.com/maxiberta/kwin-system76-scheduler-integration.git --depth 1 /tmp/kwin-system76-scheduler-integration
kpackagetool5 --type=KWin/Script -i /tmp/kwin-system76-scheduler-integration
systemctl --user enable --now com.system76.Scheduler.dbusproxy.service
@ -62,6 +65,7 @@ get-chiaki:
jq -r ".assets[] | select(.name | test(\"flatpakref\")) | .browser_download_url")
enable-wallpaper-engine:
echo 'Installing Wallpaper Engine Plugin for KDE...'
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
@ -114,10 +118,10 @@ enable-duperemove:
set-btrfs-flags:
#!/usr/bin/env bash
echo 'Configuring drive mount parameters'
echo 'Configuring drive mount parameters...'
sudo sed -i 's/compress=zstd:1/noatime,lazytime,commit=120,compress-force=zstd:1,space_cache=v2,discard=async/g' /etc/fstab
if grep '64GB' <<< $(lsblk -o MODEL); then
echo 'Increasing compression for detected 64GB EMMC'
echo 'Increasing compression for detected 64GB eMMC'
sudo sed -i 's/compress-force=zstd:1/compress-force=zstd:3/g' /etc/fstab
fi

View File

@ -10,11 +10,14 @@ install-bazzite-arch:
fi
export-steamcmd:
echo 'Installing SteamCMD...'
distrobox-enter -n bazzite-arch -- ' distrobox-export --bin steamcmd --export-path ~/.steam'
ln -s ~/.steam/steamcmd ~/.steam/steamcmd.sh
install-corectrl:
echo 'Installing CoreCtrl...''
rpm-ostree install corectrl
echo 'Setting needed kargs for CoreCtrl...'
rpm-ostree kargs --append="amdgpu.ppfeaturemask=0xffffffff"
install-nix:
@ -34,6 +37,7 @@ get-greenlight:
chmod +x ~/Desktop/Greenlight.AppImage
enable-system76-scheduler:
echo 'Installing System76-Scheduler plugin for KDE...'
git clone https://github.com/maxiberta/kwin-system76-scheduler-integration.git --depth 1 /tmp/kwin-system76-scheduler-integration
kpackagetool5 --type=KWin/Script -i /tmp/kwin-system76-scheduler-integration
systemctl --user enable --now com.system76.Scheduler.dbusproxy.service
@ -42,11 +46,13 @@ enable-system76-scheduler:
rm -rf /tmp/kwin-system76-scheduler-integration
enable-wallpaper-engine:
echo 'Installing Wallpaper Engine Plugin for KDE...'
git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git --single-branch /tmp/wallpaper-engine-kde-plugin
plasmapkg2 -i /tmp/wallpaper-engine-kde-plugin/plugin
rm -rf /tmp/wallpaper-engine-kde-plugin
set-btrfs-flags:
echo 'Configuring drive mount parameters...'
sudo sed -i 's/compress=zstd:1/noatime,lazytime,commit=120,compress-force=zstd:1,space_cache=v2,discard=async/g' /etc/fstab
zram-on: