[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' ) {

View File

@@ -1,6 +1,6 @@
$fg-color: #C8DCFF;
$bg-color: #0A0A0F;
$accent-color: #591641;
$accent-color-2: #97103A;
$accent-color: #465B4E;
$accent-color-2: #324E12;
$shadow-color: rgba(0, 0, 2, 0.3);
$monospace-font: Source Code Pro