feat: Improve noctalia settings and update flake inputs
This commit is contained in:
parent
5e2e6ef3ae
commit
21082cc73f
6 changed files with 709 additions and 342 deletions
|
|
@ -1,224 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.david.programs.noctalia;
|
||||
inherit (inputs.niri-flake.lib.kdl) node leaf flag plain;
|
||||
spawn = leaf "spawn";
|
||||
noctalia = args: (spawn (["noctalia-shell" "ipc" "call"] ++ args));
|
||||
|
||||
layer-rule = plain "layer-rule";
|
||||
match = leaf "match";
|
||||
in {
|
||||
options = {
|
||||
david.programs.noctalia = {
|
||||
enable = lib.mkEnableOption "noctalia";
|
||||
niriExtraConfig = lib.mkOption {
|
||||
type = inputs.niri-flake.lib.kdl.types.kdl-document;
|
||||
default = [
|
||||
(plain "binds" [
|
||||
(plain "Mod+V" [(noctalia ["launcher" "clipboard"])])
|
||||
(plain "Mod+Shift+P" [(noctalia ["lockScreen" "lock"])])
|
||||
(plain "Mod+Space" [(noctalia ["launcher" "toggle"])])
|
||||
(node "XF86AudioRaiseVolume" [{allow-when-locked = true;}]
|
||||
[(noctalia ["volume" "increase"])])
|
||||
(node "XF86AudioLowerVolume" [{allow-when-locked = true;}]
|
||||
[(noctalia ["volume" "decrease"])])
|
||||
(node "XF86AudioMute" [{allow-when-locked = true;}]
|
||||
[(noctalia ["volume" "muteOutput"])])
|
||||
(node "XF86AudioMicMute" [{allow-when-locked = true;}]
|
||||
[(noctalia ["volume" "muteInput"])])
|
||||
])
|
||||
(layer-rule [
|
||||
(match [{namespace = "^noctalia-wallpaper-.*$";}])
|
||||
(leaf "place-within-backdrop" [true])
|
||||
])
|
||||
(layer-rule [
|
||||
(match [{namespace = "^noctalia-notifications-.*$";}])
|
||||
(leaf "block-out-from" ["screen-capture"])
|
||||
])
|
||||
(plain "layout" [
|
||||
(plain "focus-ring" [
|
||||
(leaf "active-gradient" [
|
||||
{
|
||||
from = "#8288fcff";
|
||||
to = "#8288fc00";
|
||||
angle = 45;
|
||||
"in" = "oklch";
|
||||
}
|
||||
])
|
||||
])
|
||||
])
|
||||
];
|
||||
apply = configuration: config.david.programs.niri.configHelper.validated-config-for (inputs.niri-flake.lib.kdl.serialize.nodes configuration);
|
||||
};
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
stylix.targets.noctalia-shell.enable = false;
|
||||
home.packages = [pkgs.app2unit];
|
||||
programs.noctalia-shell = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
settings = {
|
||||
settingsVersion = 23;
|
||||
appLauncher = {
|
||||
enableClipboardHistory = true;
|
||||
position = "center";
|
||||
sortByMostUsed = true;
|
||||
terminalCommand = "ghostty -e";
|
||||
useApp2Unit = true;
|
||||
};
|
||||
audio = {
|
||||
volumeStep = 1;
|
||||
volumeOverdrive = true;
|
||||
cavaFrameRate = 165;
|
||||
visualizerQuality = "high";
|
||||
visualizerType = "mirrored";
|
||||
};
|
||||
bar = {
|
||||
density = "comfortable";
|
||||
exclusive = true;
|
||||
floating = false;
|
||||
outerCorners = true;
|
||||
position = "right";
|
||||
showCapsule = true;
|
||||
widgets = {
|
||||
center = [
|
||||
{id = "Taskbar";}
|
||||
{
|
||||
id = "Workspace";
|
||||
hideUnoccupied = true;
|
||||
}
|
||||
];
|
||||
left = [
|
||||
{id = "SystemMonitor";}
|
||||
{
|
||||
id = "MediaMini";
|
||||
hideWhenIdle = false;
|
||||
hideMode = "hidden";
|
||||
showAlbumArt = true;
|
||||
}
|
||||
{
|
||||
id = "AudioVisualizer";
|
||||
hideWhenIdle = true;
|
||||
}
|
||||
];
|
||||
right = [
|
||||
{id = "WallpaperSelector";}
|
||||
{id = "ScreenRecorder";}
|
||||
{id = "Brightness";}
|
||||
{id = "DarkMode";}
|
||||
{id = "NotificationHistory";}
|
||||
{id = "Volume";}
|
||||
{
|
||||
id = "Tray";
|
||||
drawerEnabled = true;
|
||||
pinned = [
|
||||
"Fcitx"
|
||||
];
|
||||
}
|
||||
{id = "Clock";}
|
||||
];
|
||||
};
|
||||
};
|
||||
brightness = {
|
||||
brightnessStep = 1;
|
||||
enableDdcSupport = true;
|
||||
enforceMinimum = true;
|
||||
};
|
||||
colorSchemes = {
|
||||
generateTemplatesForPredefined = false;
|
||||
predefinedScheme = "Catppuccin";
|
||||
schedulingMode = "location";
|
||||
useWallpaperColors = false;
|
||||
darkMode = false;
|
||||
};
|
||||
controlCenter = {
|
||||
cards = [
|
||||
{
|
||||
enabled = true;
|
||||
id = "profile-card";
|
||||
}
|
||||
{
|
||||
enabled = true;
|
||||
id = "shortcuts-card";
|
||||
}
|
||||
{
|
||||
enabled = true;
|
||||
id = "audio-card";
|
||||
}
|
||||
{
|
||||
enabled = true;
|
||||
id = "weather-card";
|
||||
}
|
||||
{
|
||||
enabled = true;
|
||||
id = "media-sysmon-card";
|
||||
}
|
||||
];
|
||||
position = "close_to_bar_button";
|
||||
shortcuts = {
|
||||
left = [{id = "Bluetooth";} {id = "WallpaperSelector";}];
|
||||
right = [{id = "KeepAwake";} {id = "NightLight";}];
|
||||
};
|
||||
};
|
||||
dock = {
|
||||
enabled = false;
|
||||
};
|
||||
general = {
|
||||
animationSpeed = 2;
|
||||
avatarImage = "${config.home.homeDirectory}/.face";
|
||||
compactLockScreen = false;
|
||||
dimmerOpacity = 0;
|
||||
enableShadows = true;
|
||||
forceBlackScreenCorners = false;
|
||||
language = "zh-CN";
|
||||
lockOnSuspend = true;
|
||||
showScreenCorners = false;
|
||||
};
|
||||
location = {
|
||||
firstDayOfWeek = 1;
|
||||
showCalendarEvents = true;
|
||||
showCalendarWeather = true;
|
||||
weatherEnabled = true;
|
||||
};
|
||||
network = {
|
||||
wifiEnabled = false;
|
||||
};
|
||||
notifications = {
|
||||
enabled = true;
|
||||
location = "bottom_right";
|
||||
overlayLayer = true;
|
||||
respectExpireTimeout = true;
|
||||
};
|
||||
osd = {
|
||||
enabled = true;
|
||||
location = "bottom";
|
||||
overlayLayer = true;
|
||||
};
|
||||
setupCompleted = true;
|
||||
ui = {
|
||||
fontDefault = "Source Han Serif SC";
|
||||
fontFixed = "Maple Mono NF CN";
|
||||
panelsAttachedToBar = true;
|
||||
settingsPanelAttachToBar = false;
|
||||
tooltipsEnabled = true;
|
||||
};
|
||||
wallpaper = {
|
||||
directory = "${config.home.homeDirectory}/wallpaper";
|
||||
enabled = true;
|
||||
panelPosition = "center";
|
||||
randomEnabled = true;
|
||||
randomIntervalSec = 900;
|
||||
recursiveSearch = true;
|
||||
transitionDuration = 1500;
|
||||
transitionType = "random";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
76
home/david/modules/programs/noctalia/default.nix
Normal file
76
home/david/modules/programs/noctalia/default.nix
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.david.programs.noctalia;
|
||||
inherit (inputs.niri-flake.lib.kdl) node leaf flag plain;
|
||||
spawn = leaf "spawn";
|
||||
noctalia = args: (spawn (["noctalia-shell" "ipc" "call"] ++ args));
|
||||
|
||||
layer-rule = plain "layer-rule";
|
||||
match = leaf "match";
|
||||
in {
|
||||
options = {
|
||||
david.programs.noctalia = {
|
||||
enable = lib.mkEnableOption "noctalia";
|
||||
niriExtraConfig = lib.mkOption {
|
||||
type = inputs.niri-flake.lib.kdl.types.kdl-document;
|
||||
default = [
|
||||
(plain "binds" [
|
||||
(plain "Mod+V" [(noctalia ["launcher" "clipboard"])])
|
||||
(plain "Mod+Shift+P" [(noctalia ["lockScreen" "lock"])])
|
||||
(plain "Mod+Space" [(noctalia ["launcher" "toggle"])])
|
||||
(node "XF86AudioRaiseVolume" [{allow-when-locked = true;}]
|
||||
[(noctalia ["volume" "increase"])])
|
||||
(node "XF86AudioLowerVolume" [{allow-when-locked = true;}]
|
||||
[(noctalia ["volume" "decrease"])])
|
||||
(node "XF86AudioMute" [{allow-when-locked = true;}]
|
||||
[(noctalia ["volume" "muteOutput"])])
|
||||
(node "XF86AudioMicMute" [{allow-when-locked = true;}]
|
||||
[(noctalia ["volume" "muteInput"])])
|
||||
])
|
||||
(layer-rule [
|
||||
(match [{namespace = "^noctalia-wallpaper-.*$";}])
|
||||
(leaf "place-within-backdrop" [true])
|
||||
])
|
||||
(layer-rule [
|
||||
(match [{namespace = "^noctalia-notifications-.*$";}])
|
||||
(leaf "block-out-from" ["screen-capture"])
|
||||
])
|
||||
(plain "layout" [
|
||||
(plain "focus-ring" [
|
||||
(leaf "active-gradient" [
|
||||
{
|
||||
from = "#8288fcff";
|
||||
to = "#8288fc00";
|
||||
angle = 45;
|
||||
"in" = "oklch";
|
||||
}
|
||||
])
|
||||
])
|
||||
])
|
||||
];
|
||||
apply = configuration: config.david.programs.niri.configHelper.validated-config-for (inputs.niri-flake.lib.kdl.serialize.nodes configuration);
|
||||
};
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
stylix.targets.noctalia-shell.enable = false;
|
||||
home.packages = [pkgs.app2unit];
|
||||
programs.noctalia-shell = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
plugins = toString ./plugins.json;
|
||||
settings =
|
||||
lib.recursiveUpdate
|
||||
(builtins.fromJSON (builtins.readFile ./settings.json))
|
||||
{
|
||||
general.avatarImage = "${config.home.homeDirectory}/.face";
|
||||
wallpaper.directory = "${config.home.homeDirectory}/${config.david.wallpaper.path}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
16
home/david/modules/programs/noctalia/plugins.json
Normal file
16
home/david/modules/programs/noctalia/plugins.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"sources": [
|
||||
{
|
||||
"enabled": true,
|
||||
"name": "Official Noctalia Plugins",
|
||||
"url": "https://github.com/noctalia-dev/noctalia-plugins"
|
||||
}
|
||||
],
|
||||
"states": {
|
||||
"timer": {
|
||||
"enabled": true,
|
||||
"sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins"
|
||||
}
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
495
home/david/modules/programs/noctalia/settings.json
Normal file
495
home/david/modules/programs/noctalia/settings.json
Normal file
|
|
@ -0,0 +1,495 @@
|
|||
{
|
||||
"settingsVersion": 41,
|
||||
"bar": {
|
||||
"position": "right",
|
||||
"monitors": [],
|
||||
"density": "comfortable",
|
||||
"showOutline": false,
|
||||
"showCapsule": true,
|
||||
"capsuleOpacity": 1,
|
||||
"backgroundOpacity": 0.93,
|
||||
"useSeparateOpacity": false,
|
||||
"floating": false,
|
||||
"marginVertical": 4,
|
||||
"marginHorizontal": 4,
|
||||
"outerCorners": true,
|
||||
"exclusive": true,
|
||||
"hideOnOverview": false,
|
||||
"widgets": {
|
||||
"left": [
|
||||
{
|
||||
"compactMode": true,
|
||||
"diskPath": "/",
|
||||
"id": "SystemMonitor",
|
||||
"showCpuTemp": true,
|
||||
"showCpuUsage": true,
|
||||
"showDiskUsage": true,
|
||||
"showGpuTemp": false,
|
||||
"showLoadAverage": true,
|
||||
"showMemoryAsPercent": true,
|
||||
"showMemoryUsage": true,
|
||||
"showNetworkStats": true,
|
||||
"useMonospaceFont": true,
|
||||
"usePrimaryColor": false
|
||||
},
|
||||
{
|
||||
"compactMode": false,
|
||||
"compactShowAlbumArt": true,
|
||||
"compactShowVisualizer": false,
|
||||
"hideMode": "hidden",
|
||||
"hideWhenIdle": false,
|
||||
"id": "MediaMini",
|
||||
"maxWidth": 145,
|
||||
"panelShowAlbumArt": true,
|
||||
"panelShowVisualizer": true,
|
||||
"scrollingMode": "hover",
|
||||
"showAlbumArt": true,
|
||||
"showArtistFirst": false,
|
||||
"showProgressRing": true,
|
||||
"showVisualizer": false,
|
||||
"useFixedWidth": false,
|
||||
"visualizerType": "wave"
|
||||
}
|
||||
],
|
||||
"center": [
|
||||
{
|
||||
"colorizeIcons": false,
|
||||
"hideMode": "hidden",
|
||||
"iconScale": 0.8,
|
||||
"id": "Taskbar",
|
||||
"maxTaskbarWidth": 40,
|
||||
"onlyActiveWorkspaces": true,
|
||||
"onlySameOutput": true,
|
||||
"showPinnedApps": true,
|
||||
"showTitle": false,
|
||||
"smartWidth": true,
|
||||
"titleWidth": 120
|
||||
},
|
||||
{
|
||||
"characterCount": 2,
|
||||
"colorizeIcons": false,
|
||||
"enableScrollWheel": true,
|
||||
"followFocusedScreen": false,
|
||||
"groupedBorderOpacity": 1,
|
||||
"hideUnoccupied": true,
|
||||
"iconScale": 0.8,
|
||||
"id": "Workspace",
|
||||
"labelMode": "index",
|
||||
"showApplications": false,
|
||||
"showLabelsOnlyWhenOccupied": true,
|
||||
"unfocusedIconsOpacity": 1
|
||||
}
|
||||
],
|
||||
"right": [
|
||||
{
|
||||
"id": "plugin:timer"
|
||||
},
|
||||
{
|
||||
"displayMode": "onhover",
|
||||
"id": "Brightness"
|
||||
},
|
||||
{
|
||||
"hideWhenZero": false,
|
||||
"hideWhenZeroUnread": false,
|
||||
"id": "NotificationHistory",
|
||||
"showUnreadBadge": true
|
||||
},
|
||||
{
|
||||
"displayMode": "onhover",
|
||||
"id": "Volume",
|
||||
"middleClickCommand": "pwvucontrol || pavucontrol"
|
||||
},
|
||||
{
|
||||
"blacklist": [],
|
||||
"colorizeIcons": false,
|
||||
"drawerEnabled": true,
|
||||
"hidePassive": false,
|
||||
"id": "Tray",
|
||||
"pinned": [
|
||||
"Fcitx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"customFont": "",
|
||||
"formatHorizontal": "HH:mm ddd, MMM dd",
|
||||
"formatVertical": "HH mm - dd MM",
|
||||
"id": "Clock",
|
||||
"tooltipFormat": "HH:mm ddd, MMM dd",
|
||||
"useCustomFont": false,
|
||||
"usePrimaryColor": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"general": {
|
||||
"dimmerOpacity": 0,
|
||||
"showScreenCorners": false,
|
||||
"forceBlackScreenCorners": false,
|
||||
"scaleRatio": 1,
|
||||
"radiusRatio": 1,
|
||||
"iRadiusRatio": 1,
|
||||
"boxRadiusRatio": 1,
|
||||
"screenRadiusRatio": 1,
|
||||
"animationSpeed": 2,
|
||||
"animationDisabled": false,
|
||||
"compactLockScreen": true,
|
||||
"lockOnSuspend": true,
|
||||
"showSessionButtonsOnLockScreen": true,
|
||||
"showHibernateOnLockScreen": true,
|
||||
"enableShadows": true,
|
||||
"shadowDirection": "bottom_right",
|
||||
"shadowOffsetX": 2,
|
||||
"shadowOffsetY": 3,
|
||||
"language": "zh-CN",
|
||||
"allowPanelsOnScreenWithoutBar": true,
|
||||
"showChangelogOnStartup": true,
|
||||
"telemetryEnabled": true
|
||||
},
|
||||
"ui": {
|
||||
"fontDefault": "Source Han Serif SC",
|
||||
"fontFixed": "Maple Mono NF CN",
|
||||
"fontDefaultScale": 1,
|
||||
"fontFixedScale": 1,
|
||||
"tooltipsEnabled": true,
|
||||
"panelBackgroundOpacity": 0.9500000000000001,
|
||||
"panelsAttachedToBar": true,
|
||||
"settingsPanelMode": "centered",
|
||||
"wifiDetailsViewMode": "grid",
|
||||
"bluetoothDetailsViewMode": "grid",
|
||||
"networkPanelView": "wifi",
|
||||
"bluetoothHideUnnamedDevices": false,
|
||||
"boxBorderEnabled": false
|
||||
},
|
||||
"location": {
|
||||
"weatherEnabled": true,
|
||||
"weatherShowEffects": true,
|
||||
"useFahrenheit": false,
|
||||
"use12hourFormat": false,
|
||||
"showWeekNumberInCalendar": true,
|
||||
"showCalendarEvents": true,
|
||||
"showCalendarWeather": true,
|
||||
"analogClockInCalendar": false,
|
||||
"firstDayOfWeek": 1,
|
||||
"hideWeatherTimezone": false,
|
||||
"hideWeatherCityName": true
|
||||
},
|
||||
"calendar": {
|
||||
"cards": [
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "calendar-header-card"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "calendar-month-card"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "weather-card"
|
||||
}
|
||||
]
|
||||
},
|
||||
"wallpaper": {
|
||||
"enabled": true,
|
||||
"overviewEnabled": false,
|
||||
"monitorDirectories": [],
|
||||
"enableMultiMonitorDirectories": false,
|
||||
"recursiveSearch": true,
|
||||
"setWallpaperOnAllMonitors": true,
|
||||
"fillMode": "crop",
|
||||
"fillColor": "#000000",
|
||||
"useSolidColor": false,
|
||||
"solidColor": "#1a1a2e",
|
||||
"randomEnabled": true,
|
||||
"wallpaperChangeMode": "random",
|
||||
"randomIntervalSec": 900,
|
||||
"transitionDuration": 1500,
|
||||
"transitionType": "random",
|
||||
"transitionEdgeSmoothness": 0.05,
|
||||
"panelPosition": "center",
|
||||
"hideWallpaperFilenames": false,
|
||||
"useWallhaven": false,
|
||||
"wallhavenQuery": "",
|
||||
"wallhavenSorting": "relevance",
|
||||
"wallhavenOrder": "desc",
|
||||
"wallhavenCategories": "111",
|
||||
"wallhavenPurity": "100",
|
||||
"wallhavenRatios": "",
|
||||
"wallhavenApiKey": "",
|
||||
"wallhavenResolutionMode": "atleast",
|
||||
"wallhavenResolutionWidth": "",
|
||||
"wallhavenResolutionHeight": ""
|
||||
},
|
||||
"appLauncher": {
|
||||
"enableClipboardHistory": true,
|
||||
"autoPasteClipboard": false,
|
||||
"enableClipPreview": true,
|
||||
"clipboardWrapText": true,
|
||||
"position": "center",
|
||||
"pinnedApps": [],
|
||||
"useApp2Unit": true,
|
||||
"sortByMostUsed": true,
|
||||
"terminalCommand": "ghostty -e",
|
||||
"customLaunchPrefixEnabled": false,
|
||||
"customLaunchPrefix": "",
|
||||
"viewMode": "list",
|
||||
"showCategories": true,
|
||||
"iconMode": "tabler",
|
||||
"showIconBackground": true,
|
||||
"ignoreMouseInput": false,
|
||||
"screenshotAnnotationTool": ""
|
||||
},
|
||||
"controlCenter": {
|
||||
"position": "close_to_bar_button",
|
||||
"diskPath": "/",
|
||||
"shortcuts": {
|
||||
"left": [
|
||||
{
|
||||
"id": "Bluetooth"
|
||||
},
|
||||
{
|
||||
"id": "WallpaperSelector"
|
||||
}
|
||||
],
|
||||
"right": [
|
||||
{
|
||||
"id": "KeepAwake"
|
||||
},
|
||||
{
|
||||
"id": "NightLight"
|
||||
}
|
||||
]
|
||||
},
|
||||
"cards": [
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "profile-card"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "shortcuts-card"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "brightness-card"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "audio-card"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "media-sysmon-card"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "weather-card"
|
||||
}
|
||||
]
|
||||
},
|
||||
"systemMonitor": {
|
||||
"cpuWarningThreshold": 80,
|
||||
"cpuCriticalThreshold": 90,
|
||||
"tempWarningThreshold": 80,
|
||||
"tempCriticalThreshold": 90,
|
||||
"gpuWarningThreshold": 80,
|
||||
"gpuCriticalThreshold": 90,
|
||||
"memWarningThreshold": 80,
|
||||
"memCriticalThreshold": 90,
|
||||
"diskWarningThreshold": 80,
|
||||
"diskCriticalThreshold": 90,
|
||||
"cpuPollingInterval": 3000,
|
||||
"tempPollingInterval": 3000,
|
||||
"gpuPollingInterval": 3000,
|
||||
"enableDgpuMonitoring": true,
|
||||
"memPollingInterval": 3000,
|
||||
"diskPollingInterval": 3000,
|
||||
"networkPollingInterval": 3000,
|
||||
"loadAvgPollingInterval": 3000,
|
||||
"useCustomColors": false,
|
||||
"warningColor": "",
|
||||
"criticalColor": "",
|
||||
"externalMonitor": "resources || missioncenter || jdsystemmonitor || corestats || system-monitoring-center || gnome-system-monitor || plasma-systemmonitor || mate-system-monitor || ukui-system-monitor || deepin-system-monitor || pantheon-system-monitor"
|
||||
},
|
||||
"dock": {
|
||||
"enabled": false,
|
||||
"position": "bottom",
|
||||
"displayMode": "auto_hide",
|
||||
"backgroundOpacity": 1,
|
||||
"floatingRatio": 1,
|
||||
"size": 1,
|
||||
"onlySameOutput": true,
|
||||
"monitors": [],
|
||||
"pinnedApps": [],
|
||||
"colorizeIcons": false,
|
||||
"pinnedStatic": false,
|
||||
"inactiveIndicators": false,
|
||||
"deadOpacity": 0.6,
|
||||
"animationSpeed": 1
|
||||
},
|
||||
"network": {
|
||||
"wifiEnabled": false,
|
||||
"bluetoothRssiPollingEnabled": true,
|
||||
"bluetoothRssiPollIntervalMs": 10000,
|
||||
"wifiDetailsViewMode": "grid",
|
||||
"bluetoothDetailsViewMode": "grid",
|
||||
"bluetoothHideUnnamedDevices": false
|
||||
},
|
||||
"sessionMenu": {
|
||||
"enableCountdown": true,
|
||||
"countdownDuration": 5000,
|
||||
"position": "center",
|
||||
"showHeader": true,
|
||||
"largeButtonsStyle": true,
|
||||
"largeButtonsLayout": "grid",
|
||||
"showNumberLabels": true,
|
||||
"powerOptions": [
|
||||
{
|
||||
"action": "lock",
|
||||
"command": "",
|
||||
"countdownEnabled": true,
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"action": "suspend",
|
||||
"command": "",
|
||||
"countdownEnabled": true,
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"action": "hibernate",
|
||||
"command": "",
|
||||
"countdownEnabled": true,
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"action": "reboot",
|
||||
"command": "",
|
||||
"countdownEnabled": true,
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"action": "logout",
|
||||
"command": "",
|
||||
"countdownEnabled": true,
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"action": "shutdown",
|
||||
"command": "",
|
||||
"countdownEnabled": true,
|
||||
"enabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"notifications": {
|
||||
"enabled": true,
|
||||
"monitors": [],
|
||||
"location": "bottom_right",
|
||||
"overlayLayer": true,
|
||||
"backgroundOpacity": 1,
|
||||
"respectExpireTimeout": true,
|
||||
"lowUrgencyDuration": 3,
|
||||
"normalUrgencyDuration": 8,
|
||||
"criticalUrgencyDuration": 15,
|
||||
"enableKeyboardLayoutToast": true,
|
||||
"saveToHistory": {
|
||||
"low": true,
|
||||
"normal": true,
|
||||
"critical": true
|
||||
},
|
||||
"sounds": {
|
||||
"enabled": false,
|
||||
"volume": 0.5,
|
||||
"separateSounds": false,
|
||||
"criticalSoundFile": "",
|
||||
"normalSoundFile": "",
|
||||
"lowSoundFile": "",
|
||||
"excludedApps": "discord,firefox,chrome,chromium,edge"
|
||||
},
|
||||
"enableMediaToast": true
|
||||
},
|
||||
"osd": {
|
||||
"enabled": true,
|
||||
"location": "bottom",
|
||||
"autoHideMs": 2000,
|
||||
"overlayLayer": true,
|
||||
"backgroundOpacity": 1,
|
||||
"enabledTypes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3
|
||||
],
|
||||
"monitors": []
|
||||
},
|
||||
"audio": {
|
||||
"volumeStep": 1,
|
||||
"volumeOverdrive": true,
|
||||
"cavaFrameRate": 165,
|
||||
"visualizerType": "mirrored",
|
||||
"mprisBlacklist": [],
|
||||
"preferredPlayer": "spotify, mpv"
|
||||
},
|
||||
"brightness": {
|
||||
"brightnessStep": 1,
|
||||
"enforceMinimum": true,
|
||||
"enableDdcSupport": true
|
||||
},
|
||||
"colorSchemes": {
|
||||
"useWallpaperColors": false,
|
||||
"predefinedScheme": "Catppuccin",
|
||||
"darkMode": true,
|
||||
"schedulingMode": "location",
|
||||
"manualSunrise": "06:30",
|
||||
"manualSunset": "18:30",
|
||||
"matugenSchemeType": "scheme-fruit-salad"
|
||||
},
|
||||
"templates": {
|
||||
"activeTemplates": [],
|
||||
"enableUserTemplates": false
|
||||
},
|
||||
"nightLight": {
|
||||
"enabled": false,
|
||||
"forced": false,
|
||||
"autoSchedule": true,
|
||||
"nightTemp": "4000",
|
||||
"dayTemp": "6500",
|
||||
"manualSunrise": "06:30",
|
||||
"manualSunset": "18:30"
|
||||
},
|
||||
"hooks": {
|
||||
"enabled": false,
|
||||
"wallpaperChange": "",
|
||||
"darkModeChange": "",
|
||||
"screenLock": "",
|
||||
"screenUnlock": "",
|
||||
"performanceModeEnabled": "",
|
||||
"performanceModeDisabled": "",
|
||||
"session": ""
|
||||
},
|
||||
"desktopWidgets": {
|
||||
"enabled": true,
|
||||
"gridSnap": true,
|
||||
"monitorWidgets": [
|
||||
{
|
||||
"name": "eDP-1",
|
||||
"widgets": [
|
||||
{
|
||||
"clockStyle": "minimal",
|
||||
"customFont": "",
|
||||
"format": "HH:mm\\nd MMMM yyyy",
|
||||
"id": "Clock",
|
||||
"roundedCorners": true,
|
||||
"scale": 1.1985607401441287,
|
||||
"showBackground": false,
|
||||
"useCustomFont": false,
|
||||
"usePrimaryColor": true,
|
||||
"x": 68,
|
||||
"y": 34
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue