diff --git a/home/desktop/plasma/default.nix b/home/desktop/plasma/default.nix index 49414fe0..e108078c 100644 --- a/home/desktop/plasma/default.nix +++ b/home/desktop/plasma/default.nix @@ -87,9 +87,62 @@ { height = 32; lengthMode = "fill"; + location = "top"; + alignment = "center"; + hiding = "dodgewindows"; + floating = true; + widgets = [ + { + name = "org.kde.plasma.pager"; + config.General = { + showWindowIcons = "true"; + showOnlyCurrentScreen = "false"; + wrapPage = "true"; + }; + } + "org.kde.plasma.panelspacer" + { + digitalClock = { + date = { + enable = true; + format = "isoDate"; + position = "besideTime"; + }; + time = { + format = "24h"; + showSeconds = true; + }; + calendar.showWeekNumbers = true; + }; + } + "org.kde.plasma.panelspacer" + "org.kde.plasma.keyboardindicator" + "org.kde.plasma.cameraindicator" + { + systemTray = { + icons = { + spacing = "small"; + scaleToFit = false; + }; + }; + } + { + name = "org.kde.plasma.userswitcher"; + config.General = { + showFace = "true"; + showName = "false"; + showFullName = "true"; + showTechnicalInfo = "true"; + }; + } + ]; + } + { + height = 48; + lengthMode = "fit"; location = "bottom"; alignment = "center"; - hiding = "normalpanel"; + hiding = "dodgewindows"; floating = true; widgets = [ { @@ -104,6 +157,7 @@ compactMode = "false"; }; } + "org.kde.plasma.marginsseparator" { name = "org.kde.plasma.icontasks"; config.General = { @@ -116,46 +170,8 @@ ]; }; } - { - name = "org.kde.plasma.pager"; - config.General = { - showWindowIcons = "true"; - showOnlyCurrentScreen = "false"; - wrapPage = "true"; - }; - } - "org.kde.plasma.cameraindicator" - { - systemTray = { - icons = { - spacing = "small"; - scaleToFit = false; - }; - }; - } - { - digitalClock = { - date = { - enable = true; - format = "isoDate"; - position = "besideTime"; - }; - time = { - format = "24h"; - showSeconds = "onlyInTooltip"; - }; - calendar.showWeekNumbers = true; - }; - } - { - name = "org.kde.plasma.userswitcher"; - config.General = { - showFace = "true"; - showName = "false"; - showFullName = "true"; - showTechnicalInfo = "true"; - }; - } + "org.kde.plasma.marginsseparator" + "org.kde.plasma.showdesktop" ]; } ];