39 lines
870 B
Nix
39 lines
870 B
Nix
{
|
|
pkgs,
|
|
...
|
|
}: {
|
|
programs.plasma = {
|
|
enable = true;
|
|
overrideConfig = true;
|
|
|
|
session.sessionRestore.restoreOpenApplicationsOnLogin = "startWithEmptySession";
|
|
|
|
workspace = {
|
|
clickItemTo = "select";
|
|
lookAndFeel = "org.kde.breezedark.desktop";
|
|
cursor.theme = "Bibata-Modern-Ice";
|
|
iconTheme = "Papirus-Dark";
|
|
};
|
|
|
|
hotkeys.commands."rebuild-flake" = {
|
|
name = "Rebuild NixOS Flake";
|
|
key = "Meta+Z";
|
|
command = "kitty --hold bash -c \"nh os switch /home/grey/nixos; if [ \\$? == 0 ]; then exit; fi\"";
|
|
};
|
|
|
|
shortcuts = {
|
|
plasmashell = {
|
|
"Show Activity Switcher" = "none";
|
|
"manage activities" = "none";
|
|
};
|
|
|
|
kwin = {
|
|
"Close Window" = "Meta+Q";
|
|
"Window Close" = "Meta+Q";
|
|
};
|
|
|
|
"services/kitty.desktop"."_launch" = "Meta+Return";
|
|
};
|
|
};
|
|
}
|