nixos/users/ruben/desktop.nix

69 lines
3.6 KiB
Nix

# ╭──────────────────────────────────────────────────────────────╮
# │ _ _ _ _ │
# │ _ __| |__ _ ____ __ __ _ ___ __| |___ __| |_| |_ ___ _ __ │
# │ | '_ \ / _` (_-< ' \/ _` |___/ _` / -_|_-< / / _/ _ \ '_ \ │
# │ | .__/_\__,_/__/_|_|_\__,_| \__,_\___/__/_\_\\__\___/ .__/ │
# │ |_| |_| │
# │ plasma-desktop (plasma-manager) │
# │ generated and modified via rc2nix from: │
# │ https://github.com/pjones/plasma-manager/ │
# ╰──────────────────────────────────────────────────────────────╯
{
inputs,
lib,
osConfig,
config,
pkgs,
...
}: {
programs.plasma = {
enable = true;
shortcuts = {
"kwin"."Cube" = "Meta+C";
"kwin"."Overview" = "Meta+W";
"kwin"."Switch to Desktop 1" = "Meta+1";
"kwin"."Switch to Desktop 2" = "Meta+2";
"kwin"."Switch to Desktop 3" = "Meta+3";
"kwin"."Switch to Desktop 4" = "Meta+4";
"kwin"."Switch to Desktop 5" = "Meta+5";
"kwin"."Window Close" = ["Alt+F4" "Meta+Q"];
"kwin"."Window to Desktop 1" = "Meta+Ctrl+1";
"kwin"."Window to Desktop 2" = "Meta+Ctrl+2";
"kwin"."Window to Desktop 3" = "Meta+Ctrl+3";
"kwin"."Window to Desktop 4" = "Meta+Ctrl+4";
"kwin"."Window to Desktop 5" = "Meta+Ctrl+5";
"services/kitty.desktop"."_launch" = "Meta+Return";
"services/org.kde.spectacle.desktop"."ActiveWindowScreenShot" = "Meta+Print";
"services/org.kde.spectacle.desktop"."FullScreenScreenShot" = "Meta+Ctrl+Print";
"services/org.kde.spectacle.desktop"."RectangularRegionScreenShot" = "Print";
};
configFile = {
"dolphinrc"."KFileDialog Settings"."Places Icons Auto-resize".value = false;
"dolphinrc"."KFileDialog Settings"."Places Icons Static Size".value = 16;
"dolphinrc"."PlacesPanel"."IconSize".value = 16;
"kdeglobals"."General"."XftHintStyle".value = "hintslight";
"kdeglobals"."General"."XftSubPixel".value = "none";
"kdeglobals"."General"."fixed".value = "JetBrainsMono Nerd Font,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1";
"kdeglobals"."General"."font".value = "Lexend,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1";
"kdeglobals"."General"."menuFont".value = "Lexend,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1";
"kdeglobals"."General"."smallestReadableFont".value = "Lexend,8,-1,5,400,0,0,0,0,0,0,0,0,0,0,1";
"kdeglobals"."General"."toolBarFont".value = "Lexend,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1";
"kdeglobals"."WM"."activeFont".value = "Lexend,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1";
"kwinrc"."Desktops"."Number".value = 5;
"kwinrc"."Desktops"."Rows".value = 1;
"kwinrc"."NightColor"."Active".value = true;
"kwinrc"."Plugins"."blurEnabled".value = true;
"kwinrc"."Plugins"."contrastEnabled".value = true;
"kwinrc"."Plugins"."cubeEnabled".value = true;
"kwinrc"."Plugins"."dimscreenEnabled".value = true;
"kwinrc"."Plugins"."magiclampEnabled".value = true;
"kwinrc"."Plugins"."shakecursorEnabled".value = true;
"kwinrc"."Plugins"."sheetEnabled".value = true;
"kwinrc"."Plugins"."squashEnabled".value = false;
"kwinrc"."Plugins"."translucencyEnabled".value = true;
"kwinrc"."Plugins"."wobblywindowsEnabled".value = true;
};
};
}