pełna konfiguracja noctalia i czystka waybar, swaync, wlogout i skryptów
This commit is contained in:
33
modules/home/noctalia/settings/bar/default.nix
Normal file
33
modules/home/noctalia/settings/bar/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
username,
|
||||
...
|
||||
}: {
|
||||
programs.noctalia-shell.settings.bar = lib.mkForce {
|
||||
barType = "simple";
|
||||
position = "top";
|
||||
monitors = [];
|
||||
density = "default";
|
||||
showOutline = false;
|
||||
showCapsule = true;
|
||||
capsuleOpacity = 0;
|
||||
backgroundOpacity = 0;
|
||||
useSeparateOpacity = true;
|
||||
floating = false;
|
||||
marginVertical = 4;
|
||||
marginHorizontal = 4;
|
||||
frameThickness = 8;
|
||||
frameRadius = 12;
|
||||
outerCorners = true;
|
||||
hideOnOverview = false;
|
||||
displayMode = "always_visible";
|
||||
autoHideDelay = 500;
|
||||
autoShowDelay = 150;
|
||||
screenOverrides = [];
|
||||
widgets = {
|
||||
left = (import ./widgets/left.nix {}).left;
|
||||
center = (import ./widgets/center.nix {}).center;
|
||||
right = (import ./widgets/right.nix {inherit username;}).right;
|
||||
};
|
||||
};
|
||||
}
|
||||
23
modules/home/noctalia/settings/bar/widgets/center.nix
Normal file
23
modules/home/noctalia/settings/bar/widgets/center.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
_: {
|
||||
center = [
|
||||
{
|
||||
id = "Workspace";
|
||||
characterCount = 2;
|
||||
colorizeIcons = false;
|
||||
emptyColor = "secondary";
|
||||
enableScrollWheel = true;
|
||||
focusedColor = "primary";
|
||||
followFocusedScreen = false;
|
||||
groupedBorderOpacity = 0;
|
||||
hideUnoccupied = false;
|
||||
iconScale = 1;
|
||||
labelMode = "index";
|
||||
occupiedColor = "secondary";
|
||||
reverseScroll = false;
|
||||
showApplications = true;
|
||||
showBadge = true;
|
||||
showLabelsOnlyWhenOccupied = true;
|
||||
unfocusedIconsOpacity = 1;
|
||||
}
|
||||
];
|
||||
}
|
||||
57
modules/home/noctalia/settings/bar/widgets/left.nix
Normal file
57
modules/home/noctalia/settings/bar/widgets/left.nix
Normal file
@@ -0,0 +1,57 @@
|
||||
_: {
|
||||
left = [
|
||||
{
|
||||
id = "Launcher";
|
||||
icon = "rocket";
|
||||
usePrimaryColor = true;
|
||||
}
|
||||
{
|
||||
id = "Clock";
|
||||
customFont = "";
|
||||
formatHorizontal = "HH:mm:ss";
|
||||
formatVertical = "HH mm ss - ddd MMM d";
|
||||
tooltipFormat = "ddd MMM d HH:mm:ss";
|
||||
useCustomFont = false;
|
||||
usePrimaryColor = false;
|
||||
}
|
||||
{
|
||||
id = "SystemMonitor";
|
||||
compactMode = true;
|
||||
diskPath = "/home";
|
||||
showCpuFreq = false;
|
||||
showCpuTemp = false;
|
||||
showCpuUsage = true;
|
||||
showDiskAsFree = true;
|
||||
showDiskUsage = true;
|
||||
showGpuTemp = false;
|
||||
showLoadAverage = false;
|
||||
showMemoryAsPercent = false;
|
||||
showMemoryUsage = true;
|
||||
showNetworkStats = true;
|
||||
showSwapUsage = false;
|
||||
useMonospaceFont = true;
|
||||
usePrimaryColor = false;
|
||||
}
|
||||
{
|
||||
id = "plugin:mini-docker";
|
||||
}
|
||||
{
|
||||
id = "MediaMini";
|
||||
compactMode = true;
|
||||
compactShowAlbumArt = true;
|
||||
compactShowVisualizer = true;
|
||||
hideMode = "hidden";
|
||||
hideWhenIdle = false;
|
||||
maxWidth = 145;
|
||||
panelShowAlbumArt = true;
|
||||
panelShowVisualizer = true;
|
||||
scrollingMode = "hover";
|
||||
showAlbumArt = true;
|
||||
showArtistFirst = true;
|
||||
showProgressRing = true;
|
||||
showVisualizer = true;
|
||||
useFixedWidth = false;
|
||||
visualizerType = "linear";
|
||||
}
|
||||
];
|
||||
}
|
||||
61
modules/home/noctalia/settings/bar/widgets/right.nix
Normal file
61
modules/home/noctalia/settings/bar/widgets/right.nix
Normal file
@@ -0,0 +1,61 @@
|
||||
{username, ...}: {
|
||||
right = [
|
||||
{
|
||||
id = "Tray";
|
||||
blacklist = [];
|
||||
colorizeIcons = false;
|
||||
drawerEnabled = false;
|
||||
hidePassive = false;
|
||||
pinned = [];
|
||||
}
|
||||
{
|
||||
id = "plugin:keybind-cheatsheet";
|
||||
}
|
||||
{
|
||||
id = "plugin:timer";
|
||||
defaultSettings = {
|
||||
compactMode = true;
|
||||
defaultDuration = 0;
|
||||
};
|
||||
}
|
||||
{
|
||||
id = "NotificationHistory";
|
||||
hideWhenZero = false;
|
||||
hideWhenZeroUnread = false;
|
||||
showUnreadBadge = true;
|
||||
unreadBadgeColor = "primary";
|
||||
}
|
||||
{
|
||||
id = "Bluetooth";
|
||||
displayMode = "onhover";
|
||||
}
|
||||
{
|
||||
id = "Battery";
|
||||
deviceNativePath = "__default__";
|
||||
displayMode = "onhover";
|
||||
hideIfIdle = false;
|
||||
hideIfNotDetected = true;
|
||||
showNoctaliaPerformance = false;
|
||||
showPowerProfiles = false;
|
||||
warningThreshold = 30;
|
||||
}
|
||||
{
|
||||
id = "Volume";
|
||||
displayMode = "alwaysShow";
|
||||
middleClickCommand = "pwvucontrol || pavucontrol";
|
||||
}
|
||||
# {
|
||||
# "id" = "Brightness";
|
||||
# "displayMode" = "onhover";
|
||||
# }
|
||||
{
|
||||
id = "ControlCenter";
|
||||
colorizeDistroLogo = false;
|
||||
colorizeSystemIcon = "none";
|
||||
customIconPath = "/home/${username}/garandos/GarandOS.svg";
|
||||
enableColorization = false;
|
||||
icon = "noctalia";
|
||||
useDistroLogo = false;
|
||||
}
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user