1
0
Fork 0

2 last months

This commit is contained in:
Avery 2024-06-28 18:15:13 +02:00
parent f845745874
commit 15b909473e
Signed by: Avery
GPG key ID: B684FD451B692E04
63 changed files with 963 additions and 1103 deletions

View file

@ -0,0 +1,16 @@
{ ... }: {
imports = [ ./input.nix ./hotkeys.nix ./krohnkite.nix ./theme.nix ];
programs.plasma = {
enable = true;
overrideConfig = true;
workspace.clickItemTo = "open";
kwin = {
virtualDesktops = {
rows = 1;
number = 10;
};
effects.desktopSwitching.animation = "slide";
};
configFile = { "kded5rc" = { Module-gtkconfig.autoload = false; }; };
};
}

View file

@ -0,0 +1,27 @@
{ ... }: {
programs.plasma.shortcuts = {
kwin = {
"Switch to Desktop 1" = "Meta+1";
"Window to Desktop 1" = "Meta+!";
"Switch to Desktop 2" = "Meta+2";
"Window to Desktop 2" = ''Meta+"'';
"Switch to Desktop 3" = "Meta+3";
"Window to Desktop 3" = "Meta+·";
"Switch to Desktop 4" = "Meta+4";
"Window to Desktop 4" = "Meta+$";
"Switch to Desktop 5" = "Meta+5";
"Window to Desktop 5" = "Meta+%";
"Switch to Desktop 6" = "Meta+6";
"Window to Desktop 6" = "Meta+&";
"Switch to Desktop 7" = "Meta+7";
"Window to Desktop 7" = "Meta+/";
"Switch to Desktop 8" = "Meta+8";
"Window to Desktop 8" = "Meta+(";
"Switch to Desktop 9" = "Meta+9";
"Window to Desktop 9" = "Meta+)";
"Switch to Desktop 10" = "Meta+0";
"Window to Desktop 10" = "Meta+=";
};
"services/kitty.desktop"."_launch" = "Ctrl+Alt+T";
};
}

View file

@ -0,0 +1,15 @@
{ ... }: {
programs.plasma.configFile = {
kcminputrc."Libinput/9610/54/Glorious Model O" = {
PointerAcceleration = -0.4;
PointerAccelerationProfile = 1;
};
kxkbrc.Layout = {
LayoutList = "es";
Use = true;
VariantList = "dvorak";
Options = "caps:menu";
ResetOldOptions = true;
};
};
}

View file

@ -0,0 +1,23 @@
# TODO: find a way to automatically install krohnkite
{ ... }: {
programs.plasma.configFile.kwinrc = {
Plugins.krohnkiteEnabled = true;
Script-krohnkite = {
enableMonocleLayout = false;
enableSpreadLayout = false;
enableStairLayout = false;
enableThreeColumnLayout = false;
enableTileLayout = false;
ignoreClass = "krunner,yakuake,spectacle,kded5,plasmashell";
layoutPerActivity = false;
layoutPerDesktop = false;
limitTileWidthRatio = 0.6;
noTileBorder = true;
screenGapBottom = 20;
screenGapLeft = 8;
screenGapRight = 8;
screenGapTop = 8;
tileLayoutGap = 2;
};
};
}

View file

@ -0,0 +1,59 @@
{ pkgs, ... }:
let cursorThemeName = "catppuccin-mocha-mauve-cursors";
in {
home = {
packages = with pkgs; [
(catppuccin-kde.override {
flavour = [ "mocha" ];
accents = [ "mauve" ];
})
catppuccin-cursors.mochaMauve
];
pointerCursor = {
gtk.enable = true;
package = pkgs.catppuccin-cursors.mochaMauve;
name = cursorThemeName;
size = 32;
};
};
programs.plasma = {
fonts = {
general = {
family = "Inter Display";
pointSize = 11;
weight = "medium";
};
fixedWidth = {
family = "Iosevka Nerd Font";
pointSize = 12;
};
small = {
family = "Inter Display";
pointSize = 8;
};
toolbar = {
family = "Inter Display";
pointSize = 11;
weight = "medium";
};
menu = {
family = "Inter Display";
pointSize = 11;
weight = "medium";
};
windowTitle = {
family = "Inter Display";
pointSize = 11;
weight = "medium";
};
};
workspace = {
colorScheme = "CatppuccinMochaMauve";
lookAndFeel = "Catppuccin-Mocha-Mauve";
cursor = {
theme = cursorThemeName;
size = 32;
};
};
};
}