mirror of
https://github.com/kageurufu/steamdeck_startup_animations.git
synced 2024-11-17 16:19:19 +01:00
Merge pull request #8 from malkir/css-fix-tweak
Set library.css file size to what it was before edit
This commit is contained in:
commit
a5f216a770
@ -22,6 +22,7 @@ msg2() {
|
||||
|
||||
DECK_STARTUP_FILE="/home/deck/.steam/steam/steamui/movies/deck_startup.webm"
|
||||
DECK_LIBRARY_CSS_FILE="/home/deck/.steam/steam/steamui/css/library.css"
|
||||
DECK_LIBRARY_CSS_FILE_SIZE=$(stat -c%s $DECK_LIBRARY_CSS_FILE)
|
||||
DECK_STARTUP_FILE_SIZE=1840847
|
||||
DECK_STARTUP_STOCK_MD5="4ee82f478313cf74010fc22501b40729"
|
||||
|
||||
@ -51,6 +52,7 @@ replace_css_video() {
|
||||
OLD_CSS="video{flex-grow:0;width:300px;height:300px;z-index:10}"
|
||||
NEW_CSS="video{flex-grow:1;width:100%;height:100%;z-index:10} "
|
||||
sed -i.bak -e "s/$OLD_CSS/$NEW_CSS/" $DECK_LIBRARY_CSS_FILE
|
||||
truncate --size=$DECK_LIBRARY_CSS_FILE_SIZE $DECK_LIBRARY_CSS_FILE
|
||||
}
|
||||
|
||||
check_backup
|
||||
|
Loading…
Reference in New Issue
Block a user