Update modules/workspace/i3blocks/default.nix

This commit is contained in:
Alexander Bantyev 2020-04-10 14:52:54 +03:00
parent 140f36b3a1
commit 34e00a7713

View File

@ -36,8 +36,7 @@ in {
in ''
interval=60
markup=pango
'' + genIniOrdered (
optional (config.secrets ? mail) (scr "email") ++ [
'' + genIniOrdered (optional (config.secrets ? mail) (scr "email") ++ [
(scrint "weather" 600)
(scr "calendar")
(scr "emacs")
@ -52,10 +51,6 @@ in {
] ++ optionals config.deviceSpecific.isLaptop [
(scr "battery")
(scrint "brightness" 5)
] ++ [
(scrint "connections" 10)
(scr "df")
(scr "date")
(scrint "time" 1)
]);
] ++ optional (config.deviceSpecific.devInfo ? bigScreen) (scrint "network" 1)
++ [ (scrint "connections" 10) (scr "df") (scr "date") (scrint "time" 1) ]);
}