From 236be03fab822f4568333ea0ffac1b0c43720b04 Mon Sep 17 00:00:00 2001 From: Dmitri Date: Tue, 14 Apr 2026 13:03:39 +0200 Subject: [PATCH] noctalia --- noctalia/colors.json | 18 + noctalia/plugins.json | 12 + noctalia/settings.json | 640 +++++++++++++++++++++++++ nvim/lua/kanopo/plugins/treesitter.lua | 16 +- sway/config | 80 +--- 5 files changed, 694 insertions(+), 72 deletions(-) create mode 100644 noctalia/colors.json create mode 100644 noctalia/plugins.json create mode 100644 noctalia/settings.json diff --git a/noctalia/colors.json b/noctalia/colors.json new file mode 100644 index 0000000..e10baff --- /dev/null +++ b/noctalia/colors.json @@ -0,0 +1,18 @@ +{ + "mError": "#fb4934", + "mHover": "#83a598", + "mOnError": "#282828", + "mOnHover": "#282828", + "mOnPrimary": "#282828", + "mOnSecondary": "#282828", + "mOnSurface": "#fbf1c7", + "mOnSurfaceVariant": "#ebdbb2", + "mOnTertiary": "#282828", + "mOutline": "#57514e", + "mPrimary": "#b8bb26", + "mSecondary": "#fabd2f", + "mShadow": "#282828", + "mSurface": "#282828", + "mSurfaceVariant": "#3c3836", + "mTertiary": "#83a598" +} diff --git a/noctalia/plugins.json b/noctalia/plugins.json new file mode 100644 index 0000000..04b0a22 --- /dev/null +++ b/noctalia/plugins.json @@ -0,0 +1,12 @@ +{ + "sources": [ + { + "enabled": true, + "name": "Noctalia Plugins", + "url": "https://github.com/noctalia-dev/noctalia-plugins" + } + ], + "states": { + }, + "version": 2 +} diff --git a/noctalia/settings.json b/noctalia/settings.json new file mode 100644 index 0000000..8cc657f --- /dev/null +++ b/noctalia/settings.json @@ -0,0 +1,640 @@ +{ + "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": true, + "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": "compact", + "displayMode": "always_visible", + "enableExclusionZoneInset": true, + "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": 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 + } + ], + "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 + }, + { + "colorizeIcons": false, + "hideMode": "hidden", + "id": "ActiveWindow", + "maxWidth": 145, + "scrollingMode": "hover", + "showIcon": true, + "showText": true, + "textColor": "none", + "useFixedWidth": false + } + ], + "right": [ + { + "blacklist": [ + ], + "chevronColor": "none", + "colorizeIcons": false, + "drawerEnabled": false, + "hidePassive": false, + "id": "Tray", + "pinned": [ + ] + }, + { + "hideWhenZero": false, + "hideWhenZeroUnread": false, + "iconColor": "none", + "id": "NotificationHistory", + "showUnreadBadge": true, + "unreadBadgeColor": "primary" + }, + { + "deviceNativePath": "__default__", + "displayMode": "graphic-clean", + "hideIfIdle": false, + "hideIfNotDetected": true, + "id": "Battery", + "showNoctaliaPerformance": false, + "showPowerProfiles": false + }, + { + "colorizeDistroLogo": false, + "colorizeSystemIcon": "secondary", + "customIconPath": "", + "enableColorization": true, + "icon": "noctalia", + "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": "tonal-spot", + "manualSunrise": "06:30", + "manualSunset": "18:30", + "monitorForColors": "", + "predefinedScheme": "Gruvbox", + "schedulingMode": "off", + "syncGsettings": true, + "useWallpaperColors": false + }, + "controlCenter": { + "cards": [ + { + "enabled": true, + "id": "profile-card" + }, + { + "enabled": true, + "id": "shortcuts-card" + }, + { + "enabled": true, + "id": "audio-card" + }, + { + "enabled": false, + "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": "/home/user/.face", + "boxRadiusRatio": 1, + "clockFormat": "hh\\nmm", + "clockStyle": "custom", + "compactLockScreen": false, + "dimmerOpacity": 0.23, + "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": true, + "hideWeatherTimezone": true, + "name": "Parma", + "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": true, + "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": false, + "keybind": "" + }, + { + "action": "hibernate", + "command": "", + "countdownEnabled": true, + "enabled": false, + "keybind": "" + }, + { + "action": "reboot", + "command": "", + "countdownEnabled": true, + "enabled": true, + "keybind": "2" + }, + { + "action": "logout", + "command": "", + "countdownEnabled": true, + "enabled": true, + "keybind": "3" + }, + { + "action": "shutdown", + "command": "", + "countdownEnabled": true, + "enabled": true, + "keybind": "4" + }, + { + "action": "rebootToUefi", + "command": "", + "countdownEnabled": true, + "enabled": false, + "keybind": "" + }, + { + "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": 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": [ + ], + "enableUserTheming": false + }, + "ui": { + "boxBorderEnabled": false, + "fontDefault": "Iosevka NF", + "fontDefaultScale": 1, + "fontFixed": "monospace", + "fontFixedScale": 1, + "panelBackgroundOpacity": 0.93, + "panelsAttachedToBar": true, + "scrollbarAlwaysVisible": true, + "settingsPanelMode": "attached", + "settingsPanelSideBarCardStyle": false, + "tooltipsEnabled": true, + "translucentWidgets": false + }, + "wallpaper": { + "automationEnabled": false, + "directory": "/home/user/Nextcloud/wallpapers/laptop", + "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/nvim/lua/kanopo/plugins/treesitter.lua b/nvim/lua/kanopo/plugins/treesitter.lua index 44436c9..e78bd71 100644 --- a/nvim/lua/kanopo/plugins/treesitter.lua +++ b/nvim/lua/kanopo/plugins/treesitter.lua @@ -1,15 +1,5 @@ return { - "nvim-treesitter/nvim-treesitter", - build = ":TSUpdate", - event = { "VeryLazy" }, - lazy = vim.fn.argc(-1) == 0, -- load treesitter early when opening a file from the cmdline - cmd = { "TSUpdateSync", "TSUpdate", "TSInstall" }, - opts = { - highlight = { enable = true }, - indent = { enable = true }, - auto_install = { enable = true } - }, - config = function(_, opts) - require("nvim-treesitter.configs").setup(opts) - end, + "nvim-treesitter/nvim-treesitter", + lazy = false, + build = ":TSUpdate", } diff --git a/sway/config b/sway/config index ef1c26c..b3faae4 100644 --- a/sway/config +++ b/sway/config @@ -6,11 +6,11 @@ set $mod Mod4 # set $right l set $term foot # Launcher: wofi (sostituisce wmenu-run) -set $menu wofi -S drun -p Search -I -b -i +# set $menu wofi -S drun -p Search -I -b -i # Wallpaper e output -set $wallpaper ~/Nextcloud/wallpapers/laptop/hiroishi_nagasai.png -set $benq_wallpaper ~/Nextcloud/wallpapers/laptop/hiroishi_nagasai.png +# set $wallpaper ~/Nextcloud/wallpapers/laptop/hiroishi_nagasai.png +# set $benq_wallpaper ~/Nextcloud/wallpapers/laptop/hiroishi_nagasai.png set $laptop eDP-1 set $benq DP-9 @@ -29,13 +29,13 @@ set $gruvbox_aqua #689d6a set $gruvbox_orange #d65d0e # Impostazione del wallpaper e configurazione output -output * bg $wallpaper fill +# output * bg $wallpaper fill # Imposta il profilo ICC, risoluzione, posizione e scala per il display laptop output $laptop color_profile icc ~/Documents/dotfiles/sway/FRAMEWORK_13_BOE_ICC/BOE_CQ_______NE135FBM_N41_03.icm output $laptop resolution 2256x1504 position 0,0 output $laptop scale 1.3 # Configure BenQ display -output $benq bg $benq_wallpaper fill +# output $benq bg $benq_wallpaper fill output $laptop color_profile icc ~/Documents/dotfiles/sway/BENQ_PD2706QN_ICC/'Display P3.icc' output $benq resolution 2560x1440@99.990Hz position 0,0 output $laptop scale 1.3 @@ -45,7 +45,7 @@ bindswitch --reload --locked lid:on output $laptop disable bindswitch --reload --locked lid:off output $laptop enable # Configurazione dell'inattività: lock e DPMS -exec swayidle -w +# Delegata a noctalia-shell (abilitalo nelle impostazioni di Noctalia -> Idle) input type:touchpad { dwt enabled # Disable while typing - RIATTIVA QUESTA OPZIONE @@ -74,9 +74,9 @@ bindsym $mod+Return exec $term # Chiudi finestra focalizzata bindsym $mod+Shift+q kill - +set $ipc qs -c noctalia-shell ipc call # Avvia il launcher -bindsym $mod+d exec $menu +bindsym $mod+d exec $ipc launcher toggle # Modalità floating: trascina finestre con $mod + mouse floating_modifier $mod normal @@ -84,25 +84,14 @@ floating_modifier $mod normal # Ricarica la configurazione bindsym $mod+Shift+c reload -# Esci da Sway (con conferma tramite swaynag) -# bindsym $mod+Shift+e exec swaynag -t warning -m 'Hai premuto la scorciatoia per uscire. Vuoi davvero uscire da Sway?' -B 'Sì, esci' 'swaymsg exit' - ### Navigazione e spostamento tra finestre # Sposta il focus -# bindsym $mod+$left focus left -# bindsym $mod+$down focus down -# bindsym $mod+$up focus up -# bindsym $mod+$right focus right bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right # Sposta la finestra focalizzata -# bindsym $mod+Shift+$left move left -# bindsym $mod+Shift+$down move down -# bindsym $mod+Shift+$up move up -# bindsym $mod+Shift+$right move right bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up @@ -161,10 +150,6 @@ bindsym $mod+minus scratchpad show ### Modalità "resize" per ridimensionare le finestre mode "resize" { - # bindsym $left resize shrink width 10px - # bindsym $down resize grow height 10px - # bindsym $up resize shrink height 10px - # bindsym $right resize grow width 10px bindsym Left resize shrink width 10px bindsym Down resize grow height 10px bindsym Up resize shrink height 10px @@ -174,26 +159,19 @@ mode "resize" { } bindsym $mod+r mode "resize" -### Notifiche e Controlli Audio/Luminosità -set $notification_time 1000 - -# Audio controls -bindsym XF86AudioMute exec ~/.config/sway/scripts/notification-control.sh mute-toggle -bindsym XF86AudioLowerVolume exec ~/.config/sway/scripts/notification-control.sh volume-down -bindsym XF86AudioRaiseVolume exec ~/.config/sway/scripts/notification-control.sh volume-up -bindsym XF86AudioMicMute exec ~/.config/sway/scripts/notification-control.sh mic-mute-toggle - -# Brightness controls -bindsym XF86MonBrightnessDown exec ~/.config/sway/scripts/notification-control.sh brightness-down -bindsym XF86MonBrightnessUp exec ~/.config/sway/scripts/notification-control.sh brightness-up +bindsym --locked XF86AudioRaiseVolume exec $ipc volume increase +bindsym --locked XF86AudioLowerVolume exec $ipc volume decrease +bindsym --locked XF86AudioMute exec $ipc volume muteOutput +bindsym --locked XF86MonBrightnessUp exec $ipc brightness increase +bindsym --locked XF86MonBrightnessDown exec $ipc brightness decrease # Controlli multimediali -bindsym XF86AudioPlay exec playerctl play-pause -bindsym XF86AudioNext exec playerctl next -bindsym XF86AudioPrev exec playerctl previous +bindsym XF86AudioPlay exec ipc call media playPause +bindsym XF86AudioNext exec ipc call media next +bindsym XF86AudioPrev exec ipc call media previous bindsym $mod+Shift+h exec handy --toggle-transcription -bindsym $mod+v exec cliphist list | wofi --dmenu --pre-display-cmd "echo '%s' | cut -f 2" | cliphist decode | wl-copy +bindsym $mod+v exec $ipc launcher clipboard ### Screenshot e Registrazione Schermo bindsym Print exec grimshot --notify copy output && \ @@ -215,23 +193,6 @@ bindsym $mod+XF86AudioMedia exec ~/.config/sway/scripts/screen-recording.sh audi # this one not bindsym XF86AudioMedia exec ~/.config/sway/scripts/screen-recording.sh -### Modalità per azioni di sistema (lock, logout, reboot, suspend, shutdown) -set $mode_system "What to do? (l) lock, (e) logout, (r) reboot, (Shift+s) shutdown" -mode $mode_system { - bindsym l exec swaylock -f -i $wallpaper; mode "default" - bindsym e exec swaymsg exit; mode "default" - bindsym r exec systemctl reboot; mode "default" - bindsym s exec systemctl suspend; mode "default" - bindsym Shift+s exec systemctl poweroff; mode "default" - bindsym Return mode "default" - bindsym Escape mode "default" -} -bindsym $mod+Escape mode $mode_system - -### Barra di stato (Waybar) -bar { - swaybar_command waybar -} ### Borders e Gaps default_border pixel @@ -265,9 +226,9 @@ exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY XDG_CU ### Applicazioni in autostart exec keepassxc exec nextcloud -exec wlsunset -S 08:00 -s 18:00 +# exec wlsunset -S 08:00 -s 18:00 exec blueman-applet -exec xss-lock -- swaylock -f -i $wallpaper +# exec xss-lock -- swaylock -f -i $wallpaper exec --no-startup-id easyeffects --gapplication-service exec --no-startup-id wluma @@ -283,7 +244,7 @@ exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CU exec dbus-update-activation-environment WAYLAND_DISPLAY DISPLAY XDG_CURRENT_DESKTOP SWAYSOCK I3SOCK XCURSOR_SIZE XCURSOR_THEME ### Notifiche Desktop e Clip History -exec swaync +# exec swaync # exec mako exec wl-paste --type text --watch cliphist store exec wl-paste --type image --watch cliphist store @@ -294,6 +255,7 @@ exec nm-applet --indicator exec handy --start-hidden # speek to text exec wl-paste --type text --watch cliphist store # Stores only text data exec wl-paste --type image --watch cliphist store # Stores only image data +exec_always pkill qs; qs -d -c noctalia-shell # comando per capire come si chiama l'id della app per le regole delle finestre # swaymsg -t get_tree