chore: use plasma-manager, move firefox to home-manager, add kde-rounded-corners

This commit is contained in:
Ruben 2024-04-21 17:39:09 -05:00
commit ad241378d1
No known key found for this signature in database
GPG key ID: AE181294E97E4802
5 changed files with 79 additions and 490 deletions

57
users/ruben/desktop.nix Normal file
View file

@ -0,0 +1,57 @@
# ╭───────────────────────────────────────────╮
# │ _ _ │
# │ __ __ _| |_ _ __ _ __ _ _ __ __(_)_ _ │
# │ / _/ _` | _| '_ \ '_ \ || / _/ _| | ' \ │
# │ \__\__,_|\__| .__/ .__/\_,_\__\__|_|_||_| │
# │ |_| |_| │
# │ catppuccin │
# ╰───────────────────────────────────────────╯
{
inputs,
lib,
osConfig,
config,
pkgs,
...
}: {
programs.plasma = {
workspace = {
clickItemTo = "select";
lookAndFeel = "Catppuccin-Mocha-Green";
cursorTheme = "Bibata-Modern-Ice";
iconTheme = "Papirus-Dark";
};
hotkeys.commands."launch-kitty" = {
name = "Launch Kitty";
key = "Meta+Enter";
command = "kitty";
};
shortcuts = {
plasmashell = {
"Show Activity Switcher" = "Meta+`";
};
kwin = {
"Close Window" = [ "Alt+F4" "Meta+Q" ];
"Switch to Desktop 1" = "Meta+1";
"Switch to Desktop 2" = "Meta+2";
"Switch to Desktop 3" = "Meta+3";
"Switch to Desktop 4" = "Meta+4";
"Switch to Desktop 5" = "Meta+5";
"Window to Desktop 1" = "Meta+Ctrl+1";
"Window to Desktop 2" = "Meta+Ctrl+2";
"Window to Desktop 3" = "Meta+Ctrl+3";
"Window to Desktop 4" = "Meta+Ctrl+4";
"Window to Desktop 5" = "Meta+Ctrl+5";
};
};
configFile = {
"kwinrc"."Desktops"."Number" = {
value = 5;
};
};
};
}

View file

@ -24,9 +24,15 @@
# catppuccin home-manager flake
flake-inputs.catppuccin.homeManagerModules.catppuccin
# plasma-manager
flake-inputs.plasma-manager.homeManagerModules.plasma-manager
# user packages
./packages.nix
# plasma config
./desktop.nix
# theme config
./themes.nix
];

View file

@ -40,6 +40,7 @@
mpdris2
ncmpcpp
firefox
thunderbird
birdtray
kdePackages.kdenlive
@ -112,7 +113,7 @@
userEmail = "sneexy@disroot.org";
signing.signByDefault = true;
signing.key = "A6C94D84D2DA13EE";
signing.key = "AE181294E97E4802";
extraConfig = {
commit.verbose = true;