diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-01-16 16:31:42 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-01-16 16:31:42 +0530 |
| commit | 6ba0196a5cc237a263ce0210b920bbd5d38fac0c (patch) | |
| tree | cd13eefef1e11614e4db54a6f5afcdc4bd87d472 /config/plasma/default.nix | |
| parent | 722467fc40bfb44ee0aee1c6aab804dc36d16851 (diff) | |
update
Diffstat (limited to '')
| -rw-r--r-- | config/plasma/default.nix | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/config/plasma/default.nix b/config/plasma/default.nix new file mode 100644 index 0000000..94ebfb1 --- /dev/null +++ b/config/plasma/default.nix @@ -0,0 +1,117 @@ +{ home, pkgs, ... }: + +{ + home.packages = [ + pkgs.bibata-cursors + pkgs.papirus-icon-theme + ]; + + gtk = { + enable = true; + + theme = { name = "Breeze"; }; + iconTheme = { name = "Papirus-Dark"; }; + + font = { name = "UbuntuMono Nerd Font Mono"; }; + }; + + programs.plasma = { + enable = true; + + workspace = { + lookAndFeel = "org.kde.breezedark.desktop"; + cursor = { + theme = "Bibata-Modern-Classic"; + size = 18; + }; + iconTheme = "Papirus-Dark"; + wallpaper = "/config/dist/wallpaper.jpg"; + }; + + fonts = { + general = { + family = "UbuntuMono Nerd Font"; + pointSize = 10; + }; + + fixedWidth = { + family = "UbuntuMono Nerd Font Mono"; + pointSize = 10; + }; + }; + + hotkeys.commands."launch-alacritty" = { + name = "Launch Alacritty"; + key = "Ctrl+Alt+T"; + command = "alacritty"; + }; + + kwin = { + edgeBarrier = 0; + cornerBarrier = false; + + titlebarButtons.left = []; + titlebarButtons.right = [ "minimize" "maximize" "close"]; + + effects.shakeCursor.enable = true; + effects.translucency.enable = true; + effects.wobblyWindows.enable = true; + }; + + shortcuts = { + kwin = { + "Window Operations Menu" = "Alt+Space"; + }; + }; + + input.mice = [ + { + vendorId = "06cb"; + productId = "ce81"; + name = "DLL0C55:00 06CB:CE81 Touchpad"; + middleButtonEmulation = true; + naturalScroll = true; + } + ]; + + panels = [ + { + location = "bottom"; + widgets = [ + { + name = "org.kde.plasma.kickoff"; + config = { + General = { + alphaSort = true; + }; + }; + } + + { + iconTasks = { + launchers = []; + }; + } + + "org.kde.plasma.marginsseparator" + + { + systemTray.items = { + shown = [ + "org.kde.plasma.battery" + "org.kde.plasma.bluetooth" + "org.kde.plasma.networkmanagement" + "org.kde.plasma.volume" + ]; + }; + } + { + digitalClock = { + time.format = "24h"; + }; + } + ]; + } + ]; + }; +} |
