From 20e4682100feb6b57c3e9bafcf977f5845b36ddc Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 17 Jun 2024 15:54:28 +0100 Subject: [PATCH] Update hotkeys and pinned applications --- programs/desktop/plasma6/default.nix | 32 +++++++++++++--------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/programs/desktop/plasma6/default.nix b/programs/desktop/plasma6/default.nix index ee1e7a9..22c5b09 100644 --- a/programs/desktop/plasma6/default.nix +++ b/programs/desktop/plasma6/default.nix @@ -1,6 +1,4 @@ { - config, - lib, pkgs, fonts, ... @@ -48,10 +46,17 @@ }; }; - hotkeys.commands."launch-konsole" = { - name = "Launch Konsole"; - key = "Meta+Alt+K"; - command = "konsole"; + hotkeys.commands = { + "launch-terminal" = { + name = "Launch Alacritty Terminal Emulator"; + key = "Meta+Alt+T"; + command = "alacritty"; + }; + "launch-emacs" = { + name = "Launch Emacs Client Window"; + key = "Meta+Alt+E"; + command = "emacsclient -c"; + }; }; panels = [ @@ -72,9 +77,10 @@ name = "org.kde.plasma.icontasks"; config = { General.launchers = [ - "applications:Alacritty.desktop" - "applications:emacsclient.desktop" "applications:org.kde.dolphin.desktop" + "applications:Alacritty.desktop" + "applications:emacs.desktop" + "applications:firefox.desktop" "applications:org.kde.elisa.desktop" ]; }; @@ -94,15 +100,7 @@ shortcuts = { ksmserver = { - "Lock Session" = ["Screensaver" "Meta+Ctrl+Alt+L"]; - }; - - kwin = { - "Expose" = "Meta+,"; - "Switch Window Down" = "Meta+J"; - "Switch Window Left" = "Meta+H"; - "Switch Window Right" = "Meta+L"; - "Switch Window Up" = "Meta+K"; + "Lock Session" = ["Screensaver" "Meta+Alt+L"]; }; };