Compare commits

...

4 Commits

10 changed files with 30 additions and 58 deletions

View File

@ -64,6 +64,10 @@ volume=80
fs=yes
# Windows maximized by default
#window-maximized=yes
# Prevent screensaver when mpv window is open (default: yes, paused may
# have screensaver). This should also prevent automatic updates rebooting if
# the user has excitement in their life.
stop-screensaver=always
# Move ON SCREEN CONTROLLER to top, disable santa hats in December alongside
# other festivities

View File

@ -1,6 +1,6 @@
[Desktop Entry]
Name=Steam autostart in big picture mode
Exec=flatpak run com.valvesoftware.Steam -tenfoot -steamdeck
Name=SteamDeck TV
Exec=gamemoderun flatpak run com.valvesoftware.Steam -tenfoot -steamdeck
Icon=com.valvesoftware.Steam
Type=Application
Hidden=false

View File

@ -1,5 +1,5 @@
[Desktop Entry]
Name=Steam autostart in tray
Name=SteamDeck icon
Exec=flatpak run com.valvesoftware.Steam -silent -steamdeck
Icon=com.valvesoftware.Steam
Type=Application

View File

@ -139,6 +139,10 @@ if [ "$(id -u)" == "0" ]; then
chmod -v a+x /var/roothome
fi
# Desktop entries
mkdir -vp /usr/local/share/applications/
cp -v local/share/applications/*.desktop /usr/local/share/applications/
# Enables laziness on checking whether or not apt is installed
mkdir -vp /etc/apt/apt.conf.d/
# Enables progress bar and colours for apt/dpkg, which are helpful at

View File

@ -1,55 +0,0 @@
[Desktop Entry]
Name=STEAM
Exec=/usr/bin/env steam %U
Icon=steam
Terminal=false
Type=Application
Categories=Game;
MimeType=x-scheme-handler/steam;x-scheme-handler/steamlink;
Actions=Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends;
PrefersNonDefaultGPU=true
[Desktop Action Store]
Name=Store
Name[fi]=Kauppa
Exec=/usr/bin/env steam steam://store
[Desktop Action Community]
Name=Community
Name[fi]=Yhteisö
Exec=/usr/bin/env steam steam://url/SteamIDControlPage
[Desktop Action Library]
Name=Library
Name[fi]=Kokoelma
Exec=/usr/bin/env steam steam://open/games
[Desktop Action Servers]
Name=Servers
Name[fi]=Palvelimet
Exec=/usr/bin/env steam steam://open/servers
[Desktop Action Screenshots]
Name=Screenshots
Name[fi]=Kuvankaappaukset
Exec=/usr/bin/env steam steam://open/screenshots
[Desktop Action News]
Name=News
Name[fi]=Uutiset
Exec=/usr/bin/env steam steam://open/news
[Desktop Action Settings]
Name=Settings
Name[fi]=Asetukset
Exec=/usr/bin/env steam steam://open/settings
[Desktop Action BigPicture]
Name=Big Picture
Exec=/usr/bin/env steam steam://open/bigpicture
[Desktop Action Friends]
Name=Friends
Name[fi]=Kaverit
Exec=/usr/bin/env steam steam://open/friends

View File

@ -0,0 +1 @@
com.valvesoftware.Steam.desktop

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Name=SteamDeck
Exec=gamemoderun flatpak run com.valvesoftware.Steam -steamdeck %U
Icon=com.valvesoftware.Steam
Type=Application
Hidden=false

View File

@ -0,0 +1 @@
../../../conf/autostart/flatpak-steam-bigpicture.desktop

View File

@ -0,0 +1 @@
../../../conf/autostart/flatpak-steam-tray.desktop

View File

@ -342,6 +342,11 @@ if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
fi
# linuxbrew toolbox compatibility
if [[ -d /run/host/var/home/linuxbrew && ! -d /home/linuxbrew ]]; then
sudo ln -nsfv /run/host/var/home/linuxbrew /home/linuxbrew
fi
# Removes duplicates from $PATH. Copied from https://unix.stackexchange.com/a/14896
PATH=$(echo "$PATH" | awk -v RS=':' -v ORS=":" '!a[$1]++{if (NR > 1) printf ORS; printf $a[$1]}')

View File

@ -305,6 +305,11 @@ if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
fi
# linuxbrew toolbox compatibility
if [[ -d /run/host/var/home/linuxbrew && ! -d /home/linuxbrew ]]; then
sudo ln -nsfv /run/host/var/home/linuxbrew /home/linuxbrew
fi
# Removes duplicates from $PATH. Copied from https://unix.stackexchange.com/a/14896
PATH=$(echo "$PATH" | awk -v RS=':' -v ORS=":" '!a[$1]++{if (NR > 1) printf ORS; printf $a[$1]}')