Update theme
This commit is contained in:
parent
174c49388c
commit
ff71f52124
2 changed files with 33 additions and 23 deletions
20
flake.lock
generated
20
flake.lock
generated
|
|
@ -5,11 +5,11 @@
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709126324,
|
"lastModified": 1710146030,
|
||||||
"narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=",
|
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "d465f4819400de7c8d874d50b982301f28a84605",
|
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -20,11 +20,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709961763,
|
"lastModified": 1710272261,
|
||||||
"narHash": "sha256-6H95HGJHhEZtyYA3rIQpvamMKAGoa8Yh2rFV29QnuGw=",
|
"narHash": "sha256-g0bDwXFmTE7uGDOs9HcJsfLFhH7fOsASbAuOzDC+fhQ=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3030f185ba6a4bf4f18b87f345f104e6a6961f34",
|
"rev": "0ad13a6833440b8e238947e47bea7f11071dc2b2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -80,11 +80,11 @@
|
||||||
"wallpaper-engine-plasma6-plugin": {
|
"wallpaper-engine-plasma6-plugin": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1710039985,
|
"lastModified": 1710304679,
|
||||||
"narHash": "sha256-B1VWb869DQwfrzwf5wJFU+Qripehwp+HjwpPcygCo7A=",
|
"narHash": "sha256-vkWEGlDQpfJ3fAimJHZs+aX6dh/fLHSRy2tLEsgu/JU=",
|
||||||
"ref": "qt6",
|
"ref": "qt6",
|
||||||
"rev": "d84609af926abf4cbb731ecddfa55c36f8a4b195",
|
"rev": "96230de92f1715d3ccc5b9d50906e6a73812a00a",
|
||||||
"revCount": 601,
|
"revCount": 604,
|
||||||
"submodules": true,
|
"submodules": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/catsout/wallpaper-engine-kde-plugin"
|
"url": "https://github.com/catsout/wallpaper-engine-kde-plugin"
|
||||||
|
|
|
||||||
|
|
@ -5,19 +5,29 @@ pkgs.stdenv.mkDerivation {
|
||||||
src = inputs.${name};
|
src = inputs.${name};
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
sdir=$out/share/sounds
|
yorha=$out/share/sounds/yorha
|
||||||
mkdir -p $sdir
|
stereo=$yorha/stereo
|
||||||
ls -al
|
mkdir -p $stereo
|
||||||
cp sounds/core_10.wav $sdir/YoRHa-message.wav
|
printf "[Sound Theme]\nName=YoRHa\nDirectories=stereo\nExample=theme-example\n\n[stereo]\nOutputProfile=stereo" > $yorha/index.theme
|
||||||
cp sounds/core_25.wav $sdir/YoRHa-connect.wav
|
cp sounds/core_16.wav $stereo/audio-volume-change.wav
|
||||||
cp sounds/core_32.wav $sdir/YoRHa-error.wav
|
cp sounds/core_86.wav $stereo/battery-caution.wav
|
||||||
cp sounds/core_37.wav $sdir/YoRHa-login.wav
|
cp sounds/core_57.wav $stereo/battery-low.wav
|
||||||
cp sounds/core_64.wav $sdir/YoRHa-question.wav
|
cp sounds/core_37.wav $stereo/desktop-login.wav
|
||||||
cp sounds/core_67.wav $sdir/YoRHa-trash.wav
|
cp sounds/core_96.wav $stereo/desktop-logout.wav
|
||||||
cp sounds/core_70.wav $sdir/YoRHa-detach.wav
|
cp sounds/core_14.wav $stereo/device-added.wav
|
||||||
cp sounds/core_71.wav $sdir/YoRHa-warning.wav
|
cp sounds/core_12.wav $stereo/device-removed.wav
|
||||||
cp sounds/core_94.wav $sdir/YoRHa-critical.wav
|
cp sounds/core_92.wav $stereo/dialog-error-critical.wav
|
||||||
cp sounds/core_96.wav $sdir/YoRHa-logout.wav
|
cp sounds/core_94.wav $stereo/dialog-error-serious.wav
|
||||||
|
cp sounds/core_32.wav $stereo/dialog-error.wav
|
||||||
|
cp sounds/core_10.wav $stereo/dialog-information.wav
|
||||||
|
cp sounds/core_64.wav $stereo/dialog-question.wav
|
||||||
|
cp sounds/core_71.wav $stereo/dialog-warning.wav
|
||||||
|
cp sounds/core_20.wav $stereo/outcome-failure.wav
|
||||||
|
cp sounds/core_78.wav $stereo/outcome-success.wav
|
||||||
|
cp sounds/core_25.wav $stereo/power-plug.wav
|
||||||
|
cp sounds/core_70.wav $stereo/power-unplug.wav
|
||||||
|
cp sounds/core_39.wav $stereo/theme-example.wav
|
||||||
|
cp sounds/core_67.wav $stereo/trash-empty.wav
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue