mirror of
https://github.com/imgurbot12/rmenu.git
synced 2024-11-10 11:33:48 +01:00
fix shell script plugins in flake run
This commit is contained in:
parent
d94eec96a7
commit
0763b07783
@ -61,7 +61,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
# fix config and theme
|
# fix config and theme
|
||||||
mkdir -p $out/share/rmenu
|
mkdir -p $out/share/rmenu
|
||||||
cp -vf $src/rmenu/public/config.yaml $out/share/rmenu/config.yaml
|
cp -vf $src/rmenu/public/config.yaml $out/share/rmenu/config.yaml
|
||||||
sed -i "s@~\/\.config\/rmenu\/themes@$out\/themes@g" $out/share/rmenu/config.yaml
|
|
||||||
sed -i "s@~\/\.config\/rmenu@$out@g" $out/share/rmenu/config.yaml
|
sed -i "s@~\/\.config\/rmenu@$out@g" $out/share/rmenu/config.yaml
|
||||||
ln -sf $out/themes/dark.css $out/share/rmenu/style.css
|
ln -sf $out/themes/dark.css $out/share/rmenu/style.css
|
||||||
'';
|
'';
|
||||||
@ -69,6 +68,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(
|
gappsWrapperArgs+=(
|
||||||
--suffix XDG_CONFIG_DIRS : "$out/share"
|
--suffix XDG_CONFIG_DIRS : "$out/share"
|
||||||
|
--suffix PATH : "$out/bin"
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user