Skip to content

Commit

Permalink
Merge pull request #81 from ublue-os/main
Browse files Browse the repository at this point in the history
[pull] main from ublue-os:main
  • Loading branch information
pull[bot] authored May 23, 2024
2 parents 5fcf936 + 759d1ee commit 3a0dc8c
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 146 deletions.
1 change: 0 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,6 @@ RUN if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
gnome-shell-extension-bazzite-menu \
gnome-shell-extension-hotedge \
gnome-shell-extension-caffeine \
gnome-shell-extension-auto-power-profile \
rom-properties-gtk3 \
openssh-askpass && \
rpm-ostree override remove \
Expand Down
5 changes: 2 additions & 3 deletions spec_files/gamescope/gamescope.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

%global _default_patch_fuzz 2
%global build_timestamp %(date +"%Y%m%d")
%global gamescope_tag 3.14.16
%global gamescope_tag 3.14.17

Name: gamescope
Version: 100.%{gamescope_tag}
Release: 3.bazzite
Release: 1.bazzite
Summary: Micro-compositor for video games on Wayland

License: BSD
Expand All @@ -21,7 +21,6 @@ Patch2: disable-steam-touch-click-atom.patch
Patch3: external-rotation.patch
Patch4: panel-type.patch
Patch5: deckhd.patch
Patch6: modifiers.patch

BuildRequires: meson >= 0.54.0
BuildRequires: ninja-build
Expand Down
100 changes: 0 additions & 100 deletions spec_files/gamescope/modifiers.patch

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -141,42 +141,6 @@ configure-watchdog ACTION="":
rpm-ostree kargs $WATCHDOG_KARGS
fi

# Set the default powerprofile to load when the desktop starts
configure-powerprofile ACTION="":
#!/usr/bin/bash
source /usr/lib/ujust/ujust.sh
OPTION={{ ACTION }}
if [ "$OPTION" == "help" ]; then
echo "Usage: ujust configure-powerprofile <option>"
echo " <option>: Specify the quick option to skip the prompt"
echo " Use 'powersave' to select Powersave"
echo " Use 'balanced' to select Balanced"
exit 0
elif [ "$OPTION" == "" ]; then
# Cleanup old method
if [ -f "~/.config/autostart/bazzite-powersave.desktop" ]; then
rm ~/.config/autostart/bazzite-powersave.desktop
fi
# New method from here on
echo "${bold}Power profile configuration${normal}"
echo "This lets you set the default power profile."
echo "We do not recommend changing this from ${b}Balanced${n} if you use this device primarily for gaming!"
echo "If you have any performance or audio related issues..."
echo "${invert}${b}Please test with the default power profile set to Balanced${n} before reporting!"
echo ""
echo "Which power profile do you want to use when the desktop loads?"
OPTION=$(Choose "Powersave" "Balanced")
fi
if [[ "${OPTION,,}" =~ powersave ]]; then
echo "Setting default powerprofile to ${b}Powersave${n}"
sudo sed -iE 's/default=(.+)/default=power-saver/' /etc/tuned/ppd.conf
/usr/libexec/bazzite-powersave
elif [[ "${OPTION,,}" =~ balanced ]]; then
echo "Setting default powerprofile to ${b}Balanced${n}"
sudo sed -iE 's/default=(.+)/default=balanced/' /etc/tuned/ppd.conf
/usr/libexec/bazzite-powersave 0
fi

# Install and configure Decky Loader (https://github.com/SteamDeckHomebrew/decky-loader) and plugins for alternative handhelds
setup-decky ACTION="":
#!/usr/bin/bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,3 @@ show-power-option=false
show-gamemode=false
hide-forcequit=true
show-boxbuddy=true

[org/gnome/shell/extensions/auto-power-profile]
ac='balanced'
bat='power-saver'
notify=true
lapmode=true

0 comments on commit 3a0dc8c

Please sign in to comment.