PortValhalla/scripts/Arch/Software/steam/main.fish

25 lines
515 B
Fish
Raw Normal View History

2024-09-20 00:07:32 +00:00
#!/bin/env fish
begin
set -l dir (status dirname)
2024-11-01 12:12:16 +00:00
source "$dir/../../lib/software.fish"
2024-09-20 00:07:32 +00:00
function installSW
yayinst steam
end
function configureSW -V dir
2024-11-01 12:12:16 +00:00
. "$dir/../../../lib/settings.fish"
2024-09-20 00:07:32 +00:00
2024-09-22 15:50:05 +00:00
if isOSEnabled hidpi
2024-09-20 00:07:32 +00:00
begin
printf %s\n \
"#!/bin/bash" \
"export STEAM_FORCE_DESKTOPUI_SCALING=2.0"
2024-10-06 19:25:34 +00:00
end | sudo tee /etc/profile.d/steam.sh >/dev/null
2024-09-20 00:07:32 +00:00
end
end
runInstaller $argv
end