cleanup/style changes + tweaks + ideas

This commit is contained in:
atagen 2024-05-23 16:06:23 +10:00
parent c6231ec13a
commit 0c25328d6f
8 changed files with 71 additions and 87 deletions

View file

@ -1,4 +1,8 @@
{lib, ...}: let
{
pkgs,
lib,
...
}: let
inherit (lib) range mapAttrsToList;
inherit (builtins) toString;
workspaceRange = range 1 6;
@ -55,6 +59,11 @@ in {
];
services.desktopManager.cosmic = {
enable = true;
otherSettings = {
"com.system76.CosmicPanel.Dock" = {
option.opacity = 0.8;
};
};
keybindings =
winManagementBindings
++ [
@ -72,10 +81,10 @@ in {
type = "Resizing";
data = "Inwards";
})
(genBinding "period" ["Super"] "NextOutput")
(genBinding "period" ["Super" "Shift"] "MoveToNextOutput")
(genBinding "comma" ["Super"] "PreviousOutput")
(genBinding "comma" ["Super" "Shift"] "MoveToPreviousOutput")
(genBinding "tab" ["Super"] "NextOutput")
(genBinding "tab" ["Super" "Shift"] "MoveToNextOutput")
(genBinding "grave" ["Super"] "PreviousOutput")
(genBinding "grave" ["Super" "Shift"] "MoveToPreviousOutput")
(genSpawnBinding "f" ["Super"] "firefox")
(genSpawnBinding "e" ["Super"] "nautilus")
(genSpawnBinding "equal" ["Super"] "keepassxc")
@ -101,6 +110,12 @@ in {
(genSpawnBinding "e" ["Super" "Shift"] "wlogout")
];
};
environment.cosmic.excludePackages = with pkgs; [
cosmic-store
cosmic-files
cosmic-edit
cosmic-term
];
services.displayManager.cosmic-greeter.enable = true;
services.system76-scheduler.enable = true;
}