Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-shell-notification-center
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-shell-notification-center
Commits
403a57b5
Commit
403a57b5
authored
Jan 18, 2026
by
Erik Reider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved SCSS compilation reliability
parent
127cfbff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
29 deletions
+31
-29
meson.build
data/meson.build
+11
-28
meson.build
data/style/meson.build
+19
-0
style.scss
data/style/style.scss
+1
-1
No files found.
data/meson.build
View file @
403a57b5
...
@@ -23,44 +23,27 @@ if get_option('buildtype') != 'release'
...
@@ -23,44 +23,27 @@ if get_option('buildtype') != 'release'
dev_env.set('GSETTINGS_SCHEMA_DIR', meson.current_source_dir())
dev_env.set('GSETTINGS_SCHEMA_DIR', meson.current_source_dir())
endif
endif
# SCSS Dependency
style_files = []
sassc = find_program('sassc')
subdir('style')
assert(sassc.found())
# SCSS Compilation
blueprints = custom_target(
style_css = custom_target(
'blueprints',
'SCSS Compilation',
build_by_default: true,
build_always_stale: true,
input : 'style/style.scss',
output : 'style.css',
install: true,
install_dir: config_path,
command : [
sassc,
'-t',
'expanded',
'@INPUT@',
'@OUTPUT@'
],
)
message(style_css.full_path())
blueprints = custom_target('blueprints',
input: files(run_command('find', '.', '-name', '*.blp').stdout().strip().split('\n')),
input: files(run_command('find', '.', '-name', '*.blp').stdout().strip().split('\n')),
output: '.',
output: '.',
command: [
command: [
find_program('blueprint-compiler', required: true),
find_program('blueprint-compiler', required: true),
'batch-compile',
'batch-compile',
'@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'
'@OUTPUT@',
'@CURRENT_SOURCE_DIR@',
'@INPUT@',
],
],
build_always_stale: true,
build_always_stale: true,
build_by_default: true,
build_by_default: true,
)
)
app_resources += gnome.compile_resources('sway_notification_center-resources',
app_resources += gnome.compile_resources(
'sway_notification_center-resources',
'sway_notification_center.gresource.xml',
'sway_notification_center.gresource.xml',
dependencies: [ blueprints
],
dependencies: [style_files, blueprints
],
c_name: 'sway_notification_center'
c_name: 'sway_notification_center'
,
)
)
data/style/meson.build
0 → 100644
View file @
403a57b5
# SCSS
sassc = find_program('sassc')
assert(sassc.found())
# SCSS Compilation
style_files += custom_target(
'SCSS Compilation',
input: 'style.scss',
output: 'style.css',
depend_files: files(run_command('find', '.', '-name', '*.scss').stdout().strip().split('\n')),
install: true,
install_dir: config_path,
command: [
sassc,
'-t', 'expanded',
'@INPUT@',
'@OUTPUT@',
],
)
data/style/style.scss
View file @
403a57b5
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
$margin
:
8px
;
$margin
:
8px
;
notificationwindow
,
blankwindow
,
blankwindow
{
notificationwindow
,
blankwindow
{
background
:
transparent
;
background
:
transparent
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment