add scripts

This commit is contained in:
Simon Belmont 2025-03-24 12:47:13 -04:00
parent 8e5898aa57
commit 428458e50a
36 changed files with 934 additions and 0 deletions

10
.bin/sh/steamskin.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
#https://wiki.archlinux.org/title/steam#Changing_the_Steam_notification_position
mkdir -p ~/.steam/root/skins
cd ~/.steam/root/skins
mkdir -p StopAnimations/resource
cp -r ~/.steam/root/resource/styles StopAnimations/resource
sed -i '/Notifications.SlideDirection/ s/"[A-Za-z]*"/"None"/' StopAnimations/resource/styles/* #no animation sliding
sed -i '/Notifications.FadeInTime/ s/"0.[0-9+]*"/"0.0"/' StopAnimations/resource/styles/* #no fade in time for notifications
sed -i '/Notifications.FadeOutTime/ s/"0.[0-9+]*"/"0.0"/' StopAnimations/resource/styles/* #no fade out time for notifications
sed -i '/Notifications.StackSize/ s/"[0-9]*"/"5"/' StopAnimations/resource/styles/* #show max 5 notifications instead of max 3 at the same time