Update modules/workspace/i3blocks/default.nix
This commit is contained in:
parent
140f36b3a1
commit
34e00a7713
@ -36,8 +36,7 @@ in {
|
|||||||
in ''
|
in ''
|
||||||
interval=60
|
interval=60
|
||||||
markup=pango
|
markup=pango
|
||||||
'' + genIniOrdered (
|
'' + genIniOrdered (optional (config.secrets ? mail) (scr "email") ++ [
|
||||||
optional (config.secrets ? mail) (scr "email") ++ [
|
|
||||||
(scrint "weather" 600)
|
(scrint "weather" 600)
|
||||||
(scr "calendar")
|
(scr "calendar")
|
||||||
(scr "emacs")
|
(scr "emacs")
|
||||||
@ -52,10 +51,6 @@ in {
|
|||||||
] ++ optionals config.deviceSpecific.isLaptop [
|
] ++ optionals config.deviceSpecific.isLaptop [
|
||||||
(scr "battery")
|
(scr "battery")
|
||||||
(scrint "brightness" 5)
|
(scrint "brightness" 5)
|
||||||
] ++ [
|
] ++ optional (config.deviceSpecific.devInfo ? bigScreen) (scrint "network" 1)
|
||||||
(scrint "connections" 10)
|
++ [ (scrint "connections" 10) (scr "df") (scr "date") (scrint "time" 1) ]);
|
||||||
(scr "df")
|
|
||||||
(scr "date")
|
|
||||||
(scrint "time" 1)
|
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user