syshud: fix changes due to upstream config parsing changes
This commit is contained in:
@@ -16,13 +16,13 @@
|
|||||||
# width/height/icon_size are in pixels
|
# width/height/icon_size are in pixels
|
||||||
width=256
|
width=256
|
||||||
height=39
|
height=39
|
||||||
icon_size=32
|
icon-size=32
|
||||||
percentage=false
|
show-percentage=false
|
||||||
# margin=0 will position below the sway bar, but on top of the window title
|
# margin=0 will position below the sway bar, but on top of the window title
|
||||||
margins=22 22 22 22
|
margins=22 22 22 22
|
||||||
# timeout: notifier will be dismissed after N seconds (integer only)
|
# timeout: notifier will be dismissed after N seconds (integer only)
|
||||||
timeout=1
|
timeout=1
|
||||||
transition=0
|
transition-time=0
|
||||||
backlight=
|
backlight=
|
||||||
monitors=audio_in,audio_out
|
monitors=audio_in,audio_out
|
||||||
'';
|
'';
|
||||||
|
@@ -25,7 +25,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile \
|
substituteInPlace Makefile \
|
||||||
--replace-fail 'pkg-config' ''${PKG_CONFIG}
|
--replace-fail pkg-config ''${PKG_CONFIG}
|
||||||
|
substituteInPlace src/main.cpp \
|
||||||
|
--replace-fail /usr/share/sys64/hud/config.conf $out/share/sys64/hud/config.conf
|
||||||
|
substituteInPlace src/window.cpp \
|
||||||
|
--replace-fail /usr/share/sys64/hud/style.css $out/share/sys64/hud/style.css
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
Reference in New Issue
Block a user