diff --git a/plasma.nix b/plasma.nix index 6db152d..ee7b797 100644 --- a/plasma.nix +++ b/plasma.nix @@ -5,16 +5,92 @@ panels = [ { - location = "top"; - alignment = "right"; + location = "left"; + alignment = "center"; + floating = true; hiding = "autohide"; + height = 32; + lengthMode = "fit"; + opacity = "translucent"; + offset = 50; + widgets = [ + "org.kde.plasma.kickoff" + "org.kde.plasma.icontasks" + "org.kde.plasma.pager" + "org.kde.plasma.systemtray" + "org.kde.plasma.digitalclock" + ]; } ]; + workspace.lookAndFeel = "org.kde.breezedark.desktop"; + + desktop = { + widgets = [ + { + name = "org.kde.plasma.digitalclock"; + config = { + Appearance = { + showDate = false; + }; + }; + position = { + horizontal = 51; + vertical = 100; + }; + size = { + height = 250; + width = 250; + }; + } + { + name = "org.kde.comicstrip"; + config = { + }; + position = { + horizontal = 51; + vertical = 500; + }; + size = { + height = 250; + width = 250; + }; + } + ]; + }; + + # fonts.fixedWidth = { + # family = "Fira Mono"; + # pointSize = 11; + # }; + + powerdevil = let settings = { + autoSuspend.action = "sleep"; + autoSuspend.idleTimeout = 600; + dimDisplay.enable = true; + dimDisplay.idleTimeout = 300; + powerButtonAction = "shutDown"; + whenLaptopLidClosed = "sleep"; + }; in { + AC = settings; + battery = settings; + }; + hotkeys.commands."alacritty-full" = { name = "Launch Alacritty"; key = "Meta+Enter"; - command = "alacritty --config-file ${config.users.users.username.home}/.config/alacritty/alacritty-full.toml"; + command = "alacritty --config-file ./.config/alacritty/alacritty-full.toml"; }; }; + + programs.okular.enable = true; + + programs.plasma.input.keyboard.layouts = [ + { + layout = "de"; + } + ]; + + # programs.plasma.kscreenlocker.appearance.wallpaper = ""; + } \ No newline at end of file