25 lines
536 B
Fish
25 lines
536 B
Fish
|
#!/bin/env fish
|
||
|
begin
|
||
|
set -l dir (status dirname)
|
||
|
source "$dir/../../Scripts/software.fish"
|
||
|
|
||
|
function installSW
|
||
|
yayinst steam
|
||
|
end
|
||
|
|
||
|
|
||
|
function configureSW -V dir
|
||
|
. "$dir/../../../Common/Scripts/config.fish"
|
||
|
|
||
|
if isEnabled valhalla.hidpi
|
||
|
begin
|
||
|
printf %s\n \
|
||
|
"#!/bin/bash" \
|
||
|
"export STEAM_FORCE_DESKTOPUI_SCALING=2.0"
|
||
|
end | sudo tee /etc/profile.d/steam.sh > /dev/null
|
||
|
end
|
||
|
end
|
||
|
|
||
|
runInstaller $argv
|
||
|
end
|