From c1eaad2d7d10f4bdf4e90deaa48202278e654a5b Mon Sep 17 00:00:00 2001 From: "Mohamed C." Date: Sat, 3 Aug 2024 18:11:55 +0200 Subject: [PATCH] plasma panel settings --- user/plasma.nix | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/user/plasma.nix b/user/plasma.nix index 0645a8d..d68af3c 100644 --- a/user/plasma.nix +++ b/user/plasma.nix @@ -1,7 +1,34 @@ -{ plasma-manager, ... }: +{ plasma-manager, pkgs, pkgs-stable, ... }: { programs.plasma = { enable = true; + + panels = [ + { + location = "bottom"; + floating = true; + alignment = "center"; + height = 46; + lenghtMode = "fit"; + hiding = "dodgewindows"; + widgets = [ + "org.kde.plasma.kickoff" + "org.kde.plasma.icontasks" + ]; + } + { + location = "bottom"; + floating = true; + alignment = "right"; + height = 36; + lenghtMode = "fit"; + hiding = "dodgewindows"; + widgets = [ + "org.kde.plasma.systemtray" + "org.kde.plasma.digitalclock" + ]; + } + ]; shortcuts = { "ActivityManager"."switch-to-activity-2542e971-497c-477f-9d2b-e944f0cb1535" = ",none,Zu Aktivität „Standard“ wechseln"; "KDE Keyboard Layout Switcher"."Switch to Last-Used Keyboard Layout" = ",Meta+Alt+L,Switch to Last-Used Keyboard Layout";