move plasma config to import
This commit is contained in:
2 files changed
+39
-15
No files matched your search
+1
-15
@@ -5,6 +5,7 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
./plasma.nix
|
||||||
./fastfetch.nix
|
./fastfetch.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -58,18 +59,11 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.plasma = {
|
|
||||||
home.shell.enableZshIntegration = true;
|
home.shell.enableZshIntegration = true;
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
overrideConfig = true;
|
|
||||||
|
|
||||||
workspace = {
|
|
||||||
clickItemTo = "select";
|
|
||||||
lookAndFeel = "org.kde.breezedark.desktop";
|
|
||||||
cursor.theme = "Bibata-Modern-Ice";
|
|
||||||
iconTheme = "Papirus-Dark";
|
|
||||||
antidote = {
|
antidote = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [
|
plugins = [
|
||||||
@@ -83,21 +77,13 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
shortcuts = {
|
|
||||||
plasmashell = {
|
|
||||||
"Show Activity Switcher" = "";
|
|
||||||
};
|
|
||||||
localVariables = {
|
localVariables = {
|
||||||
PATH = "/home/grey/.local/bin:$PATH";
|
PATH = "/home/grey/.local/bin:$PATH";
|
||||||
};
|
};
|
||||||
|
|
||||||
kwin = {
|
|
||||||
"Close Window" = "Meta+Q";
|
|
||||||
};
|
|
||||||
initContent = lib.mkOrder 1500 "fastfetch";
|
initContent = lib.mkOrder 1500 "fastfetch";
|
||||||
};
|
};
|
||||||
|
|
||||||
"services/kitty.desktop"."_launch" = "Meta+Return";
|
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.plasma = {
|
||||||
|
enable = true;
|
||||||
|
overrideConfig = true;
|
||||||
|
|
||||||
|
session.sessionRestore.restoreOpenApplicationsOnLogin = "startWithEmptySession";
|
||||||
|
|
||||||
|
workspace = {
|
||||||
|
clickItemTo = "select";
|
||||||
|
lookAndFeel = "org.kde.breezedark.desktop";
|
||||||
|
cursor.theme = "Bibata-Modern-Ice";
|
||||||
|
iconTheme = "Papirus-Dark";
|
||||||
|
};
|
||||||
|
|
||||||
|
hotkeys.commands."rebuild-flake" = {
|
||||||
|
name = "Rebuild NixOS Flake";
|
||||||
|
key = "Meta+Z";
|
||||||
|
command = "kitty --hold bash -c \"nh os switch /home/grey/nixos; if [ \\$? == 0 ]; then exit; fi\"";
|
||||||
|
};
|
||||||
|
|
||||||
|
shortcuts = {
|
||||||
|
plasmashell = {
|
||||||
|
"Show Activity Switcher" = "none";
|
||||||
|
"manage activities" = "none";
|
||||||
|
};
|
||||||
|
|
||||||
|
kwin = {
|
||||||
|
"Close Window" = "Meta+Q";
|
||||||
|
"Window Close" = "Meta+Q";
|
||||||
|
};
|
||||||
|
|
||||||
|
"services/kitty.desktop"."_launch" = "Meta+Return";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in new issue
Block a user