diff --git a/ansible/inventory/group_vars/desktop.yml b/ansible/inventory/group_vars/desktop.yml index c5b0ab0..80db3dd 100644 --- a/ansible/inventory/group_vars/desktop.yml +++ b/ansible/inventory/group_vars/desktop.yml @@ -282,6 +282,21 @@ desktop_sway_dotfiles: src: .local/bin/start-sway-session dest: .local/bin/start-sway-session mode: "0755" + - name: Noctalia colors + src: .config/noctalia/colors.json + dest: .config/noctalia/colors.json + mode: "0644" + - name: Noctalia plugins + src: .config/noctalia/plugins.json + dest: .config/noctalia/plugins.json + mode: "0644" + - name: Noctalia colorschemes + src: .config/noctalia/colorschemes/ + dest: .config/noctalia/colorschemes/ + mode: preserve + +noctalia_bar_monitors: + - DP-1 desktop_flatpak_packages: - be.alexandervanhee.gradia diff --git a/ansible/inventory/host_vars/nymph.yml b/ansible/inventory/host_vars/nymph.yml index f9e3d82..ff3bf9b 100644 --- a/ansible/inventory/host_vars/nymph.yml +++ b/ansible/inventory/host_vars/nymph.yml @@ -39,3 +39,6 @@ host_sway_dotfiles: - src: .config/kanshi/config dest: .config/kanshi/config mode: "0644" + +noctalia_bar_monitors: + - DP-1 diff --git a/ansible/roles/profile_desktop_sway/tasks/main.yml b/ansible/roles/profile_desktop_sway/tasks/main.yml index 9128f52..da33ed4 100644 --- a/ansible/roles/profile_desktop_sway/tasks/main.yml +++ b/ansible/roles/profile_desktop_sway/tasks/main.yml @@ -59,7 +59,27 @@ mode: "0644" when: "'sway' in (desktop_sessions_enabled | default([]))" +- name: Render Noctalia settings template + tags: [dotfiles, dotfiles:desktop, sway, noctalia] + ansible.builtin.template: + src: noctalia-settings.json.j2 + dest: "{{ user_home }}/.config/noctalia/settings.json" + owner: "{{ username }}" + group: "{{ user_group }}" + mode: "0644" + when: "'sway' in (desktop_sessions_enabled | default([]))" + - name: Manage Noctalia shell plugins tags: [dotfiles, dotfiles:desktop, sway, noctalia] ansible.builtin.include_tasks: noctalia.yml when: "'sway' in (desktop_sessions_enabled | default([]))" + +- name: Copy shared Clipper settings + tags: [dotfiles, dotfiles:desktop, sway, noctalia] + ansible.builtin.copy: + src: "{{ playbook_dir }}/../dotfiles/desktop/.config/noctalia/plugins/clipper/settings.json" + dest: "{{ user_home }}/.config/noctalia/plugins/clipper/settings.json" + owner: "{{ username }}" + group: "{{ user_group }}" + mode: "0644" + when: "'sway' in (desktop_sessions_enabled | default([]))" diff --git a/ansible/roles/profile_desktop_sway/tasks/noctalia.yml b/ansible/roles/profile_desktop_sway/tasks/noctalia.yml index 23e6f95..cbacdeb 100644 --- a/ansible/roles/profile_desktop_sway/tasks/noctalia.yml +++ b/ansible/roles/profile_desktop_sway/tasks/noctalia.yml @@ -1,23 +1,117 @@ --- +- name: Check whether official Clipper plugin directory exists + ansible.builtin.stat: + path: "{{ user_home }}/.local/share/noctalia-plugins/official/clipper" + follow: false + register: official_clipper_path_state + +- name: Repair official Clipper plugin permissions before git update + ansible.builtin.file: + path: "{{ user_home }}/.local/share/noctalia-plugins/official/clipper" + state: directory + recurse: true + owner: "{{ username }}" + group: "{{ user_group }}" + mode: "u=rwX,go=rX" + when: + - official_clipper_path_state.stat.exists + - official_clipper_path_state.stat.isdir + +- name: Remove untracked files from official Clipper subtree before git update + ansible.builtin.command: + cmd: git clean -fd -- clipper + chdir: "{{ user_home }}/.local/share/noctalia-plugins/official" + become_user: "{{ username }}" + environment: + HOME: "{{ user_home }}" + register: official_clipper_clean + changed_when: >- + (official_clipper_clean.stdout | default('') | trim) != '' or + (official_clipper_clean.stderr | default('') | trim) != '' + when: + - official_clipper_path_state.stat.exists + - official_clipper_path_state.stat.isdir + - name: Bootstrap official Noctalia plugins checkout ansible.builtin.git: repo: https://github.com/noctalia-dev/noctalia-plugins.git dest: "{{ user_home }}/.local/share/noctalia-plugins/official" version: main update: true + force: true become_user: "{{ username }}" environment: HOME: "{{ user_home }}" -- name: Bootstrap Clipper plugin checkout - ansible.builtin.git: - repo: https://github.com/blackbartblues/noctalia-clipper.git - dest: "{{ user_home }}/.config/noctalia/plugins/clipper" - version: master - update: true +- name: Check if Clipper is a real directory (needs migration to symlink) + ansible.builtin.stat: + path: "{{ user_home }}/.config/noctalia/plugins/clipper" + follow: false + register: clipper_path_state + +- name: Check whether Clipper pinned data exists + ansible.builtin.stat: + path: "{{ user_home }}/.config/noctalia/plugins/clipper/pinned.json" + register: clipper_pinned_state + when: + - clipper_path_state.stat.exists + - clipper_path_state.stat.isdir + - not (clipper_path_state.stat.islnk | default(false)) + +- name: Preserve Clipper pinned data before migration + ansible.builtin.copy: + src: "{{ user_home }}/.config/noctalia/plugins/clipper/pinned.json" + dest: "{{ user_home }}/.local/share/noctalia-plugins/official/clipper/pinned.json" + remote_src: true + owner: "{{ username }}" + group: "{{ user_group }}" + mode: "0644" become_user: "{{ username }}" environment: HOME: "{{ user_home }}" + when: + - clipper_pinned_state is defined and clipper_pinned_state.stat is defined and clipper_pinned_state.stat.exists + +- name: Check whether Clipper notecards directory exists + ansible.builtin.stat: + path: "{{ user_home }}/.config/noctalia/plugins/clipper/notecards" + register: clipper_notecards_state + when: + - clipper_path_state.stat.exists + - clipper_path_state.stat.isdir + - not (clipper_path_state.stat.islnk | default(false)) + +- name: Preserve Clipper notecards before migration + ansible.builtin.copy: + src: "{{ user_home }}/.config/noctalia/plugins/clipper/notecards/" + dest: "{{ user_home }}/.local/share/noctalia-plugins/official/clipper/notecards/" + remote_src: true + owner: "{{ username }}" + group: "{{ user_group }}" + mode: preserve + become_user: "{{ username }}" + environment: + HOME: "{{ user_home }}" + when: + - clipper_notecards_state is defined and clipper_notecards_state.stat is defined and clipper_notecards_state.stat.exists and clipper_notecards_state.stat.isdir + +- name: Remove old Clipper directory (migration to symlink) + ansible.builtin.file: + path: "{{ user_home }}/.config/noctalia/plugins/clipper" + state: absent + when: + - clipper_path_state.stat.exists + - clipper_path_state.stat.isdir + - not (clipper_path_state.stat.islnk | default(false)) + +- name: Create Clipper symlink to official plugin + ansible.builtin.file: + src: "{{ user_home }}/.local/share/noctalia-plugins/official/clipper" + dest: "{{ user_home }}/.config/noctalia/plugins/clipper" + state: link + force: true + owner: "{{ username }}" + group: "{{ user_group }}" - name: Link official Noctalia plugins ansible.builtin.file: diff --git a/ansible/roles/profile_desktop_sway/templates/noctalia-settings.json.j2 b/ansible/roles/profile_desktop_sway/templates/noctalia-settings.json.j2 new file mode 100644 index 0000000..7360639 --- /dev/null +++ b/ansible/roles/profile_desktop_sway/templates/noctalia-settings.json.j2 @@ -0,0 +1,615 @@ +{ + "appLauncher": { + "autoPasteClipboard": false, + "clipboardWatchImageCommand": "wl-paste --type image --watch cliphist store", + "clipboardWatchTextCommand": "wl-paste --type text --watch cliphist store", + "clipboardWrapText": true, + "customLaunchPrefix": "", + "customLaunchPrefixEnabled": false, + "density": "default", + "enableClipPreview": true, + "enableClipboardChips": true, + "enableClipboardHistory": false, + "enableClipboardSmartIcons": true, + "enableSessionSearch": true, + "enableSettingsSearch": true, + "enableWindowsSearch": true, + "iconMode": "tabler", + "ignoreMouseInput": false, + "overviewLayer": false, + "pinnedApps": [], + "position": "center", + "screenshotAnnotationTool": "", + "showCategories": true, + "showIconBackground": false, + "sortByMostUsed": true, + "terminalCommand": "alacritty -e", + "viewMode": "list" + }, + "audio": { + "mprisBlacklist": [], + "preferredPlayer": "", + "spectrumFrameRate": 30, + "spectrumMirrored": true, + "visualizerType": "linear", + "volumeFeedback": false, + "volumeFeedbackSoundFile": "", + "volumeOverdrive": false, + "volumeStep": 5 + }, + "bar": { + "autoHideDelay": 500, + "autoShowDelay": 150, + "backgroundOpacity": 0.93, + "barType": "simple", + "capsuleColorKey": "none", + "capsuleOpacity": 1, + "contentPadding": 2, + "density": "default", + "displayMode": "always_visible", + "enableExclusionZoneInset": true, + "fontScale": 1, + "frameRadius": 12, + "frameThickness": 8, + "hideOnOverview": false, + "marginHorizontal": 4, + "marginVertical": 4, + "middleClickAction": "none", + "middleClickCommand": "", + "middleClickFollowMouse": false, + "monitors": [ +{% for monitor in noctalia_bar_monitors | default(['DP-1']) %} + "{{ monitor }}"{% if not loop.last %},{% endif %} +{% endfor %} + ], + "mouseWheelAction": "none", + "mouseWheelWrap": true, + "outerCorners": true, + "position": "top", + "reverseScroll": false, + "rightClickAction": "controlCenter", + "rightClickCommand": "", + "rightClickFollowMouse": true, + "screenOverrides": [], + "showCapsule": true, + "showOnWorkspaceSwitch": true, + "showOutline": false, + "useSeparateOpacity": false, + "widgetSpacing": 6, + "widgets": { + "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 + }, + { + "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" + } + ], + "left": [ + { + "characterCount": 2, + "colorizeIcons": false, + "emptyColor": "secondary", + "enableScrollWheel": true, + "focusedColor": "primary", + "followFocusedScreen": false, + "fontWeight": "bold", + "groupedBorderOpacity": 1, + "hideUnoccupied": false, + "iconScale": 0.8, + "id": "Workspace", + "labelMode": "index", + "occupiedColor": "secondary", + "pillSize": 0.6, + "showApplications": false, + "showApplicationsHover": false, + "showBadge": true, + "showLabelsOnlyWhenOccupied": true, + "unfocusedIconsOpacity": 1 + } + ], + "right": [ + { + "blacklist": [], + "chevronColor": "none", + "colorizeIcons": false, + "drawerEnabled": true, + "hidePassive": false, + "id": "Tray", + "pinned": [] + }, + { + "compactMode": true, + "diskPath": "/", + "iconColor": "none", + "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 + }, + { + "defaultSettings": { + "autoMount": false, + "fileBrowser": "yazi", + "hideWhenEmpty": false, + "iconColor": "none", + "showBadge": false, + "showNotifications": true, + "terminalCommand": "kitty" + }, + "id": "plugin:usb-drive-manager" + }, + { + "defaultSettings": { + "autoPaste": false, + "autoPasteDelay": 300, + "autoPasteOnRightClick": false, + "cardColors": {}, + "customColors": {}, + "enableTodoIntegration": false, + "fullscreenMode": false, + "hidePanelBackground": false, + "notecardsEnabled": true, + "panelHeight": 0, + "panelWidth": 1450, + "pincardsEnabled": true, + "showCloseButton": true + }, + "id": "plugin:clipper" + }, + { + "displayMode": "onhover", + "iconColor": "none", + "id": "Volume", + "middleClickCommand": "pwvucontrol || pavucontrol", + "textColor": "none" + }, + { + "applyToAllMonitors": false, + "displayMode": "onhover", + "iconColor": "none", + "id": "Brightness", + "textColor": "none" + }, + { + "deviceNativePath": "__default__", + "displayMode": "graphic-clean", + "hideIfIdle": false, + "hideIfNotDetected": true, + "id": "Battery", + "showNoctaliaPerformance": false, + "showPowerProfiles": false + }, + { + "colorizeDistroLogo": false, + "colorizeSystemIcon": "secondary", + "colorizeSystemText": "none", + "customIconPath": "", + "enableColorization": true, + "icon": "settings", + "id": "ControlCenter", + "useDistroLogo": false + }, + { + "hideWhenZero": false, + "hideWhenZeroUnread": false, + "iconColor": "none", + "id": "NotificationHistory", + "showUnreadBadge": true, + "unreadBadgeColor": "tertiary" + } + ] + } + }, + "brightness": { + "backlightDeviceMappings": [], + "brightnessStep": 5, + "enableDdcSupport": false, + "enforceMinimum": true + }, + "calendar": { + "cards": [ + { + "enabled": true, + "id": "calendar-header-card" + }, + { + "enabled": true, + "id": "calendar-month-card" + }, + { + "enabled": true, + "id": "weather-card" + } + ] + }, + "colorSchemes": { + "darkMode": true, + "generationMethod": "tonal-spot", + "manualSunrise": "06:30", + "manualSunset": "18:30", + "monitorForColors": "", + "predefinedScheme": "Ayu", + "schedulingMode": "off", + "syncGsettings": true, + "useWallpaperColors": false + }, + "controlCenter": { + "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" + } + ], + "diskPath": "/", + "position": "close_to_bar_button", + "shortcuts": { + "left": [ + {"id": "Network"}, + {"id": "Bluetooth"}, + {"id": "WallpaperSelector"}, + {"id": "NoctaliaPerformance"} + ], + "right": [ + {"id": "Notifications"}, + {"id": "PowerProfile"}, + {"id": "KeepAwake"}, + {"id": "NightLight"} + ] + } + }, + "desktopWidgets": { + "enabled": false, + "gridSnap": false, + "gridSnapScale": false, + "monitorWidgets": [], + "overviewEnabled": true + }, + "dock": { + "animationSpeed": 1, + "backgroundOpacity": 1, + "colorizeIcons": false, + "deadOpacity": 0.6, + "displayMode": "auto_hide", + "dockType": "floating", + "enabled": false, + "floatingRatio": 1, + "groupApps": false, + "groupClickAction": "cycle", + "groupContextMenuMode": "extended", + "groupIndicatorStyle": "dots", + "inactiveIndicators": false, + "indicatorColor": "primary", + "indicatorOpacity": 0.6, + "indicatorThickness": 3, + "launcherIcon": "", + "launcherIconColor": "none", + "launcherPosition": "end", + "launcherUseDistroLogo": false, + "monitors": [], + "onlySameOutput": true, + "pinnedApps": [], + "pinnedStatic": false, + "position": "bottom", + "showDockIndicator": false, + "showLauncherIcon": false, + "sitOnFrame": false, + "size": 1 + }, + "general": { + "allowPanelsOnScreenWithoutBar": true, + "allowPasswordWithFprintd": false, + "animationDisabled": false, + "animationSpeed": 1, + "autoStartAuth": false, + "avatarImage": "{{ user_home }}/.face", + "boxRadiusRatio": 1, + "clockFormat": "hh\\nmm", + "clockStyle": "custom", + "compactLockScreen": false, + "dimmerOpacity": 0.2, + "enableBlurBehind": true, + "enableLockScreenCountdown": true, + "enableLockScreenMediaControls": false, + "enableShadows": true, + "forceBlackScreenCorners": false, + "iRadiusRatio": 1, + "keybinds": { + "keyDown": ["Down"], + "keyEnter": ["Return", "Enter"], + "keyEscape": ["Esc"], + "keyLeft": ["Left"], + "keyRemove": ["Del"], + "keyRight": ["Right"], + "keyUp": ["Up"] + }, + "language": "", + "lockOnSuspend": true, + "lockScreenAnimations": false, + "lockScreenBlur": 0, + "lockScreenCountdownDuration": 10000, + "lockScreenMonitors": [], + "lockScreenTint": 0, + "passwordChars": false, + "radiusRatio": 1, + "reverseScroll": false, + "scaleRatio": 1, + "screenRadiusRatio": 1, + "shadowDirection": "bottom_right", + "shadowOffsetX": 2, + "shadowOffsetY": 3, + "showChangelogOnStartup": true, + "showHibernateOnLockScreen": false, + "showScreenCorners": false, + "showSessionButtonsOnLockScreen": true, + "smoothScrollEnabled": true, + "telemetryEnabled": false + }, + "hooks": { + "colorGeneration": "", + "darkModeChange": "", + "enabled": false, + "performanceModeDisabled": "", + "performanceModeEnabled": "", + "screenLock": "", + "screenUnlock": "", + "session": "", + "startup": "", + "wallpaperChange": "" + }, + "idle": { + "customCommands": "[]", + "enabled": true, + "fadeDuration": 5, + "lockCommand": "", + "lockTimeout": 660, + "resumeLockCommand": "", + "resumeScreenOffCommand": "", + "resumeSuspendCommand": "", + "screenOffCommand": "", + "screenOffTimeout": 600, + "suspendCommand": "", + "suspendTimeout": 1800 + }, + "location": { + "analogClockInCalendar": false, + "autoLocate": false, + "firstDayOfWeek": -1, + "hideWeatherCityName": false, + "hideWeatherTimezone": false, + "name": "", + "showCalendarEvents": true, + "showCalendarWeather": true, + "showWeekNumberInCalendar": false, + "use12hourFormat": false, + "useFahrenheit": false, + "weatherEnabled": true, + "weatherShowEffects": true, + "weatherTaliaMascotAlways": false + }, + "network": { + "bluetoothAutoConnect": true, + "bluetoothDetailsViewMode": "grid", + "bluetoothHideUnnamedDevices": false, + "bluetoothRssiPollIntervalMs": 60000, + "bluetoothRssiPollingEnabled": false, + "disableDiscoverability": false, + "networkPanelView": "wifi", + "wifiDetailsViewMode": "grid" + }, + "nightLight": { + "autoSchedule": true, + "dayTemp": "6500", + "enabled": false, + "forced": false, + "manualSunrise": "06:30", + "manualSunset": "18:30", + "nightTemp": "4000" + }, + "noctaliaPerformance": { + "disableDesktopWidgets": true, + "disableWallpaper": true + }, + "notifications": { + "backgroundOpacity": 1, + "clearDismissed": true, + "criticalUrgencyDuration": 15, + "density": "default", + "enableBatteryToast": true, + "enableKeyboardLayoutToast": true, + "enableMarkdown": false, + "enableMediaToast": false, + "enabled": true, + "location": "top_right", + "lowUrgencyDuration": 3, + "monitors": [], + "normalUrgencyDuration": 8, + "overlayLayer": true, + "respectExpireTimeout": false, + "saveToHistory": { + "critical": true, + "low": true, + "normal": true + }, + "sounds": { + "criticalSoundFile": "", + "enabled": false, + "excludedApps": "discord,firefox,chrome,chromium,edge", + "lowSoundFile": "", + "normalSoundFile": "", + "separateSounds": false, + "volume": 0.5 + } + }, + "osd": { + "autoHideMs": 2000, + "backgroundOpacity": 1, + "enabled": true, + "enabledTypes": [0, 1, 2], + "location": "top_right", + "monitors": [], + "overlayLayer": true + }, + "plugins": { + "autoUpdate": false, + "notifyUpdates": true + }, + "sessionMenu": { + "countdownDuration": 10000, + "enableCountdown": true, + "largeButtonsLayout": "single-row", + "largeButtonsStyle": true, + "position": "center", + "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": ""} + ], + "showHeader": true, + "showKeybinds": true + }, + "settingsVersion": 59, + "systemMonitor": { + "batteryCriticalThreshold": 5, + "batteryWarningThreshold": 20, + "cpuCriticalThreshold": 90, + "cpuWarningThreshold": 80, + "criticalColor": "", + "diskAvailCriticalThreshold": 10, + "diskAvailWarningThreshold": 20, + "diskCriticalThreshold": 90, + "diskWarningThreshold": 80, + "enableDgpuMonitoring": true, + "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", + "gpuCriticalThreshold": 90, + "gpuWarningThreshold": 80, + "memCriticalThreshold": 90, + "memWarningThreshold": 80, + "swapCriticalThreshold": 90, + "swapWarningThreshold": 80, + "tempCriticalThreshold": 90, + "tempWarningThreshold": 80, + "useCustomColors": false, + "warningColor": "" + }, + "templates": { + "activeTemplates": [ + {"enabled": true, "id": "alacritty"}, + {"enabled": true, "id": "gtk"}, + {"enabled": true, "id": "emacs"}, + {"enabled": true, "id": "telegram"} + ], + "enableUserTheming": false + }, + "ui": { + "boxBorderEnabled": false, + "fontDefault": "Sans Serif", + "fontDefaultScale": 1, + "fontFixed": "monospace", + "fontFixedScale": 1, + "panelBackgroundOpacity": 0.93, + "panelsAttachedToBar": true, + "scrollbarAlwaysVisible": true, + "settingsPanelMode": "centered", + "settingsPanelSideBarCardStyle": false, + "tooltipsEnabled": true, + "translucentWidgets": false + }, + "wallpaper": { + "automationEnabled": false, + "directory": "{{ user_home }}/Pictures/Wallpapers", + "enableMultiMonitorDirectories": false, + "enabled": true, + "favorites": [], + "fillColor": "#000000", + "fillMode": "crop", + "hideWallpaperFilenames": false, + "linkLightAndDarkWallpapers": true, + "monitorDirectories": [], + "overviewBlur": 0.4, + "overviewEnabled": false, + "overviewTint": 0.6, + "panelPosition": "follow_bar", + "randomIntervalSec": 300, + "setWallpaperOnAllMonitors": true, + "showHiddenFiles": false, + "skipStartupTransition": false, + "solidColor": "#1a1a2e", + "sortOrder": "name", + "transitionDuration": 1500, + "transitionEdgeSmoothness": 0.05, + "transitionType": ["fade", "disc", "stripes", "wipe", "pixelate", "honeycomb"], + "useOriginalImages": false, + "useSolidColor": false, + "useWallhaven": false, + "viewMode": "single", + "wallhavenApiKey": "", + "wallhavenCategories": "111", + "wallhavenOrder": "desc", + "wallhavenPurity": "100", + "wallhavenQuery": "", + "wallhavenRatios": "", + "wallhavenResolutionHeight": "", + "wallhavenResolutionMode": "atleast", + "wallhavenResolutionWidth": "", + "wallhavenSorting": "relevance", + "wallpaperChangeMode": "random" + } +} diff --git a/dotfiles/desktop/.config/noctalia/colors.json b/dotfiles/desktop/.config/noctalia/colors.json new file mode 100644 index 0000000..64d7b79 --- /dev/null +++ b/dotfiles/desktop/.config/noctalia/colors.json @@ -0,0 +1,18 @@ +{ + "mError": "#d95757", + "mHover": "#39bae6", + "mOnError": "#0b0e14", + "mOnHover": "#0b0e14", + "mOnPrimary": "#0b0e14", + "mOnSecondary": "#0b0e14", + "mOnSurface": "#d1d1c7", + "mOnSurfaceVariant": "#8e959e", + "mOnTertiary": "#0b0e14", + "mOutline": "#565b66", + "mPrimary": "#e6b450", + "mSecondary": "#aad94c", + "mShadow": "#000000", + "mSurface": "#0b0e14", + "mSurfaceVariant": "#1e222a", + "mTertiary": "#39bae6" +} diff --git a/dotfiles/desktop/.config/noctalia/colorschemes/Lilac AMOLED/Lilac AMOLED.json b/dotfiles/desktop/.config/noctalia/colorschemes/Lilac AMOLED/Lilac AMOLED.json new file mode 100644 index 0000000..4c3508f --- /dev/null +++ b/dotfiles/desktop/.config/noctalia/colorschemes/Lilac AMOLED/Lilac AMOLED.json @@ -0,0 +1,90 @@ +{ + "dark": { + "mPrimary": "#b58fff", + "mOnPrimary": "#000000", + "mSecondary": "#c79aff", + "mOnSecondary": "#000000", + "mTertiary": "#d8b4ff", + "mOnTertiary": "#000000", + "mError": "#ff6f9b", + "mOnError": "#000000", + "mSurface": "#000000", + "mOnSurface": "#e8d8ff", + "mSurfaceVariant": "#110d1a", + "mOnSurfaceVariant": "#b58fff", + "mOutline": "#4c3a70", + "mShadow": "#000000", + "terminal": { + "foreground": "#e8d8ff", + "background": "#000000", + "selectionFg": "#e8d8ff", + "selectionBg": "#4c3a70", + "cursorText": "#000000", + "cursor": "#e8d8ff", + "normal": { + "black": "#000000", + "red": "#ff6f9b", + "green": "#a8e6cf", + "yellow": "#d8b4ff", + "blue": "#b58fff", + "magenta": "#c79aff", + "cyan": "#e0c1ff", + "white": "#e8d8ff" + }, + "bright": { + "black": "#4c3a70", + "red": "#ff8cb3", + "green": "#b8f0d8", + "yellow": "#e6d1ff", + "blue": "#c9a8ff", + "magenta": "#d4b8ff", + "cyan": "#f0e0ff", + "white": "#f5f0ff" + } + } + }, + "light": { + "mPrimary": "#8a56d4", + "mOnPrimary": "#ffffff", + "mSecondary": "#a074ff", + "mOnSecondary": "#ffffff", + "mTertiary": "#c79aff", + "mOnTertiary": "#ffffff", + "mError": "#ff6f9b", + "mOnError": "#ffffff", + "mSurface": "#fbf8ff", + "mOnSurface": "#1a1428", + "mSurfaceVariant": "#e8e0f8", + "mOnSurfaceVariant": "#8a56d4", + "mOutline": "#9b85c2", + "mShadow": "#e2d8f5", + "terminal": { + "foreground": "#1a1428", + "background": "#fbf8ff", + "selectionFg": "#1a1428", + "selectionBg": "#e8e0f8", + "cursorText": "#fbf8ff", + "cursor": "#1a1428", + "normal": { + "black": "#6b5b95", + "red": "#ff6f9b", + "green": "#6fb58f", + "yellow": "#c79aff", + "blue": "#8a56d4", + "magenta": "#a074ff", + "cyan": "#b89fff", + "white": "#1a1428" + }, + "bright": { + "black": "#9b85c2", + "red": "#ff8cb3", + "green": "#85d7a8", + "yellow": "#e0c1ff", + "blue": "#b58fff", + "magenta": "#c79aff", + "cyan": "#d8b4ff", + "white": "#120f1f" + } + } + } +} diff --git a/dotfiles/desktop/.config/noctalia/colorschemes/Rosey AMOLED/Rosey AMOLED.json b/dotfiles/desktop/.config/noctalia/colorschemes/Rosey AMOLED/Rosey AMOLED.json new file mode 100644 index 0000000..5b8eedc --- /dev/null +++ b/dotfiles/desktop/.config/noctalia/colorschemes/Rosey AMOLED/Rosey AMOLED.json @@ -0,0 +1,90 @@ +{ + "dark": { + "mPrimary": "#ff8cb3", + "mOnPrimary": "#000000", + "mSecondary": "#ffb3cc", + "mOnSecondary": "#000000", + "mTertiary": "#ffcce0", + "mOnTertiary": "#000000", + "mError": "#ff99b8", + "mOnError": "#000000", + "mSurface": "#000000", + "mOnSurface": "#ffe0eb", + "mSurfaceVariant": "#1a0f16", + "mOnSurfaceVariant": "#ff8cb3", + "mOutline": "#5a3f4d", + "mShadow": "#000000", + "terminal": { + "foreground": "#ffe0eb", + "background": "#000000", + "selectionFg": "#ffe0eb", + "selectionBg": "#5a3f4d", + "cursorText": "#000000", + "cursor": "#ffe0eb", + "normal": { + "black": "#000000", + "red": "#ff99b8", + "green": "#ffccdd", + "yellow": "#ffcce0", + "blue": "#ff8cb3", + "magenta": "#ffb3cc", + "cyan": "#ffd6e8", + "white": "#ffe0eb" + }, + "bright": { + "black": "#5a3f4d", + "red": "#ffb8cc", + "green": "#ffd6e8", + "yellow": "#ffe0f0", + "blue": "#ffa8c2", + "magenta": "#ffccdd", + "cyan": "#ffe8f2", + "white": "#fff0f5" + } + } + }, + "light": { + "mPrimary": "#e57399", + "mOnPrimary": "#ffffff", + "mSecondary": "#ff99b8", + "mOnSecondary": "#ffffff", + "mTertiary": "#ffb3cc", + "mOnTertiary": "#ffffff", + "mError": "#ff99b8", + "mOnError": "#ffffff", + "mSurface": "#fff5fa", + "mOnSurface": "#2c1822", + "mSurfaceVariant": "#f5d6e3", + "mOnSurfaceVariant": "#e57399", + "mOutline": "#b38099", + "mShadow": "#f0d0e0", + "terminal": { + "foreground": "#2c1822", + "background": "#fff5fa", + "selectionFg": "#2c1822", + "selectionBg": "#f5d6e3", + "cursorText": "#fff5fa", + "cursor": "#2c1822", + "normal": { + "black": "#8c6075", + "red": "#ff99b8", + "green": "#e599b3", + "yellow": "#ffb3cc", + "blue": "#e57399", + "magenta": "#ff99b8", + "cyan": "#ffb8d1", + "white": "#2c1822" + }, + "bright": { + "black": "#b38099", + "red": "#ffb8cc", + "green": "#ffccdd", + "yellow": "#ffcce0", + "blue": "#ff8cb3", + "magenta": "#ffb3cc", + "cyan": "#ffd6e8", + "white": "#1a1015" + } + } + } +} diff --git a/dotfiles/desktop/.config/noctalia/colorschemes/Vesper/Vesper.json b/dotfiles/desktop/.config/noctalia/colorschemes/Vesper/Vesper.json new file mode 100644 index 0000000..07e9a84 --- /dev/null +++ b/dotfiles/desktop/.config/noctalia/colorschemes/Vesper/Vesper.json @@ -0,0 +1,94 @@ +{ + "dark": { + "mPrimary": "#FFC799", + "mOnPrimary": "#000000", + "mSecondary": "#99FFE4", + "mOnSecondary": "#000000", + "mTertiary": "#FBADFF", + "mOnTertiary": "#000000", + "mError": "#FF8080", + "mOnError": "#000000", + "mSurface": "#0C0C0C", + "mOnSurface": "#FFFFFF", + "mSurfaceVariant": "#1C1C1C", + "mOnSurfaceVariant": "#A0A0A0", + "mOutline": "#505050", + "mShadow": "#000000", + "mHover": "#282828", + "mOnHover": "#FFFFFF", + "terminal": { + "foreground": "#FFFFFF", + "background": "#0C0C0C", + "normal": { + "black": "#0C0C0C", + "red": "#FF8080", + "green": "#99FFE4", + "yellow": "#FFC799", + "blue": "#80B3FF", + "magenta": "#FBADFF", + "cyan": "#99FFE4", + "white": "#A0A0A0" + }, + "bright": { + "black": "#505050", + "red": "#FF8080", + "green": "#99FFE4", + "yellow": "#FFC799", + "blue": "#80B3FF", + "magenta": "#FBADFF", + "cyan": "#99FFE4", + "white": "#FFFFFF" + }, + "cursor": "#FFFFFF", + "cursorText": "#000000", + "selectionFg": "#000000", + "selectionBg": "#FFC799" + } + }, + "light": { + "mPrimary": "#FFB170", + "mOnPrimary": "#0C0C0C", + "mSecondary": "#00CC99", + "mOnSecondary": "#0C0C0C", + "mTertiary": "#FBADFF", + "mOnTertiary": "#0C0C0C", + "mError": "#FF8080", + "mOnError": "#0C0C0C", + "mSurface": "#F2F2F2", + "mOnSurface": "#0C0C0C", + "mSurfaceVariant": "#E5E5E5", + "mOnSurfaceVariant": "#282828", + "mOutline": "#505050", + "mShadow": "#D9D9D9", + "mHover": "#E0E0E0", + "mOnHover": "#0C0C0C", + "terminal": { + "foreground": "#0C0C0C", + "background": "#F2F2F2", + "normal": { + "black": "#F2F2F2", + "red": "#FF8080", + "green": "#00CC99", + "yellow": "#FFC799", + "blue": "#004A77", + "magenta": "#FBADFF", + "cyan": "#006B57", + "white": "#505050" + }, + "bright": { + "black": "#A0A0A0", + "red": "#FF8080", + "green": "#00CC99", + "yellow": "#FFC799", + "blue": "#80B3FF", + "magenta": "#FBADFF", + "cyan": "#99FFE4", + "white": "#0C0C0C" + }, + "cursor": "#0C0C0C", + "cursorText": "#F2F2F2", + "selectionFg": "#F2F2F2", + "selectionBg": "#FFC799" + } + } +} diff --git a/dotfiles/desktop/.config/noctalia/plugins.json b/dotfiles/desktop/.config/noctalia/plugins.json new file mode 100644 index 0000000..400f1f5 --- /dev/null +++ b/dotfiles/desktop/.config/noctalia/plugins.json @@ -0,0 +1,24 @@ +{ + "sources": [ + { + "enabled": true, + "name": "Noctalia Plugins", + "url": "https://github.com/noctalia-dev/noctalia-plugins" + } + ], + "states": { + "clipper": { + "enabled": true, + "sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins" + }, + "polkit-agent": { + "enabled": true, + "sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins" + }, + "screenshot": { + "enabled": true, + "sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins" + } + }, + "version": 2 +} diff --git a/dotfiles/desktop/.config/noctalia/plugins/clipper/settings.json b/dotfiles/desktop/.config/noctalia/plugins/clipper/settings.json new file mode 100644 index 0000000..f0d0259 --- /dev/null +++ b/dotfiles/desktop/.config/noctalia/plugins/clipper/settings.json @@ -0,0 +1,84 @@ +{ + "message": "Clipboard Panel", + "backgroundColor": "#fabd2f", + "cardColors": { + "Text": { + "bg": "mOutline", + "separator": "mSurface", + "fg": "mOnSurface" + }, + "Image": { + "bg": "mTertiary", + "separator": "mSurface", + "fg": "mOnTertiary" + }, + "Link": { + "bg": "mPrimary", + "separator": "mSurface", + "fg": "mOnPrimary" + }, + "Code": { + "bg": "mSecondary", + "separator": "mSurface", + "fg": "mOnSecondary" + }, + "Color": { + "bg": "mSecondary", + "separator": "mSurface", + "fg": "mOnSecondary" + }, + "Emoji": { + "bg": "mHover", + "separator": "mSurface", + "fg": "mOnHover" + }, + "File": { + "bg": "mError", + "separator": "mSurface", + "fg": "mOnError" + } + }, + "customColors": { + "Text": { + "bg": "#555555", + "separator": "#000000", + "fg": "#e9e4f0" + }, + "Image": { + "bg": "#e0b7c9", + "separator": "#000000", + "fg": "#20161f" + }, + "Link": { + "bg": "#c7a1d8", + "separator": "#000000", + "fg": "#1a151f" + }, + "Code": { + "bg": "#a984c4", + "separator": "#000000", + "fg": "#f3edf7" + }, + "Color": { + "bg": "#a984c4", + "separator": "#000000", + "fg": "#f3edf7" + }, + "Emoji": { + "bg": "#e0b7c9", + "separator": "#000000", + "fg": "#20161f" + }, + "File": { + "bg": "#e9899d", + "separator": "#000000", + "fg": "#1e1418" + } + }, + "enableTodoIntegration": true, + "autoOpenPinnedPanel": false, + "pincardsEnabled": true, + "notecardsEnabled": true, + "showCloseButton": true, + "closeOnBackgroundClick": true +}