{ pkgs, fonts, rc2nix, ... }: { imports = [./konsole.nix]; home.packages = with pkgs; [ rc2nix wl-clipboard volantes-cursors (papirus-icon-theme.override {color = "breeze";}) ]; services.gpg-agent.pinentryPackage = pkgs.pinentry-qt; programs.plasma = { enable = true; overrideConfig = true; workspace = { clickItemTo = "open"; lookAndFeel = "org.kde.breeze.desktop"; theme = "breeze-light"; colorScheme = "BreezeLight"; cursor = { theme = "volantes_cursors"; size = 32; }; iconTheme = "Papirus"; wallpaper = "${../wallpapers/landscapes/tropic_island_day.jpg}"; }; fonts = let general = { family = fonts.sansSerif.name; pointSize = 12; }; small = { inherit (general) family; pointSize = general.pointSize - 2; }; fixedWidth = { family = fonts.monospace.name; pointSize = 12; }; in { inherit general small fixedWidth; menu = general; toolbar = general; windowTitle = small; }; hotkeys.commands = { "launch-emacs" = { name = "Launch Emacs Client Window"; key = "Meta+Alt+X"; command = "emacsclient -c"; }; }; panels = [ { height = 32; lengthMode = "fill"; location = "top"; alignment = "center"; hiding = "dodgewindows"; floating = true; widgets = [ { name = "org.kde.plasma.kickoff"; config.General = { icon = "nix-snowflake"; primaryActions = "0"; favoritesDisplay = "0"; applicationsDisplay = "1"; pin = "true"; showActionButtonCaptions = "true"; compactMode = "false"; }; } { name = "org.kde.plasma.taskmanager"; config.General = { sortingStrategy = "2"; # Alphabetically separateLaunchers = "true"; maxStripes = "1"; showToolTips = "true"; launchers = [ "applications:systemsettings.desktop" "applications:org.kde.konsole.desktop" "preferred://filemanager" "preferred://browser" ]; }; } { name = "org.kde.plasma.pager"; config.General = { showWindowIcons = "true"; showOnlyCurrentScreen = "false"; wrapPage = "true"; }; } "org.kde.plasma.cameraindicator" { systemTray = { icons = { spacing = "small"; scaleToFit = false; }; }; } { digitalClock = { date = { enable = true; format = "isoDate"; position = "besideTime"; }; time = { format = "24h"; showSeconds = "onlyInTooltip"; }; calendar.showWeekNumbers = true; }; } { name = "org.kde.plasma.userswitcher"; config.General = { showFace = "true"; showName = "false"; showFullName = "true"; showTechnicalInfo = "true"; }; } ]; } ]; shortcuts = { kwin = { "Walk Through Windows of Current Application" = "Alt+`"; "Walk Through Windows of Current Application (Reverse)" = "Alt+¬"; }; }; kwin = { virtualDesktops = { rows = 1; number = 6; }; effects = { translucency.enable = true; blur.enable = true; cube.enable = true; dimAdminMode.enable = true; }; }; configFile = { baloofilerc."Basic Settings"."Indexing-Enabled" = false; kcminputrc.Keyboard.NumLock = 1; krunnerrc.General.FreeFloating = true; kscreenlockerrc = { Daemon.Timeout = 15; Greeter.WallpaperPlugin = "org.kde.potd"; }; klipperrc = { General = { SyncClipboards = true; MaxClipItems = 5; IgnoreImages = false; KeepClipboardContents = false; }; }; kdeglobals = { General = { TerminalApplication = "konsole"; TerminalService = "org.kde.konsole.desktop"; }; }; kwinrc = { Windows = { FocusPolicy = "FocusFollowsMouse"; RollOverDesktops = true; }; NightColor = { Active = true; Mode = "Location"; LatitudeFixed = "51.7"; LongitudeFixed = "-1.2"; }; }; plasmanotifyrc.Notifications = { NormalAlwaysOnTop = true; PopupPosition = "TopRight"; }; }; }; }