From 09052240105a2f96c2f412193b244d8c23215e4d Mon Sep 17 00:00:00 2001 From: Daniele Pintore Date: Sat, 18 Apr 2026 00:49:47 +0200 Subject: [PATCH] feat: use noctalia shell instead of waybar and hyprpaper and other tools --- .config/hypr/fn_keys.conf | 24 +- .config/hypr/hyprland.conf | 13 +- .config/noctalia/plugins.json | 20 + .config/noctalia/settings.json | 693 +++++++++++++++++++++++++++++++++ 4 files changed, 735 insertions(+), 15 deletions(-) create mode 100644 .config/noctalia/plugins.json create mode 100644 .config/noctalia/settings.json diff --git a/.config/hypr/fn_keys.conf b/.config/hypr/fn_keys.conf index 33b6f4f..ed29c1b 100644 --- a/.config/hypr/fn_keys.conf +++ b/.config/hypr/fn_keys.conf @@ -1,24 +1,30 @@ +$noctalia_ipc = uwsm app -- qs -c noctalia-shell ipc call + # Volume -binde =, XF86AudioLowerVolume, exec, pamixer -d 5 # decrease 5% -binde =, XF86AudioRaiseVolume, exec, pamixer -i 5 # increase 5% -bind =, XF86AudioMute, exec, pamixer -t # toggle mute/unmute +binde =, XF86AudioLowerVolume, exec, $noctalia_ipc volume decrease +binde =, XF86AudioRaiseVolume, exec, $noctalia_ipc volume increase +bind =, XF86AudioMute, exec, $noctalia_ipc volume muteOutput # Mic volume binde =SUPER,XF86AudioLowerVolume, exec, amixer -q set Dmic0 3%- binde =SUPER,XF86AudioRaiseVolume, exec, amixer -q set Dmic0 3%+ #binde =,XF86AudioMicMute, exec, amixer -q set Dmic0 toggle -binde =,XF86AudioMicMute, exec, pamixer -d 5 +binde =,XF86AudioMicMute, exec, $noctalia_ipc volume decrease #Screen brightness -binde =,XF86MonBrightnessDown, exec, xbacklight -dec 5 -binde =,XF86MonBrightnessUp, exec, xbacklight -inc 5 +binde =,XF86MonBrightnessDown, exec, $noctalia_ipc brightness decrease +binde =,XF86MonBrightnessUp, exec, $noctalia_ipc brightness increase # Shutdown menu -bind =SUPER,Delete,exec,rofi -show p -modi p:'~/.config/rofi/utils/rofi-power-menu --choices shutdown/reboot/suspend/logout --no-symbols' +bind =SUPER,Delete,exec, $noctalia_ipc sessionMenu toggle + +# Noctalia settings menu +bind =SUPER,Home,exec, $noctalia_ipc settings toggle + +# Do not disturb +bind =, XF86NotificationCenter, exec, $noctalia_ipc notifications toggleDND # Media controls bind =, XF86PickupPhone, exec, playerctl previous bind =, XF86HangupPhone, exec, playerctl play-pause bind =, XF86Favorites, exec, playerctl next - - diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 1758b4a..2c71ef6 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -28,10 +28,7 @@ $messenger = Telegram $aiChat = gtk-launch Perplexity.desktop # Execute your favorite apps at launch -exec-once = uwsm app -- waybar -# select a random wallpaper -exec-once = uwsm app -- waypaper --state-file ~/.config/waypaper/state.ini --folder ~/.config/hypr/wallpapers --restore -exec-once = uwsm app -- dunst +exec-once = uwsm app -- qs -c noctalia-shell exec-once = uwsm app -- batsignal -b -e -w 30 -c 20 -d 10 -f 100 exec-once = uwsm app -- nm-applet exec-once = uwsm app -- sleep 1 && blueman-applet @@ -157,6 +154,7 @@ source = ~/.config/hypr/shaders/shader.conf # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER +$noctalia_ipc = uwsm app -- qs -c noctalia-shell ipc call # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, uwsm app -- $terminal @@ -164,11 +162,11 @@ bind = $mainMod SHIFT, Q, exec, uwsm app -- $terminal --theme=BlueBerryPie --bac bind = $mainMod, M, exec, uwsm app -- $messenger bind = $mainMod, E, exec, uwsm app -- $fileManager bind = $mainMod, W, exec, uwsm app -- $browser -bind = $mainMod SHIFT, W, exec, uwsm app -- waypaper --state-file ~/.config/waypaper/state.ini --folder ~/.config/hypr/wallpapers +bind = $mainMod SHIFT, W, exec, uwsm app -- $noctalia_ipc wallpaper toggle bind = $mainMod, S, exec, uwsm app -- sh -c 'IMG=$(xdg-user-dir PICTURES)/Screenshots/$(date +'%s_grim.png') && grim $IMG && wl-copy < $IMG' # screenshot bind = ,print, exec, uwsm app -- sh -c 'IMG=$(xdg-user-dir PICTURES)/Screenshots/$(date +'%s_grim.png') && grim -g "$(slurp)" $IMG && wl-copy < $IMG' # screenshot only a part of the screen bind = $mainMod SHIFT, S, exec, uwsm app -- sh -c 'IMG=$(xdg-user-dir PICTURES)/Screenshots/$(date +'%s_grim.png') && grim -g "$(slurp)" $IMG && wl-copy < $IMG' # screenshot only a part of the screen -bind = $mainMod, R, exec, uwsm app -- rofi -run-command='uwsm app -- {cmd}' -show drun -show-icons +bind = $mainMod, R, exec, $noctalia_ipc launcher toggle bind = $mainMod, A, exec, uwsm app -- $aiChat bind = $mainMod, C, killactive, bind = $mainMod, T, togglefloating, @@ -228,3 +226,6 @@ binde = $mainMod SHIFT, l, resizeactive, 10 0 binde = $mainMod SHIFT, h, resizeactive, -10 0 binde = $mainMod SHIFT, k, resizeactive, 0 -10 binde = $mainMod SHIFT, j, resizeactive, 0 10 + +source = /home/daniele/.config/hypr/noctalia/noctalia-colors.conf + diff --git a/.config/noctalia/plugins.json b/.config/noctalia/plugins.json new file mode 100644 index 0000000..6b0c88b --- /dev/null +++ b/.config/noctalia/plugins.json @@ -0,0 +1,20 @@ +{ + "sources": [ + { + "enabled": true, + "name": "Noctalia Plugins", + "url": "https://github.com/noctalia-dev/noctalia-plugins" + } + ], + "states": { + "screen-recorder": { + "enabled": true, + "sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins" + }, + "usb-drive-manager": { + "enabled": true, + "sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins" + } + }, + "version": 2 +} diff --git a/.config/noctalia/settings.json b/.config/noctalia/settings.json new file mode 100644 index 0000000..b5f0f72 --- /dev/null +++ b/.config/noctalia/settings.json @@ -0,0 +1,693 @@ +{ + "appLauncher": { + "autoPasteClipboard": false, + "clipboardWatchImageCommand": "wl-paste --type image --watch cliphist store", + "clipboardWatchTextCommand": "wl-paste --type text --watch cliphist store", + "clipboardWrapText": true, + "customLaunchPrefix": "uwsm app --", + "customLaunchPrefixEnabled": true, + "density": "default", + "enableClipPreview": true, + "enableClipboardChips": true, + "enableClipboardHistory": false, + "enableClipboardSmartIcons": true, + "enableSessionSearch": true, + "enableSettingsSearch": true, + "enableWindowsSearch": true, + "iconMode": "native", + "ignoreMouseInput": false, + "overviewLayer": false, + "pinnedApps": [ + ], + "position": "center", + "screenshotAnnotationTool": "", + "showCategories": false, + "showIconBackground": false, + "sortByMostUsed": true, + "terminalCommand": "wezterm", + "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, + "barType": "floating", + "capsuleColorKey": "none", + "capsuleOpacity": 0.5, + "contentPadding": 2, + "density": "default", + "displayMode": "always_visible", + "enableExclusionZoneInset": false, + "fontScale": 1, + "frameRadius": 12, + "frameThickness": 8, + "hideOnOverview": false, + "marginHorizontal": 4, + "marginVertical": 4, + "middleClickAction": "none", + "middleClickCommand": "", + "middleClickFollowMouse": false, + "monitors": [ + ], + "mouseWheelAction": "none", + "mouseWheelWrap": true, + "outerCorners": true, + "position": "top", + "reverseScroll": false, + "rightClickAction": "controlCenter", + "rightClickCommand": "", + "rightClickFollowMouse": true, + "screenOverrides": [ + ], + "showCapsule": true, + "showOnWorkspaceSwitch": true, + "showOutline": false, + "useSeparateOpacity": true, + "widgetSpacing": 4, + "widgets": { + "center": [ + { + "clockColor": "none", + "customFont": "JetBrainsMono NF", + "formatHorizontal": "HH:mm ddd, MMM dd", + "formatVertical": "HH mm - dd MM", + "id": "Clock", + "tooltipFormat": "HH:mm ddd, MMM dd", + "useCustomFont": false + } + ], + "left": [ + { + "defaultSettings": { + "autoMount": false, + "fileBrowser": "yazi", + "hideWhenEmpty": false, + "iconColor": "none", + "showBadge": false, + "showNotifications": true, + "terminalCommand": "kitty" + }, + "id": "plugin:usb-drive-manager" + }, + { + "defaultSettings": { + "audioCodec": "opus", + "audioSource": "default_output", + "colorRange": "limited", + "copyToClipboard": false, + "customReplayDuration": "30", + "directory": "", + "filenamePattern": "recording_yyyyMMdd_HHmmss", + "frameRate": "60", + "hideInactive": false, + "iconColor": "none", + "quality": "very_high", + "replayDuration": "30", + "replayEnabled": false, + "replayStorage": "ram", + "resolution": "original", + "restorePortalSession": false, + "showCursor": true, + "videoCodec": "h264", + "videoSource": "portal" + }, + "id": "plugin:screen-recorder" + }, + { + "blacklist": [ + ], + "chevronColor": "none", + "colorizeIcons": false, + "drawerEnabled": true, + "hidePassive": true, + "id": "Tray", + "pinned": [ + ] + } + ], + "right": [ + { + "displayMode": "onhover", + "iconColor": "none", + "id": "Volume", + "middleClickCommand": "pwvucontrol || pavucontrol", + "textColor": "none" + }, + { + "applyToAllMonitors": false, + "displayMode": "onhover", + "iconColor": "none", + "id": "Brightness", + "textColor": "none" + }, + { + "displayMode": "alwaysShow", + "iconColor": "none", + "id": "VPN", + "textColor": "none" + }, + { + "displayMode": "alwaysShow", + "iconColor": "none", + "id": "Network", + "textColor": "none" + }, + { + "hideWhenZero": false, + "hideWhenZeroUnread": false, + "iconColor": "none", + "id": "NotificationHistory", + "showUnreadBadge": true, + "unreadBadgeColor": "primary" + }, + { + "iconColor": "none", + "id": "KeepAwake", + "textColor": "none" + }, + { + "deviceNativePath": "__default__", + "displayMode": "icon-always", + "hideIfIdle": false, + "hideIfNotDetected": true, + "id": "Battery", + "showNoctaliaPerformance": false, + "showPowerProfiles": false + }, + { + "colorizeDistroLogo": false, + "colorizeSystemIcon": "none", + "colorizeSystemText": "none", + "customIconPath": "", + "enableColorization": false, + "icon": "align-right", + "id": "ControlCenter", + "useDistroLogo": false + } + ] + } + }, + "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": "content", + "manualSunrise": "06:30", + "manualSunset": "18:30", + "monitorForColors": "", + "predefinedScheme": "Catppuccin", + "schedulingMode": "off", + "syncGsettings": true, + "useWallpaperColors": true + }, + "controlCenter": { + "cards": [ + { + "enabled": true, + "id": "profile-card" + }, + { + "enabled": true, + "id": "shortcuts-card" + }, + { + "enabled": true, + "id": "audio-card" + }, + { + "enabled": true, + "id": "brightness-card" + }, + { + "enabled": false, + "id": "weather-card" + }, + { + "enabled": false, + "id": "media-sysmon-card" + } + ], + "diskPath": "/", + "position": "top_right", + "shortcuts": { + "left": [ + { + "id": "Network" + }, + { + "id": "Bluetooth" + }, + { + "id": "WallpaperSelector" + }, + { + "id": "NoctaliaPerformance" + } + ], + "right": [ + { + "id": "Notifications" + }, + { + "id": "PowerProfile" + }, + { + "id": "KeepAwake" + }, + { + "id": "NightLight" + } + ] + } + }, + "desktopWidgets": { + "enabled": false, + "gridSnap": true, + "gridSnapScale": false, + "monitorWidgets": [ + { + "name": "eDP-1", + "widgets": [ + ] + } + ], + "overviewEnabled": false + }, + "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.3, + "autoStartAuth": false, + "avatarImage": "/home/daniele/.config/avatar", + "boxRadiusRatio": 1, + "clockFormat": "hh\\nmm", + "clockStyle": "custom", + "compactLockScreen": true, + "dimmerOpacity": 0.2, + "enableBlurBehind": false, + "enableLockScreenCountdown": false, + "enableLockScreenMediaControls": false, + "enableShadows": false, + "forceBlackScreenCorners": false, + "iRadiusRatio": 1, + "keybinds": { + "keyDown": [ + "Down" + ], + "keyEnter": [ + "Return", + "Enter" + ], + "keyEscape": [ + "Esc" + ], + "keyLeft": [ + "Left" + ], + "keyRemove": [ + "Del" + ], + "keyRight": [ + "Right" + ], + "keyUp": [ + "Up" + ] + }, + "language": "", + "lockOnSuspend": true, + "lockScreenAnimations": true, + "lockScreenBlur": 0.49, + "lockScreenCountdownDuration": 10000, + "lockScreenMonitors": [ + "eDP-1" + ], + "lockScreenTint": 0, + "passwordChars": false, + "radiusRatio": 1, + "reverseScroll": true, + "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": true, + "performanceModeDisabled": "", + "performanceModeEnabled": "", + "screenLock": "", + "screenUnlock": "", + "session": "", + "startup": "", + "wallpaperChange": "ln -sf \"$1\" ~/.config/hypr/wallpapers/.current-background.jpg" + }, + "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": "Cagliari", + "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": false, + "enabledTypes": [ + 0, + 1, + 2 + ], + "location": "top_right", + "monitors": [ + ], + "overlayLayer": true + }, + "plugins": { + "autoUpdate": false, + "notifyUpdates": true + }, + "sessionMenu": { + "countdownDuration": 10000, + "enableCountdown": false, + "largeButtonsLayout": "grid", + "largeButtonsStyle": true, + "position": "center", + "powerOptions": [ + { + "action": "lock", + "command": "hyprlock", + "countdownEnabled": true, + "enabled": true, + "keybind": "1" + }, + { + "action": "suspend", + "command": "", + "countdownEnabled": true, + "enabled": true, + "keybind": "2" + }, + { + "action": "hibernate", + "command": "", + "countdownEnabled": true, + "enabled": false, + "keybind": "" + }, + { + "action": "reboot", + "command": "", + "countdownEnabled": true, + "enabled": true, + "keybind": "3" + }, + { + "action": "logout", + "command": "", + "countdownEnabled": true, + "enabled": true, + "keybind": "4" + }, + { + "action": "shutdown", + "command": "", + "countdownEnabled": true, + "enabled": true, + "keybind": "5" + }, + { + "action": "rebootToUefi", + "command": "", + "countdownEnabled": true, + "enabled": false, + "keybind": "" + }, + { + "action": "userspaceReboot", + "command": "", + "countdownEnabled": true, + "enabled": true, + "keybind": "6" + } + ], + "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": false, + "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": "gtk" + }, + { + "enabled": true, + "id": "qt" + }, + { + "enabled": true, + "id": "zenBrowser" + }, + { + "enabled": true, + "id": "hyprland" + } + ], + "enableUserTheming": false + }, + "ui": { + "boxBorderEnabled": false, + "fontDefault": "JetBrainsMono NF", + "fontDefaultScale": 1, + "fontFixed": "JetBrainsMono NF", + "fontFixedScale": 1, + "panelBackgroundOpacity": 0.93, + "panelsAttachedToBar": false, + "scrollbarAlwaysVisible": true, + "settingsPanelMode": "attached", + "settingsPanelSideBarCardStyle": false, + "tooltipsEnabled": true, + "translucentWidgets": false + }, + "wallpaper": { + "automationEnabled": false, + "directory": "/home/daniele/.config/hypr/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": "date_desc", + "transitionDuration": 500, + "transitionEdgeSmoothness": 0.01, + "transitionType": [ + "fade" + ], + "useOriginalImages": true, + "useSolidColor": false, + "useWallhaven": false, + "viewMode": "single", + "wallhavenApiKey": "", + "wallhavenCategories": "111", + "wallhavenOrder": "desc", + "wallhavenPurity": "100", + "wallhavenQuery": "anime", + "wallhavenRatios": "", + "wallhavenResolutionHeight": "", + "wallhavenResolutionMode": "atleast", + "wallhavenResolutionWidth": "", + "wallhavenSorting": "relevance", + "wallpaperChangeMode": "random" + } +}