build: update swayosd to add custom css

This commit is contained in:
matt1432 2023-08-01 19:02:39 -04:00
parent 30ada01972
commit 26a86accab
2 changed files with 26 additions and 4 deletions

View file

@ -0,0 +1,20 @@
diff --git a/data/meson.build b/data/meson.build
index 1ceaa11..68decdf 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -42,11 +42,7 @@ configure_file(
# Systemd service unit
systemd = dependency('systemd', required: false)
-if systemd.found()
- systemd_service_install_dir = systemd.get_variable(pkgconfig :'systemdsystemunitdir')
-else
- systemd_service_install_dir = join_paths(libdir, 'systemd', 'system')
-endif
+systemd_service_install_dir = join_paths(libdir, 'systemd', 'system')
configure_file(
configuration: conf_data,
--
2.41.0

View file

@ -4,8 +4,8 @@ final: prev: {
src = prev.fetchFromGitHub {
owner = "ErikReider";
repo = "SwayOSD";
rev = "b14c83889c7860c174276d05dec6554169a681d9";
hash = "sha256-MJuTwEI599Y7q+0u0DMxRYaXsZfpksc2csgnK9Ghp/E=";
rev = "1add33d9ca7d9fa9be3cea39fd300e34ba3417c5";
hash = "sha256-+shokerDcB12RjWhJVCtM38HUOFxW3CNTRxsWbUnVTs=";
};
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (prev.lib.const {
@ -17,8 +17,10 @@ final: prev: {
buildInputs = (oldAttrs.buildInputs or [ ]) ++ [
prev.systemd
prev.libevdev
prev.libinput
];
patches = [
./patches/swayosd.patch
];
});
}