From c79d49a60c246e8fc6c406bd60384897f18e7ceb Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 17 Jun 2024 16:22:37 +0100 Subject: [PATCH] Move plasma panel to right of screen, autostart protonmail-bridge Add Twinkle to installed work packages --- home/work.nix | 1 + programs/desktop/plasma6/default.nix | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/home/work.nix b/home/work.nix index 578329c..db1c457 100644 --- a/home/work.nix +++ b/home/work.nix @@ -6,6 +6,7 @@ }: { imports = [./default.nix]; home.packages = with pkgs; [ + twinkle teams-for-linux nomachine-client (writeShellScriptBin "ukaea-vpn-connect" "sudo ${openfortivpn}/bin/openfortivpn -c ${./ukaea-vpn.conf}") diff --git a/programs/desktop/plasma6/default.nix b/programs/desktop/plasma6/default.nix index 22c5b09..7358f71 100644 --- a/programs/desktop/plasma6/default.nix +++ b/programs/desktop/plasma6/default.nix @@ -63,7 +63,7 @@ { height = 44; lengthMode = "fill"; - location = "left"; + location = "right"; alignment = "center"; hiding = "none"; floating = true; @@ -72,7 +72,6 @@ name = "org.kde.plasma.kickoff"; config = {General.icon = "nix-snowflake-white";}; } - "org.kde.plasma.pager" { name = "org.kde.plasma.icontasks"; config = { @@ -104,6 +103,13 @@ }; }; + startup.startupScript = { + "protonmail-bridge" = { + priority = 3; + text = "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"; + }; + }; + kwin.effects = { translucency.enable = true; blur.enable = true;