diff --git a/home/plasma.nix b/home/plasma.nix index 077b530..3d919d3 100644 --- a/home/plasma.nix +++ b/home/plasma.nix @@ -2,11 +2,13 @@ { programs.plasma = { enable = true; + overrideConfig = true; + immutableByDefault = true; workspace = { lookAndFeel = "org.ide.breezedark.desktop"; cursor = { theme = "Bibata-Modern-Classic"; - size = 32; + size = 23; }; }; @@ -21,5 +23,45 @@ numlockOnStartup = "on"; options = [ "ctrl:nocaps" ]; }; + + # Meta key is actually the Super key in KDE + + hotkeys.commands = { + "launch-terminal" = { + name = "launch terminal"; + key = "Meta+Return"; + command = "kitty"; + }; + }; + + shortcuts = { + kwin = { + "Switch Window Down" = "Meta+J"; + "Switch Window Left" = "Meta+H"; + "Switch Window Right" = "Meta+L"; + "Switch Window Up" = "Meta+K"; + "Window Quick Tile Down" = "Meta+Shift+J"; + "Window Quick Tile Left" = "Meta+Shift+H"; + "Window Quick Tile Right" = "Meta+Shift+L"; + "Window Quick Tile Up" = "Meta+Shift+K"; + "Window Close" = "Meta+Ctrl+Q"; + "Window Maximize" = "Meta+W"; + "Window Minimize" = "Meta+Shift+-"; + "Window Fullscreen" = "Meta+F"; + "Window Shrink Horizontal" = "Meta+-"; + }; + + ksmserver = { + "Lock Session" = [ + "Screensaver" + "Meta+Ctrl+L" + ]; + }; + }; + + configFile = { + # save RAM + baloofilerc."Basic Settings"."Indexing-Enabled" = false; + }; }; } diff --git a/home/yt/ytnix.nix b/home/yt/ytnix.nix index 4a8b31e..f409021 100644 --- a/home/yt/ytnix.nix +++ b/home/yt/ytnix.nix @@ -22,12 +22,14 @@ systemd.user.startServices = "sd-switch"; - qt = { - enable = true; - platformTheme.name = "kde"; - style.name = "breeze-dark"; - style.package = pkgs.kdePackages.breeze; - }; + # keep this commented when using plasma + # otherwise "system settings" in KDE will not function + # qt = { + # enable = true; + # platformTheme.name = "kde"; + # style.name = "breeze-dark"; + # style.package = pkgs.kdePackages.breeze; + # }; gtk = { enable = true;