Change default terminal bind to open configured terminal emulator

This commit is contained in:
Evie Litherland-Smith 2024-07-16 09:55:24 +01:00
parent 63cc162824
commit 198bd6a7fa

View file

@ -60,6 +60,13 @@
}; };
hotkeys.commands = { 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" = { "launch-emacs" = {
name = "Launch Emacs Client Window"; name = "Launch Emacs Client Window";
key = "Meta+Alt+X"; key = "Meta+Alt+X";
@ -157,9 +164,8 @@
"Switch Window Right" = "Meta+L"; "Switch Window Right" = "Meta+L";
"Switch Window Up" = "Meta+K"; "Switch Window Up" = "Meta+K";
}; };
"services/org.kde.krunner.desktop" = { "services/org.kde.konsole.desktop"."_launch" = [];
"_launch" = ["Meta+Space" "Search" "Alt+F2"]; "services/org.kde.krunner.desktop"."_launch" = ["Meta+Space" "Search" "Alt+F2"];
};
}; };
kwin = { kwin = {