mirror of
https://github.com/nix-community/plasma-manager.git
synced 2024-11-30 01:39:16 +03:00
Use stringIfNotNull for panel.screen (#252)
This commit is contained in:
parent
1b82683de6
commit
995d818078
@ -25,7 +25,7 @@ let
|
||||
${stringIfNotNull panel.maxLength "panel.maximumLength = ${toString panel.maxLength};"}
|
||||
${stringIfNotNull panel.minLength "panel.minimumLength = ${toString panel.minLength};"}
|
||||
${stringIfNotNull panel.offset "panel.offset = ${toString panel.offset};"}
|
||||
${optionalString (panel.screen != null) ''panel.writeConfig("lastScreen[$i]", ${toString panel.screen});''}
|
||||
${stringIfNotNull panel.screen ''panel.writeConfig("lastScreen[$i]", ${toString panel.screen});''}
|
||||
|
||||
${addWidgetStmts "panel" "panelWidgets" panel.widgets}
|
||||
${stringIfNotNull panel.extraSettings panel.extraSettings}
|
||||
|
Loading…
Reference in New Issue
Block a user