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=256
|
||||
height=39
|
||||
icon_size=32
|
||||
percentage=false
|
||||
icon-size=32
|
||||
show-percentage=false
|
||||
# margin=0 will position below the sway bar, but on top of the window title
|
||||
margins=22 22 22 22
|
||||
# timeout: notifier will be dismissed after N seconds (integer only)
|
||||
timeout=1
|
||||
transition=0
|
||||
transition-time=0
|
||||
backlight=
|
||||
monitors=audio_in,audio_out
|
||||
'';
|
||||
|
@@ -25,7 +25,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
postPatch = ''
|
||||
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 = [
|
||||
|
Reference in New Issue
Block a user