From fde3698afbb7de025db4616ef9c44686258ea83d Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 17 Jun 2024 14:51:52 +0100 Subject: [PATCH] Add some more plasma6 configs --- programs/desktop/plasma6/default.nix | 21 +++++++++++++++++++-- programs/desktop/plasma6/rc2.Scorch.nix | 2 ++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/programs/desktop/plasma6/default.nix b/programs/desktop/plasma6/default.nix index 99e444c..7ffc386 100644 --- a/programs/desktop/plasma6/default.nix +++ b/programs/desktop/plasma6/default.nix @@ -16,6 +16,7 @@ programs.plasma = { enable = true; overrideConfig = true; + workspace = { clickItemTo = "open"; lookAndFeel = "org.kde.breeze.desktop"; @@ -26,6 +27,7 @@ iconTheme = "Papirus"; wallpaper = "${../wallpapers/landscapes/tropic_island_day.jpg}"; }; + fonts = let general = { family = fonts.sansSerif.name; @@ -42,9 +44,10 @@ windowTitle = general; small = { inherit (general) family; - pointSize = general.pointSize-2; + pointSize = general.pointSize - 2; }; }; + hotkeys.commands."launch-konsole" = { name = "Launch Konsole"; key = "Meta+Alt+K"; @@ -70,7 +73,13 @@ } "org.kde.plasma.marginsseperator" "org.kde.plasma.systemtray" - "org.kde.plasma.digitalclock" + { + digitalClock = { + date.format = {custom = "d/MM";}; + time.format = "24h"; + calendar.showWeekNumbers = true; + }; + } ]; } # Global menu at the top @@ -82,6 +91,7 @@ # ]; # } ]; + shortcuts = { ksmserver = { "Lock Session" = ["Screensaver" "Meta+Ctrl+Alt+L"]; @@ -95,6 +105,13 @@ "Switch Window Up" = "Meta+K"; }; }; + + kwin = { + translucency.enable = true; + blur.enable = true; + cube.enable = true; + }; + configFile = { kscreenlockerrc = { Greeter.WallpaperPlugin = "org.kde.potd"; diff --git a/programs/desktop/plasma6/rc2.Scorch.nix b/programs/desktop/plasma6/rc2.Scorch.nix index 5708332..247e716 100644 --- a/programs/desktop/plasma6/rc2.Scorch.nix +++ b/programs/desktop/plasma6/rc2.Scorch.nix @@ -244,6 +244,7 @@ "kdeglobals"."General"."menuFont" = "Iosevka Custom Aile,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"; "kdeglobals"."General"."smallestReadableFont" = "Iosevka Custom Aile,8,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"; "kdeglobals"."General"."toolBarFont" = "Iosevka Custom Aile,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"; + "kdeglobals"."KDE"."SingleClick" = true; "kdeglobals"."KFileDialog Settings"."Allow Expansion" = false; "kdeglobals"."KFileDialog Settings"."Automatically select filename extension" = true; "kdeglobals"."KFileDialog Settings"."Breadcrumb Navigation" = true; @@ -285,6 +286,7 @@ "kwinrc"."Desktops"."Rows" = 1; "kwinrc"."Tiling"."padding" = 4; "kwinrc"."Tiling/8c3e40a5-6d02-561d-be90-abdf39b7afe6"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}"; + "kwinrc"."Windows"."FocusPolicy" = "FocusFollowsMouse"; "kwinrc"."Xwayland"."Scale" = 1.5; "plasma-localerc"."Formats"."LANG" = "en_GB.UTF-8"; "plasmarc"."Wallpapers"."usersWallpapers" = "/home/elitherl/.config/home-manager/programs/desktop/wallpapers/landscapes/tropic_island_day.jpg";