Polonium has been frustrating to use. I'm unsure how much of this I can blame polonium vs kde vs plasma-manager vs nix, but 1. keyboard shortcuts aren't working 2. tiling keeps going in and out for various windows 3. seemingly kde startup time takes forever with it installed The more I'm starting to understand KDE's native window management functions, the more I'm thinking that's the right way to go. I'm going to abandom polonium for now, perhaps with some future return.
117 lines
4.3 KiB
Nix
117 lines
4.3 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
# The following can be generated with the command:
|
|
# nix run github:nix-community/plasma-manager
|
|
#
|
|
# Plasma-manager options documentation
|
|
# https://nix-community.github.io/plasma-manager/options.xhtml
|
|
#
|
|
# TODO: Extract this configuration into something that's a bit easier to manage
|
|
# TODO(ambitious): Add Kmail support to plasma-manager
|
|
{
|
|
programs.plasma = {
|
|
enable = true;
|
|
overrideConfig = true;
|
|
|
|
hotkeys.commands."launch-konsole" = {
|
|
name = "Launch Konsole";
|
|
key = "Meta+Return";
|
|
command = "konsole";
|
|
};
|
|
|
|
shortcuts = {
|
|
kmix = {
|
|
"decrease_microphone_volume" = "Microphone Volume Down";
|
|
"decrease_volume" = "Volume Down";
|
|
"decrease_volume_small" = "Shift+Volume Down";
|
|
"increase_microphone_volume" = "Microphone Volume Up";
|
|
"increase_volume" = "Volume Up";
|
|
"increase_volume_small" = "Shift+Volume Up";
|
|
"mic_mute" = ["Microphone Mute" "Meta+Volume Mute,Microphone Mute" "Meta+Volume Mute,Mute Microphone"];
|
|
"mute" = "Volume Mute";
|
|
};
|
|
|
|
mediacontrol = {
|
|
"mediavolumedown" = "none,,Media volume down";
|
|
"mediavolumeup" = "none,,Media volume up";
|
|
"nextmedia" = "Media Next";
|
|
"pausemedia" = "Media Pause";
|
|
"playmedia" = "none,,Play media playback";
|
|
"playpausemedia" = "Media Play";
|
|
"previousmedia" = "Media Previous";
|
|
"stopmedia" = "Media Stop";
|
|
};
|
|
|
|
ksmserver = {
|
|
"Lock Session" = ["Meta+Ctrl+Q" "Screensaver" "Screensaver,Lock Session"];
|
|
};
|
|
|
|
kwin = {
|
|
"Window Close" = "Meta+Shift+Q";
|
|
"Kill Window" = "Meta+Ctrl+Esc";
|
|
"Window Operations Menu" = "Alt+F3";
|
|
"Window Resize" = "Meta+R,,Resize Window";
|
|
|
|
"Overview" = "Meta+W";
|
|
"Grid View" = "Meta+G";
|
|
"Edit Tiles" = "Meta+T";
|
|
|
|
"Activate Window Demanding Attention" = "Meta+Ctrl+A";
|
|
|
|
"Show Desktop" = "Meta+D";
|
|
|
|
"Walk Through Windows" = "Alt+Tab";
|
|
"Walk Through Windows (Reverse)" = "Alt+Shift+Tab";
|
|
"Walk Through Windows of Current Application" = "Alt+`";
|
|
"Walk Through Windows of Current Application (Reverse)" = "Alt+~";
|
|
"Window Fullscreen" = "Meta+Shift+F,,Make Window Fullscreen";
|
|
|
|
"Window Quick Tile Bottom" = "Meta+Down";
|
|
"Window Quick Tile Left" = "Meta+Left";
|
|
"Window Quick Tile Right" = "Meta+Right";
|
|
"Window Quick Tile Top" = "Meta+Up";
|
|
|
|
"view_actual_size" = "Meta+0";
|
|
"view_zoom_in" = ["Meta++" "Meta+=,Meta++" "Meta+=,Zoom In"];
|
|
"view_zoom_out" = "Meta+-";
|
|
};
|
|
"org_kde_powerdevil"."Decrease Keyboard Brightness" = "Keyboard Brightness Down";
|
|
"org_kde_powerdevil"."Decrease Screen Brightness" = "Monitor Brightness Down";
|
|
"org_kde_powerdevil"."Decrease Screen Brightness Small" = "Shift+Monitor Brightness Down";
|
|
"org_kde_powerdevil"."Hibernate" = "Hibernate";
|
|
"org_kde_powerdevil"."Increase Keyboard Brightness" = "Keyboard Brightness Up";
|
|
"org_kde_powerdevil"."Increase Screen Brightness" = "Monitor Brightness Up";
|
|
"org_kde_powerdevil"."Increase Screen Brightness Small" = "Shift+Monitor Brightness Up";
|
|
"org_kde_powerdevil"."PowerDown" = "Power Down";
|
|
"org_kde_powerdevil"."PowerOff" = "Power Off";
|
|
"org_kde_powerdevil"."Sleep" = "Sleep";
|
|
"org_kde_powerdevil"."Toggle Keyboard Backlight" = "Keyboard Light On/Off";
|
|
"org_kde_powerdevil"."Turn Off Screen" = [ ];
|
|
"org_kde_powerdevil"."powerProfile" = ["Battery" "Meta+B,Battery" "Meta+B,Switch Power Profile"];
|
|
|
|
plasmashell = {
|
|
"activate application launcher" = ["Meta" "Alt+F1,Meta" "Alt+F1,Activate Application Launcher"];
|
|
"activate task manager entry 1" = "none,,";
|
|
"activate task manager entry 2" = "none,,";
|
|
"activate task manager entry 3" = "none,,";
|
|
"activate task manager entry 4" = "none,,";
|
|
"activate task manager entry 5" = "none,,";
|
|
"activate task manager entry 6" = "none,,";
|
|
"activate task manager entry 7" = "none,,";
|
|
"activate task manager entry 8" = "none,,";
|
|
"activate task manager entry 9" = "none,,";
|
|
"activate task manager entry 10" = "none,,";
|
|
"show activity switcher" = "none,,";
|
|
};
|
|
};
|
|
|
|
configFile = {
|
|
kwinrc.Desktops.Number = {
|
|
value = 10;
|
|
immutable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|