Rewriting the config in pure nix (noctalia)
This commit is contained in:
parent
92c389b26a
commit
7f060d8696
@ -9,6 +9,8 @@
|
||||
systemPackages = with pkgs; [
|
||||
wofi
|
||||
firefox
|
||||
syncthing
|
||||
self.packages.${pkgs.stdenv.hostPlatform.system}.myNoctalia
|
||||
];
|
||||
};
|
||||
};
|
||||
@ -23,6 +25,10 @@
|
||||
spawn-at-startup = [
|
||||
noctaliaPath
|
||||
];
|
||||
spawn-sh-at-startup = [
|
||||
"syncthing --no-browser"
|
||||
];
|
||||
|
||||
screenshot-path = "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png";
|
||||
prefer-no-csd = {};
|
||||
input = {
|
||||
@ -45,7 +51,7 @@
|
||||
"Mod+Return".spawn-sh = lib.getExe pkgs.kitty;
|
||||
"Mod+Space".spawn = [ "wofi" "--show" "drun"];
|
||||
"Mod+Shift+R".spawn = [ "zen" ];
|
||||
"Mod".spawn-sh = "${noctaliaPath} ipc call controlCenter toggle";
|
||||
"Mod+I".spawn-sh = "${noctaliaPath} ipc call controlCenter toggle";
|
||||
"Mod+L".spawn-sh = "${noctaliaPath} ipc call sessionMenu lock";
|
||||
|
||||
# Default binds
|
||||
|
||||
@ -3,9 +3,43 @@
|
||||
perSystem = { pkgs, lib, ... }: {
|
||||
packages.myNoctalia = inputs.wrapper-modules.wrappers.noctalia-shell.wrap {
|
||||
inherit pkgs;
|
||||
settings =
|
||||
(builtins.fromJSON
|
||||
(builtins.readFile ./noctalia.json)).settings;
|
||||
settings = {
|
||||
bar = {
|
||||
barType = "floating";
|
||||
position = "left";
|
||||
monitors = [];
|
||||
density = "compact";
|
||||
showOutline = false;
|
||||
showCapsule = true;
|
||||
capsuleOpacity = 1;
|
||||
capsuleColorKey = "none";
|
||||
widgetSpacing = 6;
|
||||
contentPadding = 2;
|
||||
fontScale = 1;
|
||||
enableExclusionZoneInset = true;
|
||||
backgroundOpacity = 0.93;
|
||||
useSeparateOpacity = false;
|
||||
marginVertical = 4;
|
||||
marginHorizontal = 4;
|
||||
frameThickness = 8;
|
||||
frameRadius = 12;
|
||||
outerCorners = true;
|
||||
hideOnOverview = false;
|
||||
displayMode = "always_visible";
|
||||
autoHideDelay = 500;
|
||||
autoShowDelay = 150;
|
||||
showOnWorkspaceSwitch = true;
|
||||
widgets = {
|
||||
left = [
|
||||
{
|
||||
colorizedDistroLogo = false;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
#(builtins.fromJSON
|
||||
# (builtins.readFile ./noctalia.json)).settings;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user