[Astal] Prepare for reloadable style

This commit is contained in:
2026-01-09 16:04:51 +01:00
parent c2cd216dac
commit 11767c3009
7 changed files with 38 additions and 33 deletions

View File

@@ -93,8 +93,13 @@ App.start( {
res( 'No controllable screen available' );
}
} catch ( e ) {
print( e );
res( 'Error running brightness change' );
}
} else if ( args[ 0 ] === 'reload-style' ) {
res( 'Reloading style sheets' );
App.apply_css( '', true );
// TODO: Compile scss and then load it
}
// } else if ( args[ 0 ] === 'launcher' ) {
// if ( args[ 1 ] === 'show' ) {