diff --git a/assets/niri.kdl b/assets/niri.kdl index b75e5ef..157d458 100644 --- a/assets/niri.kdl +++ b/assets/niri.kdl @@ -11,8 +11,6 @@ input { xkb { layout "us,it" } - - numlock } touchpad { tap @@ -164,35 +162,37 @@ window-rule { open-maximized true; } -layer-rule { - match namespace="^noctalia-overview*" - place-within-backdrop true +window-rule { + match app-id="dev.noctalia.Noctalia.Settings" + open-floating true + default-column-width { fixed 1080; } + default-window-height { fixed 920; } } debug { honor-xdg-activation-with-invalid-serial } -spawn-at-startup "noctalia-shell" +spawn-at-startup "noctalia" binds { Mod+Shift+Slash { show-hotkey-overlay; } Mod+Return hotkey-overlay-title="Run Kitty" { spawn "kitty"; } Mod+B hotkey-overlay-title="Run Firefox" { spawn "firefox"; } - Super+Alt+L hotkey-overlay-title="Lock the Screen" { spawn "noctalia-shell" "ipc" "call" "lockScreen" "lock"; } - Mod+Space hotkey-overlay-title="Run application launcher" { spawn-sh "noctalia-shell ipc call launcher toggle"; } + Super+Alt+L hotkey-overlay-title="Lock the Screen" { spawn "noctalia" "msg" "session" "lock"; } + Mod+Space hotkey-overlay-title="Run application launcher" { spawn "noctalia" "msg" "panel-toggle" "launcher"; } - XF86AudioRaiseVolume { spawn "noctalia-shell" "ipc" "call" "volume" "increase"; } - XF86AudioLowerVolume { spawn "noctalia-shell" "ipc" "call" "volume" "decrease"; } - XF86AudioMute { spawn "noctalia-shell" "ipc" "call" "volume" "muteOutput"; } - XF86AudioPause { spawn "noctalia-shell" "ipc" "call" "media" "pause"; } - XF86AudioPlay { spawn "noctalia-shell" "ipc" "call" "media" "playPause"; } - XF86AudioStop { spawn "noctalia-shell" "ipc" "call" "media" "stop"; } - XF86AudioPrev { spawn "noctalia-shell" "ipc" "call" "media" "previous"; } - XF86AudioNext { spawn "noctalia-shell" "ipc" "call" "media" "next"; } - XF86MonBrightnessUp { spawn "noctalia-shell" "ipc" "call" "brightness" "increase"; } - XF86MonBrightnessDown { spawn "noctalia-shell" "ipc" "call" "brightness" "decrease"; } + XF86AudioRaiseVolume { spawn "noctalia" "msg" "volume-up"; } + XF86AudioLowerVolume { spawn "noctalia" "msg" "volume-down"; } + XF86AudioMute { spawn "noctalia" "msg" "volume-mute"; } + XF86AudioPause { spawn "noctalia" "msg" "media" "toggle"; } + XF86AudioPlay { spawn "noctalia" "msg" "media" "toggle"; } + XF86AudioStop { spawn "noctalia" "msg" "media" "stop"; } + XF86AudioPrev { spawn "noctalia" "msg" "media" "previous"; } + XF86AudioNext { spawn "noctalia" "msg" "media" "next"; } + XF86MonBrightnessUp { spawn "noctalia" "msg" "brightness-up"; } + XF86MonBrightnessDown { spawn "noctalia" "msg" "brightness-down"; } Mod+O repeat=false { toggle-overview; } @@ -239,14 +239,6 @@ binds { Mod+Shift+Ctrl+K { move-column-to-monitor-up; } Mod+Shift+Ctrl+L { move-column-to-monitor-right; } - // Alternatively, there are commands to move just a single window: - // Mod+Shift+Ctrl+Left { move-window-to-monitor-left; } - // ... - - // And you can also move a whole workspace to another monitor: - // Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; } - // ... - Mod+Page_Down { focus-workspace-down; } Mod+Page_Up { focus-workspace-up; } Mod+U { focus-workspace-down; } @@ -256,21 +248,11 @@ binds { Mod+Ctrl+U { move-column-to-workspace-down; } Mod+Ctrl+I { move-column-to-workspace-up; } - // Alternatively, there are commands to move just a single window: - // Mod+Ctrl+Page_Down { move-window-to-workspace-down; } - // ... - Mod+Shift+Page_Down { move-workspace-down; } Mod+Shift+Page_Up { move-workspace-up; } Mod+Shift+U { move-workspace-down; } Mod+Shift+I { move-workspace-up; } - // You can bind mouse wheel scroll ticks using the following syntax. - // These binds will change direction based on the natural-scroll setting. - // - // To avoid scrolling through workspaces really fast, you can use - // the cooldown-ms property. The bind will be rate-limited to this value. - // You can set a cooldown on any bind, but it's most useful for the wheel. Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; } Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; } Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; } @@ -281,8 +263,6 @@ binds { Mod+Ctrl+WheelScrollRight { move-column-right; } Mod+Ctrl+WheelScrollLeft { move-column-left; } - // Usually scrolling up and down with Shift in applications results in - // horizontal scrolling; these binds replicate that. Mod+Shift+WheelScrollDown { focus-column-right; } Mod+Shift+WheelScrollUp { focus-column-left; } Mod+Ctrl+Shift+WheelScrollDown { move-column-right; } diff --git a/assets/niri.png b/assets/niri.png index 2a5e52e..f02b4b3 100644 Binary files a/assets/niri.png and b/assets/niri.png differ diff --git a/assets/noctalia-config.toml b/assets/noctalia-config.toml new file mode 100644 index 0000000..b1eb93e --- /dev/null +++ b/assets/noctalia-config.toml @@ -0,0 +1,76 @@ +[bar.default] +end = [ + "media", + "tray", + "notifications", + "clipboard", + "network", + "bluetooth", + "volume", + "brightness", + "battery", + "control-center" +] +margin_edge = 0 +margin_ends = 0 +radius = 0 +start = [ "launcher", "workspaces" ] + +[calendar] +enabled = true + +[desktop_widgets] +schema_version = 1 +widget_order = [] + + [desktop_widgets.grid] + cell_size = 16 + major_interval = 4 + visible = true + + [desktop_widgets.widget] + +[dock] +auto_hide = true +enabled = true +icon_size = 40 +padding = 4 +show_dots = true + +[shell] +avatar_path = "/home/r3ddy/.face" +font_family = "Noto Sans" + +[theme] +builtin = "Catppuccin" +community_palette = "m3-content" +custom_palette = "ADW" +wallpaper_scheme = "Noctalia" + +[wallpaper] +directory = "/home/r3ddy/Pictures/Wallpapers" + + [wallpaper.default] + path = "/home/r3ddy/Pictures/Wallpapers/wallpaper.jpg" + + [wallpaper.last] + path = "/home/r3ddy/Pictures/Wallpapers/wallpaper.jpg" + + [wallpaper.monitors.HDMI-A-1] + path = "/home/r3ddy/Pictures/Wallpapers/wallpaper.jpg" + + [wallpaper.monitors.eDP-1] + path = "/home/r3ddy/Pictures/Wallpapers/wallpaper.jpg" + +[weather] +address = "Bolzano" +refresh_minutes = 60 + +[widget.clock] +format = "{:%a %d %b %Y %H:%M}" + +[widget.control-center] +glyph = "ghost-3-filled" + +[widget.network] +show_label = false diff --git a/assets/noctalia.json b/assets/noctalia.json deleted file mode 100644 index eaecf83..0000000 --- a/assets/noctalia.json +++ /dev/null @@ -1,735 +0,0 @@ -{ - "settingsVersion": 59, - "bar": { - "barType": "floating", - "position": "top", - "monitors": [], - "density": "default", - "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": [ - { - "colorizeSystemIcon": "none", - "colorizeSystemText": "none", - "customIconPath": "", - "enableColorization": false, - "icon": "rocket", - "iconColor": "none", - "id": "Launcher", - "useDistroLogo": false - }, - { - "compactMode": true, - "diskPath": "/", - "iconColor": "error", - "id": "SystemMonitor", - "showCpuCores": false, - "showCpuFreq": false, - "showCpuTemp": true, - "showCpuUsage": true, - "showDiskAvailable": false, - "showDiskUsage": false, - "showDiskUsageAsPercent": false, - "showGpuTemp": false, - "showLoadAverage": false, - "showMemoryAsPercent": false, - "showMemoryUsage": true, - "showNetworkStats": false, - "showSwapUsage": false, - "textColor": "none", - "useMonospaceFont": true, - "usePadding": false - }, - { - "characterCount": 2, - "colorizeIcons": false, - "emptyColor": "none", - "enableScrollWheel": true, - "focusedColor": "primary", - "followFocusedScreen": false, - "fontWeight": "bold", - "groupedBorderOpacity": 1, - "hideUnoccupied": false, - "iconScale": 0.8, - "id": "Workspace", - "labelMode": "index", - "occupiedColor": "error", - "pillSize": 0.6, - "showApplications": false, - "showApplicationsHover": false, - "showBadge": true, - "showLabelsOnlyWhenOccupied": true, - "unfocusedIconsOpacity": 1 - }, - { - "colorizeIcons": true, - "hideMode": "visible", - "id": "ActiveWindow", - "maxWidth": 250, - "scrollingMode": "hover", - "showIcon": true, - "showText": true, - "textColor": "none", - "useFixedWidth": false - }, - { - "compactMode": false, - "hideMode": "hidden", - "hideWhenIdle": false, - "id": "MediaMini", - "maxWidth": 145, - "panelShowAlbumArt": true, - "scrollingMode": "hover", - "showAlbumArt": true, - "showArtistFirst": true, - "showProgressRing": true, - "showVisualizer": false, - "textColor": "none", - "useFixedWidth": false, - "visualizerType": "linear" - } - ], - "center": [ - { - "clockColor": "none", - "customFont": "", - "formatHorizontal": "HH:mm ddd, MMM dd", - "formatVertical": "HH mm - dd MM", - "id": "Clock", - "tooltipFormat": "HH:mm ddd, MMM dd", - "useCustomFont": false - } - ], - "right": [ - { - "blacklist": [], - "chevronColor": "none", - "colorizeIcons": true, - "drawerEnabled": false, - "hidePassive": true, - "id": "Tray", - "pinned": [] - }, - { - "displayMode": "forceOpen", - "iconColor": "none", - "id": "KeyboardLayout", - "showIcon": true, - "textColor": "none" - }, - { - "hideWhenZero": false, - "hideWhenZeroUnread": false, - "iconColor": "none", - "id": "NotificationHistory", - "showUnreadBadge": true, - "unreadBadgeColor": "primary" - }, - { - "deviceNativePath": "__default__", - "displayMode": "graphic", - "hideIfIdle": false, - "hideIfNotDetected": true, - "id": "Battery", - "showNoctaliaPerformance": false, - "showPowerProfiles": false - }, - { - "displayMode": "onhover", - "iconColor": "none", - "id": "Volume", - "middleClickCommand": "pwvucontrol || pavucontrol", - "textColor": "none" - }, - { - "applyToAllMonitors": false, - "displayMode": "onhover", - "iconColor": "none", - "id": "Brightness", - "textColor": "none" - }, - { - "displayMode": "alwaysHide", - "iconColor": "none", - "id": "VPN", - "textColor": "none" - }, - { - "defaultSettings": { - "compactMode": false, - "defaultDuration": 0, - "iconColor": "none", - "textColor": "none" - }, - "id": "plugin:timer" - }, - { - "colorizeDistroLogo": false, - "colorizeSystemIcon": "error", - "colorizeSystemText": "none", - "customIconPath": "", - "enableColorization": true, - "icon": "noctalia", - "id": "ControlCenter", - "useDistroLogo": true - } - ] - }, - "mouseWheelAction": "none", - "reverseScroll": false, - "mouseWheelWrap": true, - "middleClickAction": "none", - "middleClickFollowMouse": false, - "middleClickCommand": "", - "rightClickAction": "controlCenter", - "rightClickFollowMouse": true, - "rightClickCommand": "", - "screenOverrides": [] - }, - "general": { - "avatarImage": "/home/r3ddy/.face", - "dimmerOpacity": 0.2, - "showScreenCorners": false, - "forceBlackScreenCorners": false, - "scaleRatio": 1, - "radiusRatio": 1, - "iRadiusRatio": 1, - "boxRadiusRatio": 1, - "screenRadiusRatio": 1, - "animationSpeed": 1, - "animationDisabled": false, - "compactLockScreen": false, - "lockScreenAnimations": false, - "lockOnSuspend": true, - "showSessionButtonsOnLockScreen": true, - "showHibernateOnLockScreen": false, - "enableLockScreenMediaControls": false, - "enableShadows": true, - "enableBlurBehind": true, - "shadowDirection": "bottom_right", - "shadowOffsetX": 2, - "shadowOffsetY": 3, - "language": "", - "allowPanelsOnScreenWithoutBar": true, - "showChangelogOnStartup": true, - "telemetryEnabled": true, - "enableLockScreenCountdown": true, - "lockScreenCountdownDuration": 10000, - "autoStartAuth": false, - "allowPasswordWithFprintd": false, - "clockStyle": "custom", - "clockFormat": "hh\\nmm", - "passwordChars": false, - "lockScreenMonitors": [], - "lockScreenBlur": 0, - "lockScreenTint": 0, - "keybinds": { - "keyUp": [ - "Up" - ], - "keyDown": [ - "Down" - ], - "keyLeft": [ - "Left" - ], - "keyRight": [ - "Right" - ], - "keyEnter": [ - "Return", - "Enter" - ], - "keyEscape": [ - "Esc" - ], - "keyRemove": [ - "Del" - ] - }, - "reverseScroll": false, - "smoothScrollEnabled": true - }, - "ui": { - "fontDefault": "Sans Serif", - "fontFixed": "JetBrainsMono Nerd Font", - "fontDefaultScale": 1, - "fontFixedScale": 1, - "tooltipsEnabled": true, - "scrollbarAlwaysVisible": true, - "boxBorderEnabled": false, - "panelBackgroundOpacity": 0.93, - "translucentWidgets": false, - "panelsAttachedToBar": true, - "settingsPanelMode": "attached", - "settingsPanelSideBarCardStyle": false - }, - "location": { - "name": "Bolzano", - "weatherEnabled": true, - "weatherShowEffects": true, - "weatherTaliaMascotAlways": false, - "useFahrenheit": false, - "use12hourFormat": false, - "showWeekNumberInCalendar": false, - "showCalendarEvents": true, - "showCalendarWeather": true, - "analogClockInCalendar": false, - "firstDayOfWeek": -1, - "hideWeatherTimezone": false, - "hideWeatherCityName": false, - "autoLocate": false - }, - "calendar": { - "cards": [ - { - "enabled": true, - "id": "calendar-header-card" - }, - { - "enabled": true, - "id": "calendar-month-card" - }, - { - "enabled": true, - "id": "weather-card" - } - ] - }, - "wallpaper": { - "enabled": true, - "overviewEnabled": true, - "directory": "/home/r3ddy/Pictures/Wallpapers", - "monitorDirectories": [], - "enableMultiMonitorDirectories": false, - "showHiddenFiles": false, - "viewMode": "single", - "setWallpaperOnAllMonitors": true, - "linkLightAndDarkWallpapers": true, - "fillMode": "crop", - "fillColor": "#000000", - "useSolidColor": false, - "solidColor": "#1a1a2e", - "automationEnabled": false, - "wallpaperChangeMode": "random", - "randomIntervalSec": 300, - "transitionDuration": 1500, - "transitionType": [ - "fade", - "disc", - "stripes", - "wipe", - "pixelate", - "honeycomb" - ], - "skipStartupTransition": false, - "transitionEdgeSmoothness": 0.05, - "panelPosition": "follow_bar", - "hideWallpaperFilenames": false, - "useOriginalImages": true, - "overviewBlur": 0.4, - "overviewTint": 0.6, - "useWallhaven": false, - "wallhavenQuery": "", - "wallhavenSorting": "relevance", - "wallhavenOrder": "desc", - "wallhavenCategories": "111", - "wallhavenPurity": "100", - "wallhavenRatios": "", - "wallhavenApiKey": "", - "wallhavenResolutionMode": "atleast", - "wallhavenResolutionWidth": "", - "wallhavenResolutionHeight": "", - "sortOrder": "name", - "favorites": [] - }, - "appLauncher": { - "enableClipboardHistory": false, - "autoPasteClipboard": false, - "enableClipPreview": true, - "clipboardWrapText": true, - "enableClipboardSmartIcons": true, - "enableClipboardChips": true, - "clipboardWatchTextCommand": "wl-paste --type text --watch cliphist store", - "clipboardWatchImageCommand": "wl-paste --type image --watch cliphist store", - "position": "center", - "pinnedApps": [], - "sortByMostUsed": true, - "terminalCommand": "kitty -e", - "customLaunchPrefixEnabled": false, - "customLaunchPrefix": "", - "viewMode": "list", - "showCategories": true, - "iconMode": "tabler", - "showIconBackground": false, - "enableSettingsSearch": true, - "enableWindowsSearch": true, - "enableSessionSearch": true, - "ignoreMouseInput": false, - "screenshotAnnotationTool": "", - "overviewLayer": false, - "density": "default" - }, - "controlCenter": { - "position": "close_to_bar_button", - "diskPath": "/", - "shortcuts": { - "left": [ - { - "id": "Network" - }, - { - "id": "Bluetooth" - }, - { - "id": "WallpaperSelector" - }, - { - "id": "NoctaliaPerformance" - } - ], - "right": [ - { - "id": "Notifications" - }, - { - "id": "PowerProfile" - }, - { - "id": "KeepAwake" - }, - { - "id": "NightLight" - } - ] - }, - "cards": [ - { - "enabled": true, - "id": "profile-card" - }, - { - "enabled": true, - "id": "shortcuts-card" - }, - { - "enabled": true, - "id": "audio-card" - }, - { - "enabled": true, - "id": "brightness-card" - }, - { - "enabled": true, - "id": "weather-card" - }, - { - "enabled": true, - "id": "media-sysmon-card" - } - ] - }, - "systemMonitor": { - "cpuWarningThreshold": 80, - "cpuCriticalThreshold": 90, - "tempWarningThreshold": 80, - "tempCriticalThreshold": 90, - "gpuWarningThreshold": 80, - "gpuCriticalThreshold": 90, - "memWarningThreshold": 80, - "memCriticalThreshold": 90, - "swapWarningThreshold": 80, - "swapCriticalThreshold": 90, - "diskWarningThreshold": 80, - "diskCriticalThreshold": 90, - "diskAvailWarningThreshold": 20, - "diskAvailCriticalThreshold": 10, - "batteryWarningThreshold": 20, - "batteryCriticalThreshold": 5, - "enableDgpuMonitoring": false, - "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" - }, - "noctaliaPerformance": { - "disableWallpaper": true, - "disableDesktopWidgets": true - }, - "dock": { - "enabled": true, - "position": "bottom", - "displayMode": "auto_hide", - "dockType": "floating", - "backgroundOpacity": 1, - "floatingRatio": 1, - "size": 1, - "onlySameOutput": true, - "monitors": [], - "pinnedApps": [], - "colorizeIcons": false, - "showLauncherIcon": false, - "launcherPosition": "end", - "launcherUseDistroLogo": false, - "launcherIcon": "", - "launcherIconColor": "none", - "pinnedStatic": false, - "inactiveIndicators": false, - "groupApps": false, - "groupContextMenuMode": "extended", - "groupClickAction": "cycle", - "groupIndicatorStyle": "dots", - "deadOpacity": 0.6, - "animationSpeed": 1, - "sitOnFrame": false, - "showDockIndicator": false, - "indicatorThickness": 3, - "indicatorColor": "primary", - "indicatorOpacity": 0.6 - }, - "network": { - "bluetoothRssiPollingEnabled": false, - "bluetoothRssiPollIntervalMs": 60000, - "networkPanelView": "wifi", - "wifiDetailsViewMode": "grid", - "bluetoothDetailsViewMode": "grid", - "bluetoothHideUnnamedDevices": false, - "disableDiscoverability": false, - "bluetoothAutoConnect": true - }, - "sessionMenu": { - "enableCountdown": true, - "countdownDuration": 10000, - "position": "center", - "showHeader": true, - "showKeybinds": true, - "largeButtonsStyle": true, - "largeButtonsLayout": "single-row", - "powerOptions": [ - { - "action": "lock", - "command": "", - "countdownEnabled": true, - "enabled": true, - "keybind": "1" - }, - { - "action": "suspend", - "command": "", - "countdownEnabled": true, - "enabled": true, - "keybind": "2" - }, - { - "action": "hibernate", - "command": "", - "countdownEnabled": true, - "enabled": true, - "keybind": "3" - }, - { - "action": "reboot", - "command": "", - "countdownEnabled": true, - "enabled": true, - "keybind": "4" - }, - { - "action": "logout", - "command": "", - "countdownEnabled": true, - "enabled": true, - "keybind": "5" - }, - { - "action": "shutdown", - "command": "", - "countdownEnabled": true, - "enabled": true, - "keybind": "6" - }, - { - "action": "rebootToUefi", - "command": "", - "countdownEnabled": true, - "enabled": true, - "keybind": "7" - }, - { - "action": "userspaceReboot", - "command": "", - "countdownEnabled": true, - "enabled": false, - "keybind": "" - } - ] - }, - "notifications": { - "enabled": true, - "enableMarkdown": false, - "density": "default", - "monitors": [], - "location": "top_right", - "overlayLayer": true, - "backgroundOpacity": 1, - "respectExpireTimeout": false, - "lowUrgencyDuration": 3, - "normalUrgencyDuration": 8, - "criticalUrgencyDuration": 15, - "clearDismissed": 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": false, - "enableKeyboardLayoutToast": true, - "enableBatteryToast": true - }, - "osd": { - "enabled": true, - "location": "top_right", - "autoHideMs": 2000, - "overlayLayer": true, - "backgroundOpacity": 1, - "enabledTypes": [ - 0, - 1, - 2 - ], - "monitors": [] - }, - "audio": { - "volumeStep": 5, - "volumeOverdrive": false, - "spectrumFrameRate": 30, - "visualizerType": "linear", - "spectrumMirrored": true, - "mprisBlacklist": [], - "preferredPlayer": "mpv", - "volumeFeedback": true, - "volumeFeedbackSoundFile": "" - }, - "brightness": { - "brightnessStep": 5, - "enforceMinimum": true, - "enableDdcSupport": false, - "backlightDeviceMappings": [] - }, - "colorSchemes": { - "useWallpaperColors": false, - "predefinedScheme": "Catppuccin", - "darkMode": true, - "schedulingMode": "off", - "manualSunrise": "06:30", - "manualSunset": "18:30", - "generationMethod": "tonal-spot", - "monitorForColors": "", - "syncGsettings": true - }, - "templates": { - "activeTemplates": [ - { - "enabled": true, - "id": "niri" - }, - { - "enabled": true, - "id": "steam" - }, - { - "enabled": true, - "id": "gtk" - }, - { - "enabled": true, - "id": "discord" - } - ], - "enableUserTheming": 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": "", - "startup": "", - "session": "", - "colorGeneration": "" - }, - "plugins": { - "autoUpdate": false, - "notifyUpdates": true - }, - "idle": { - "enabled": false, - "screenOffTimeout": 600, - "lockTimeout": 660, - "suspendTimeout": 1800, - "fadeDuration": 5, - "screenOffCommand": "", - "lockCommand": "", - "suspendCommand": "", - "resumeScreenOffCommand": "", - "resumeLockCommand": "", - "resumeSuspendCommand": "", - "customCommands": "[]" - }, - "desktopWidgets": { - "enabled": true, - "overviewEnabled": true, - "gridSnap": false, - "gridSnapScale": false, - "monitorWidgets": [ - { - "name": "eDP-1", - "widgets": [] - }, - { - "name": "HDMI-A-1", - "widgets": [] - } - ] - } -} diff --git a/flake.lock b/flake.lock index b7e0ed6..a8e7582 100644 --- a/flake.lock +++ b/flake.lock @@ -113,11 +113,11 @@ ] }, "locked": { - "lastModified": 1780099287, - "narHash": "sha256-efIPwVGtIWIjWcznhaop6XN6HxnOL8800hF6CBNvlqQ=", + "lastModified": 1780370888, + "narHash": "sha256-PRJj9RKTEf/sITycujP1c/BrvLJKMYXzcpwTsXNulXQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "7d8127d308c3fb9664f7e643eec944be74ebb37d", + "rev": "a7a415883195ffbd4dabec8f098f201e6eaaadf8", "type": "github" }, "original": { @@ -151,11 +151,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1780084541, - "narHash": "sha256-1dfrj9KRVjYdRQV677wHJVqSi1+IseAofINIIpPO+7E=", + "lastModified": 1780253365, + "narHash": "sha256-wcJ+6+Z+mfzBjClI0XsjOoGSW6o1RldVj6UETLzK+GQ=", "owner": "xddxdd", "repo": "nix-cachyos-kernel", - "rev": "bc4719a00b3e52764b947cb3c7f15a8b8769432e", + "rev": "236462fb93cb56e26e6a6801ba5edb6dad66be0d", "type": "github" }, "original": { @@ -175,11 +175,11 @@ "vpn-confinement": "vpn-confinement" }, "locked": { - "lastModified": 1779812883, - "narHash": "sha256-GMTChfq+0GWGkX/GI/WkBx6+Hdk52D/pUM+3LAk2Hgg=", + "lastModified": 1780340628, + "narHash": "sha256-EIs4F3nnTVaOP9WKClVZNDD8jMfm28+w9oVFOJxucYU=", "owner": "kiriwalawren", "repo": "nixflix", - "rev": "9256e40714362793789d3812c15259f78b99410c", + "rev": "bcd287304de9a7dbe9280298a87c95100b87474f", "type": "github" }, "original": { @@ -190,11 +190,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1780011192, - "narHash": "sha256-luHrZG6I7Mwdt413XoDOYBpp9z1z6X23/5SNktwjM+k=", + "lastModified": 1780206209, + "narHash": "sha256-33WNQ5sssy+8+xhUz953aEnjR1Oh828j0DgLU1TfMqE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "3242faf14b7611a62ce0f0071619438a08b65c12", + "rev": "45cf63e030188dd38532669b2450182bfc2d4653", "type": "github" }, "original": { @@ -253,11 +253,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1779560665, - "narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=", + "lastModified": 1780243769, + "narHash": "sha256-x5UQuRsH3MqI0U9afaXSNqzTPSeZlRLvFAav2Ux1pNw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786", + "rev": "331800de5053fcebacf6813adb5db9c9dca22a0c", "type": "github" }, "original": { @@ -341,46 +341,23 @@ "inputs": { "nixpkgs": [ "nixpkgs" - ], - "noctalia-qs": "noctalia-qs" + ] }, "locked": { - "lastModified": 1779763713, - "narHash": "sha256-as2Vo4PitnWfXezfkQB2H3Rsr/DXJPp4Oe+dE+dZ0Xo=", + "lastModified": 1780367651, + "narHash": "sha256-OsGl00RrXfq5zFyQyE5l2UEutYp19uPQUpZh9opAg/o=", "owner": "noctalia-dev", "repo": "noctalia-shell", - "rev": "272cd91408b5ff6e329e6397eed042fe422069e7", + "rev": "91a7a07726e8c9b39696b237c9885fef8b4ed2c7", "type": "github" }, "original": { "owner": "noctalia-dev", + "ref": "v5", "repo": "noctalia-shell", "type": "github" } }, - "noctalia-qs": { - "inputs": { - "nixpkgs": [ - "noctalia", - "nixpkgs" - ], - "systems": "systems_3", - "treefmt-nix": "treefmt-nix_2" - }, - "locked": { - "lastModified": 1779588472, - "narHash": "sha256-CVonDVo41DqdqS/kNeXFatwEuTltyXcppm9zkVOnrsM=", - "owner": "noctalia-dev", - "repo": "noctalia-qs", - "rev": "70fea8a39a908e395de63024a4dfdb829bff1ffe", - "type": "github" - }, - "original": { - "owner": "noctalia-dev", - "repo": "noctalia-qs", - "type": "github" - } - }, "root": { "inputs": { "home-manager": "home-manager", @@ -444,21 +421,6 @@ "type": "github" } }, - "systems_3": { - "locked": { - "lastModified": 1689347949, - "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", - "owner": "nix-systems", - "repo": "default-linux", - "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default-linux", - "type": "github" - } - }, "treefmt-nix": { "inputs": { "nixpkgs": [ @@ -480,28 +442,6 @@ "type": "github" } }, - "treefmt-nix_2": { - "inputs": { - "nixpkgs": [ - "noctalia", - "noctalia-qs", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1775636079, - "narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - }, "vpn-confinement": { "locked": { "lastModified": 1778182451, diff --git a/flake.nix b/flake.nix index cb62a09..fbec9de 100644 --- a/flake.nix +++ b/flake.nix @@ -16,7 +16,7 @@ inputs.nixpkgs.follows = "nixpkgs"; }; noctalia = { - url = "github:noctalia-dev/noctalia-shell"; + url = "github:noctalia-dev/noctalia-shell/v5"; inputs.nixpkgs.follows = "nixpkgs"; }; nixflix = { diff --git a/home/niri.nix b/home/niri.nix index f80f7b9..ba4144e 100644 --- a/home/niri.nix +++ b/home/niri.nix @@ -4,9 +4,9 @@ inputs.noctalia.homeModules.default ]; - programs.noctalia-shell = { + programs.noctalia = { enable = true; - settings = ../assets/noctalia.json; + settings = ../assets/noctalia-config.toml; }; gtk = {