Skip to content

Commit

Permalink
Added more changes to fix bug and include system76-power
Browse files Browse the repository at this point in the history
  • Loading branch information
lenuswalker committed Aug 13, 2024
1 parent 91f7d3d commit 9bf570d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
16 changes: 7 additions & 9 deletions files/scripts/izzy-os-changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

set -ouex pipefail

if [[ "${BASE_IMAGE_NAME}" = "silverblue" ]]; then
if [[ -f /usr/share/applications/gnome-system-monitor.desktop ]]; then
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nHidden=true@g' /usr/share/applications/gnome-system-monitor.desktop
fi
if [[ -f /usr/share/applications/org.gnome.SystemMonitor.desktop ]]; then
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nHidden=true@g' /usr/share/applications/org.gnome.SystemMonitor.desktop
fi
#sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/org.gnome.Terminal.desktop
fi
if [[ -f /usr/share/applications/gnome-system-monitor.desktop ]]; then
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nHidden=true@g' /usr/share/applications/gnome-system-monitor.desktop
fi
if [[ -f /usr/share/applications/org.gnome.SystemMonitor.desktop ]]; then
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nHidden=true@g' /usr/share/applications/org.gnome.SystemMonitor.desktop
fi
#sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/org.gnome.Terminal.desktop
1 change: 1 addition & 0 deletions recipes/recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ modules:

- from-file: akmods.yml
- from-file: displaylink.yml
- from-file: system76-power.yml
- from-file: extra-repos.yml
- from-file: intel.yml
- from-file: cosmic.yml
Expand Down
15 changes: 15 additions & 0 deletions recipes/system76-power.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
modules:
- type: rpm-ostree
repos:
- https://copr.fedorainfracloud.org/coprs/szydell/system76/repo/fedora-%OS_VERSION%/szydell-system76-fedora-%OS_VERSION%.repo
install:
- system76-driver
- system76-power

- type: systemd
system:
enabled:
- com.system76.PowerDaemon.service
- system76-power-wake.service
masked:
- power-profiles-daemon.service

0 comments on commit 9bf570d

Please sign in to comment.