From 09829c1786bfba4452133350184db5d1ad8d035d Mon Sep 17 00:00:00 2001 From: xezo360hye Date: Sat, 17 Aug 2024 19:05:40 +0300 Subject: [PATCH] feat(home): change plasma panel --- home/modules/plasma/default.nix | 50 ++++++++++++++++++++++----------- 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/home/modules/plasma/default.nix b/home/modules/plasma/default.nix index d54f396..81c8f39 100644 --- a/home/modules/plasma/default.nix +++ b/home/modules/plasma/default.nix @@ -38,34 +38,52 @@ panels = [ { screen = "all"; - location = "bottom"; - hiding = "dodgewindows"; - widgets = [ - { + floating = false; + height = 44; + + widgets = let + kickoff = { kickoff.icon = "nix-snowflake-white"; - } - "org.kde.plasma.pager" - { + }; + + taskmanager = { iconTasks.launchers = [ "applications:systemsettings.desktop" "applications:org.kde.dolphin.desktop" "applications:firefox.desktop" "applications:org.kde.konsole.desktop" ]; - } - "org.kde.plasma.marginseparator" - { - systemTray = {}; - } - { + }; + + systray = { + systemTray.shown = [ + "org.kde.plasma.battery" + ]; + }; + + digital-clock = { digitalClock = { date.format = "isoDate"; time.format = "24h"; - time.showSeconds = "always"; calendar.firstDayOfWeek = "monday"; }; - } - "org.kde.plasma.showdesktop" + }; + + workspaces = "org.kde.plasma.pager"; + separator = "org.kde.plasma.marginseparator"; + desktop = "org.kde.plasma.showdesktop"; + in + [ + kickoff + workspaces + taskmanager + + separator + digital-clock + separator + + systray + desktop ]; } ];