Update modules/workspace/i3blocks/default.nix
This commit is contained in:
parent
140f36b3a1
commit
34e00a7713
@ -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) ]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user