This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/programs/desktop/plasma6/example.nix
Evie Litherland-Smith cfac416750 Add plasma-manager module
Add initial config to expand upon, as well as copy of example from
plasma-manager repo and current export from Scorch before applying
plasma-manager
2024-06-17 13:53:08 +01:00

79 lines
1.8 KiB
Nix

{pkgs, ...}: {
imports = [
<plasma-manager/modules>
];
programs.plasma = {
enable = true;
#
# Some high-level settings:
#
workspace = {
clickItemTo = "select";
lookAndFeel = "org.kde.breezedark.desktop";
cursor.theme = "Bibata-Modern-Ice";
iconTheme = "Papirus-Dark";
wallpaper = "${pkgs.kdePackages.plasma-workspace-wallpapers}/share/wallpapers/Patak/contents/images/1080x1920.png";
};
hotkeys.commands."launch-konsole" = {
name = "Launch Konsole";
key = "Meta+Alt+K";
command = "konsole";
};
panels = [
# Windows-like panel at the bottom
{
location = "bottom";
widgets = [
"org.kde.plasma.kickoff"
"org.kde.plasma.icontasks"
"org.kde.plasma.marginsseperator"
"org.kde.plasma.systemtray"
"org.kde.plasma.digitalclock"
];
}
# Global menu at the top
{
location = "top";
height = 26;
widgets = [
"org.kde.plasma.appmenu"
];
}
];
#
# Some mid-level settings:
#
shortcuts = {
ksmserver = {
"Lock Session" = ["Screensaver" "Meta+Ctrl+Alt+L"];
};
kwin = {
"Expose" = "Meta+,";
"Switch Window Down" = "Meta+J";
"Switch Window Left" = "Meta+H";
"Switch Window Right" = "Meta+L";
"Switch Window Up" = "Meta+K";
};
};
#
# Some low-level settings:
#
configFile = {
"baloofilerc"."Basic Settings"."Indexing-Enabled" = false;
"kwinrc"."org.kde.kdecoration2"."ButtonsOnLeft" = "SF";
"kwinrc"."Desktops"."Number" = {
value = 8;
# Forces kde to not change this value (even through the settings app).
immutable = true;
};
};
};
}