Skip to content

Commit 8403c17

Browse files
authored
Move cinnamon style accents (#80)
- Move cinnamon accent styles file to cinnamon theme sources - Modify meson build script to include cinnamon accent styles
1 parent 56c1f28 commit 8403c17

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

cinnamon-shell/src/meson.build

+15
Original file line numberDiff line numberDiff line change
@@ -244,3 +244,18 @@ foreach variant: variants
244244
# install_dir: theme_dir
245245
# )
246246
endforeach
247+
248+
# install accent to share/cinnamon/styles.d
249+
cinnamon_accents_dir = join_paths(get_option('datadir'), 'cinnamon/styles.d')
250+
251+
accent_style_asset_dir = meson.current_source_dir()
252+
accent_style_assets = files(
253+
run_command(
254+
'find', accent_style_asset_dir, '-name', '*.styles', check: true
255+
).stdout().strip().split('\n')
256+
)
257+
258+
# install accent style assets
259+
foreach accent_style_asset: accent_style_assets
260+
install_data(accent_style_asset, install_dir: cinnamon_accents_dir)
261+
endforeach

files/meson.build

-14
This file was deleted.

meson.build

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ python = find_program('python3')
1111
sassc = find_program('sassc')
1212

1313
subdir('common')
14-
subdir('files')
1514

1615
components = [
1716
'metacity',

0 commit comments

Comments
 (0)