tidying
This commit is contained in:
parent
35fad67a18
commit
0728b2f34c
9 changed files with 15 additions and 278 deletions
99
home/desktop/niri/noctalia.nix
Executable file
99
home/desktop/niri/noctalia.nix
Executable file
|
|
@ -0,0 +1,99 @@
|
|||
{
|
||||
inputs, outputs, config, pkgs, lib,
|
||||
user, userDescription,
|
||||
homeDirectory,
|
||||
wallpapersPath, wallpaper,
|
||||
avatarsPath, avatar,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
#home-manager.users.${user} = {
|
||||
# import the home manager module
|
||||
imports = [ inputs.noctalia.homeModules.default ];
|
||||
|
||||
# configure options
|
||||
# https://docs.noctalia.dev/getting-started/nixos/
|
||||
programs.noctalia-shell = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# configure noctalia here
|
||||
|
||||
general = {
|
||||
avatarImage = "${avatar}";
|
||||
radiusRatio = 0.2;
|
||||
showSessionButtonOnLockScreen = false;
|
||||
showHibernateOnLockScreen = true;
|
||||
};
|
||||
|
||||
location = {
|
||||
monthBeforeDay = true;
|
||||
name = "Brisbane, Australia";
|
||||
};
|
||||
|
||||
colorSchemes = { predefinedScheme = "Monochrome"; };
|
||||
|
||||
wallpaper = {
|
||||
directory = "${wallpapersPath}";
|
||||
hideWallpaperFilenames = true;
|
||||
|
||||
};
|
||||
|
||||
appLauncher = {
|
||||
terminalCommand = "kitty -e";
|
||||
showCategories = false;
|
||||
};
|
||||
|
||||
bar = {
|
||||
density = "comfortable";
|
||||
position = "top";
|
||||
showCapsule = false;
|
||||
monitors = [ "DP-4" ];
|
||||
floating = true;
|
||||
marginVertical = 0.25;
|
||||
marginHorizontal = 0.5;
|
||||
widgets = {
|
||||
|
||||
left = [{
|
||||
icon = "rocket";
|
||||
id = "CustomButton";
|
||||
leftClickExec = "wofi";
|
||||
}];
|
||||
|
||||
center = [{
|
||||
hideUnoccupied = false;
|
||||
id = "Workspace";
|
||||
labelMode = "none";
|
||||
}];
|
||||
|
||||
right = [
|
||||
{ id = "Tray"; }
|
||||
{ id = "WiFi"; }
|
||||
{ id = "Bluetooth"; }
|
||||
{
|
||||
alwaysShowPercentage = false;
|
||||
id = "Battery";
|
||||
warningThreshold = 30;
|
||||
}
|
||||
{
|
||||
formatHorizontal = "HH:mm";
|
||||
formatVertical = "HH mm";
|
||||
id = "Clock";
|
||||
useMonospacedFont = true;
|
||||
usePrimaryColor = true;
|
||||
}
|
||||
{
|
||||
id = "ControlCenter";
|
||||
useDistroLogo = true;
|
||||
}
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
#ControlCenter = { };
|
||||
};
|
||||
# this may also be a string or a path to a JSON file,
|
||||
# but in this case must include *all* settings.
|
||||
};
|
||||
#};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue