add kwin bindings and fix stuff
This commit is contained in:
parent
81e06a0513
commit
b131f134bc
2 changed files with 51 additions and 7 deletions
|
@ -2,11 +2,13 @@
|
||||||
{
|
{
|
||||||
programs.plasma = {
|
programs.plasma = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
overrideConfig = true;
|
||||||
|
immutableByDefault = true;
|
||||||
workspace = {
|
workspace = {
|
||||||
lookAndFeel = "org.ide.breezedark.desktop";
|
lookAndFeel = "org.ide.breezedark.desktop";
|
||||||
cursor = {
|
cursor = {
|
||||||
theme = "Bibata-Modern-Classic";
|
theme = "Bibata-Modern-Classic";
|
||||||
size = 32;
|
size = 23;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -21,5 +23,45 @@
|
||||||
numlockOnStartup = "on";
|
numlockOnStartup = "on";
|
||||||
options = [ "ctrl:nocaps" ];
|
options = [ "ctrl:nocaps" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Meta key is actually the Super key in KDE
|
||||||
|
|
||||||
|
hotkeys.commands = {
|
||||||
|
"launch-terminal" = {
|
||||||
|
name = "launch terminal";
|
||||||
|
key = "Meta+Return";
|
||||||
|
command = "kitty";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
shortcuts = {
|
||||||
|
kwin = {
|
||||||
|
"Switch Window Down" = "Meta+J";
|
||||||
|
"Switch Window Left" = "Meta+H";
|
||||||
|
"Switch Window Right" = "Meta+L";
|
||||||
|
"Switch Window Up" = "Meta+K";
|
||||||
|
"Window Quick Tile Down" = "Meta+Shift+J";
|
||||||
|
"Window Quick Tile Left" = "Meta+Shift+H";
|
||||||
|
"Window Quick Tile Right" = "Meta+Shift+L";
|
||||||
|
"Window Quick Tile Up" = "Meta+Shift+K";
|
||||||
|
"Window Close" = "Meta+Ctrl+Q";
|
||||||
|
"Window Maximize" = "Meta+W";
|
||||||
|
"Window Minimize" = "Meta+Shift+-";
|
||||||
|
"Window Fullscreen" = "Meta+F";
|
||||||
|
"Window Shrink Horizontal" = "Meta+-";
|
||||||
|
};
|
||||||
|
|
||||||
|
ksmserver = {
|
||||||
|
"Lock Session" = [
|
||||||
|
"Screensaver"
|
||||||
|
"Meta+Ctrl+L"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
configFile = {
|
||||||
|
# save RAM
|
||||||
|
baloofilerc."Basic Settings"."Indexing-Enabled" = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,12 +22,14 @@
|
||||||
|
|
||||||
systemd.user.startServices = "sd-switch";
|
systemd.user.startServices = "sd-switch";
|
||||||
|
|
||||||
qt = {
|
# keep this commented when using plasma
|
||||||
enable = true;
|
# otherwise "system settings" in KDE will not function
|
||||||
platformTheme.name = "kde";
|
# qt = {
|
||||||
style.name = "breeze-dark";
|
# enable = true;
|
||||||
style.package = pkgs.kdePackages.breeze;
|
# platformTheme.name = "kde";
|
||||||
};
|
# style.name = "breeze-dark";
|
||||||
|
# style.package = pkgs.kdePackages.breeze;
|
||||||
|
# };
|
||||||
|
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue