From 48570036bfa6fc8ecdf94c8998d9f34a64e662b8 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 3 Aug 2024 08:26:15 +0100 Subject: [PATCH] Add back custom launch-terminal bind, remove built-in konsole bind Rearrange pinned launchers and add preferred browser back to task manager --- home/desktop/plasma/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/home/desktop/plasma/default.nix b/home/desktop/plasma/default.nix index dba1efca..73fe0f14 100644 --- a/home/desktop/plasma/default.nix +++ b/home/desktop/plasma/default.nix @@ -67,6 +67,15 @@ }; 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"; @@ -101,9 +110,10 @@ maxStripes = "1"; showToolTips = "true"; launchers = [ - "preferred://filemanager" "applications:Alacritty.desktop" "applications:emacs.desktop" + "preferred://filemanager" + "preferred://browser" ]; }; } @@ -171,6 +181,7 @@ "InvertWindow" = "Meta+Ctrl+U"; "Invert Screen Colors" = [ ]; }; + "services/org.kde.konsole.desktop"."_launch" = [ ]; "services/org.kde.krunner.desktop"."_launch" = [ "Meta+Space" "Search"