From 0dcb913fa7bbae77c6af2262af88e10fae683d67 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 6 Sep 2024 14:25:28 +0100 Subject: [PATCH] Move pager to separate panel at top of screen Move icontasks to centre of bottom panel Remove custom terminal keybind, use built-in plasma bind for konsole --- system/home/plasma/default.nix | 40 ++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/system/home/plasma/default.nix b/system/home/plasma/default.nix index 045fd069..afa35dad 100644 --- a/system/home/plasma/default.nix +++ b/system/home/plasma/default.nix @@ -61,15 +61,6 @@ }; hotkeys.commands = { - "launch-terminal" = - let - command = config.programs.plasma.configFile.kdeglobals.General.TerminalApplication.value; - in - { - inherit command; - name = "Launch ${command} emulator"; - key = "Ctrl+Alt+T"; - }; "launch-emacs" = { name = "Launch Emacs Client Window"; key = "Meta+Alt+X"; @@ -99,6 +90,8 @@ showIconsRootLevel = true; }; } + "org.kde.plasma.marginsseparator" + "org.kde.plasma.panelspacer" { name = "org.kde.plasma.icontasks"; config.General = { @@ -111,15 +104,6 @@ }; } "org.kde.plasma.panelspacer" - { - name = "org.kde.plasma.pager"; - config.General = { - showWindowIcons = "true"; - showOnlyCurrentScreen = "false"; - wrapPage = "true"; - }; - } - "org.kde.plasma.panelspacer" "org.kde.plasma.marginsseparator" "org.kde.plasma.keyboardindicator" "org.kde.plasma.cameraindicator" @@ -156,6 +140,25 @@ } ]; } + { + height = 48; + lengthMode = "fit"; + location = "top"; + alignment = "center"; + hiding = "dodgewindows"; + floating = true; + screen = "all"; + widgets = [ + { + name = "org.kde.plasma.pager"; + config.General = { + showWindowIcons = "true"; + showOnlyCurrentScreen = "false"; + wrapPage = "true"; + }; + } + ]; + } ]; shortcuts = { @@ -178,7 +181,6 @@ "InvertWindow" = "Meta+Ctrl+U"; "Invert Screen Colors" = [ ]; }; - "services/org.kde.konsole.desktop"."_launch" = [ ]; "services/org.kde.krunner.desktop"."_launch" = [ "Meta+Space" "Search"