Complete unstable configuration with home manager

This commit is contained in:
Filippo Berto 2022-04-15 17:16:06 +02:00
parent bbee9d7993
commit df1d6df54e
17 changed files with 412 additions and 312 deletions

View file

@ -3,8 +3,7 @@
, rice
, roboto
, i3lock-color
, update-background
, writeScript
, writeScriptBin
, font ? { package = roboto; name = "Roboto"; }
, palette ? rice.palette.palette {}
, ...
@ -12,7 +11,7 @@
let
strPalette = rice.palette.toRGBAHex palette;
in
writeScript "lockscreen.sh" ''
writeScriptBin "lockscreen" ''
#!/bin/sh
# Using font package ${font.package}
${i3lock-color}/bin/i3lock-color \
@ -53,6 +52,5 @@ writeScript "lockscreen.sh" ''
--pass-media-keys \
--pass-screen-keys \
--pass-volume-keys \
--nofork &&
${update-background}
''
--nofork
''