Skip to content

Commit

Permalink
Format manifest (#908)
Browse files Browse the repository at this point in the history
Cosmetic changes, only for ease of use on my end. I recently installed Lazyvim on my development machine. It has auto-formatters for bash that conflict with the manifest. This change allows me to use vim instead of nano when editing the manifest.
  • Loading branch information
Derek J. Clark authored Mar 31, 2024
1 parent ac5dfff commit 3f0be41
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions manifest
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,11 @@ postinstallhook() {
# Add sudo permissions
sed -i '/%wheel ALL=(ALL:ALL) ALL/s/^# //g' /etc/sudoers
echo "${USERNAME} ALL=(ALL) NOPASSWD: /usr/bin/dmidecode -t 11
" > /etc/sudoers.d/steam
" >/etc/sudoers.d/steam
echo "${USERNAME} ALL=(ALL) NOPASSWD: /usr/bin/chimera-session-use-gamescope
${USERNAME} ALL=(ALL) NOPASSWD: /usr/bin/chimera-session-use-lightdm
${USERNAME} ALL=(ALL) NOPASSWD: /usr/share/chimera/bin/power-tool
" > /etc/sudoers.d/chimera
" >/etc/sudoers.d/chimera

# disable retroarch menu in joypad configs
find /usr/share/libretro/autoconfig -type f -name '*.cfg' | xargs -d '\n' sed -i '/input_menu_toggle_btn/d'
Expand All @@ -298,18 +298,18 @@ postinstallhook() {

# clean up desktop shortcuts
sed -i -e 's/Name=Steam (Runtime)/Name=Steam/' /usr/share/applications/steam.desktop
find /usr/share/applications/* | \
grep -v org.chimeraos.Gamescope.desktop | \
grep -v org.chimeraos.app.desktop | \
grep -v org.gnome.Console.desktop | \
grep -v org.gnome.DiskUtility.desktop | \
grep -v org.gnome.FileRoller.desktop | \
grep -v org.gnome.Nautilus.desktop | \
grep -v org.gnome.Settings.desktop | \
grep -v org.gnome.Software.desktop | \
grep -v org.gnome.TextEditor.desktop | \
grep -v steam.desktop | \
xargs -I {} sh -c "echo NoDisplay=true >> {}"
find /usr/share/applications/* |
grep -v org.chimeraos.Gamescope.desktop |
grep -v org.chimeraos.app.desktop |
grep -v org.gnome.Console.desktop |
grep -v org.gnome.DiskUtility.desktop |
grep -v org.gnome.FileRoller.desktop |
grep -v org.gnome.Nautilus.desktop |
grep -v org.gnome.Settings.desktop |
grep -v org.gnome.Software.desktop |
grep -v org.gnome.TextEditor.desktop |
grep -v steam.desktop |
xargs -I {} sh -c "echo NoDisplay=true >> {}"

# force -steamdeck option in desktop mode to prevent constant steam updates
sed -i 's,Exec=/usr/bin/steam-runtime,Exec=/usr/bin/steam-runtime -steamdeck,' /usr/share/applications/steam.desktop
Expand Down

0 comments on commit 3f0be41

Please sign in to comment.