summaryrefslogtreecommitdiff
path: root/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon
diff options
context:
space:
mode:
authorNippy <nippy@rp1.hu>2026-05-09 13:33:09 +0200
committerNippy <nippy@rp1.hu>2026-05-09 13:33:09 +0200
commita2b924d7e9492b978ad6dc33b6c1ffcb304b4bc5 (patch)
tree1a8769217f84bfe9d6216fafaadaf8cdd876d457 /raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon
parent34b9c34f982b2596cfa9e368a2d7f74e9a17477c (diff)
downloadRaveOS-PKGBUILD-a2b924d7e9492b978ad6dc33b6c1ffcb304b4bc5.tar.gz
RaveOS-PKGBUILD-a2b924d7e9492b978ad6dc33b6c1ffcb304b4bc5.zip
raveos update
Diffstat (limited to 'raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon')
-rw-r--r--raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/README.md37
-rw-r--r--raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/WallpaperWatcherDaemon.qml66
-rw-r--r--raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/WallpaperWatcherSettings.qml24
-rw-r--r--raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/plugin.json16
4 files changed, 0 insertions, 143 deletions
diff --git a/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/README.md b/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/README.md
deleted file mode 100644
index 159b58d..0000000
--- a/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/README.md
+++ /dev/null
@@ -1,37 +0,0 @@
-# Wallpaper Watcher Daemon
-
-Run a script whenever your wallpaper changes.
-
-## What it does
-
-This daemon monitors wallpaper changes and executes a script you specify. The new wallpaper path gets passed as the first argument to your script.
-
-## Setup
-
-1. Enable the plugin in Settings → Plugins
-2. Configure the script path in the plugin settings
-3. Make sure your script is executable (`chmod +x /path/to/script.sh`)
-
-## Example script
-
-```bash
-#!/bin/bash
-echo "New wallpaper: $1"
-# Do something with the wallpaper path
-```
-
-Save this to a file, make it executable, and point the plugin to it.
-
-## Use cases
-
-- Generate color schemes from the new wallpaper
-- Update theme files based on wallpaper colors
-- Send notifications when wallpaper changes
-- Sync wallpaper info to other devices
-- Log wallpaper history
-
-## Notes
-
-- Script errors show up as toast notifications
-- Script output goes to console logs
-- The daemon runs invisibly in the background
diff --git a/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/WallpaperWatcherDaemon.qml b/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/WallpaperWatcherDaemon.qml
deleted file mode 100644
index ffed6c1..0000000
--- a/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/WallpaperWatcherDaemon.qml
+++ /dev/null
@@ -1,66 +0,0 @@
-import QtQuick
-import Quickshell
-import Quickshell.Io
-import qs.Common
-import qs.Services
-import qs.Modules.Plugins
-
-PluginComponent {
- id: root
-
- property string scriptPath: pluginData.scriptPath || ""
- property var popoutService: null
-
- Connections {
- target: SessionData
- function onWallpaperPathChanged() {
- if (scriptPath) {
- var scriptProcess = scriptProcessComponent.createObject(root, {
- wallpaperPath: SessionData.wallpaperPath
- })
- scriptProcess.running = true
- }
- }
- }
-
- Component {
- id: scriptProcessComponent
-
- Process {
- property string wallpaperPath: ""
-
- command: [scriptPath, wallpaperPath]
-
- stdout: StdioCollector {
- onStreamFinished: {
- if (text.trim()) {
- console.log("WallpaperWatcherDaemon script output:", text.trim())
- }
- }
- }
-
- stderr: StdioCollector {
- onStreamFinished: {
- if (text.trim()) {
- ToastService.showError("Wallpaper Change Script Error", text.trim())
- }
- }
- }
-
- onExited: (exitCode) => {
- if (exitCode !== 0) {
- ToastService.showError("Wallpaper Change Script Error", "Script exited with code: " + exitCode)
- }
- destroy()
- }
- }
- }
-
- Component.onCompleted: {
- console.info("WallpaperWatcherDaemon: Started monitoring wallpaper changes")
- }
-
- Component.onDestruction: {
- console.info("WallpaperWatcherDaemon: Stopped monitoring wallpaper changes")
- }
-}
diff --git a/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/WallpaperWatcherSettings.qml b/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/WallpaperWatcherSettings.qml
deleted file mode 100644
index 5f8c2c0..0000000
--- a/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/WallpaperWatcherSettings.qml
+++ /dev/null
@@ -1,24 +0,0 @@
-import QtQuick
-import qs.Common
-import qs.Widgets
-import qs.Modules.Plugins
-
-PluginSettings {
- id: root
- pluginId: "wallpaperWatcherDaemon"
-
- StyledText {
- text: "Wallpaper Change Hook"
- font.pixelSize: Theme.fontSizeLarge
- font.weight: Font.Bold
- color: Theme.surfaceText
- }
-
- StringSetting {
- settingKey: "scriptPath"
- label: "Script Path"
- description: "Path to a script that will be executed when the wallpaper changes. The new wallpaper path will be passed as the first argument."
- placeholder: "/path/to/your/script.sh"
- defaultValue: ""
- }
-}
diff --git a/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/plugin.json b/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/plugin.json
deleted file mode 100644
index 6e08395..0000000
--- a/raveos-hyprland-theme/theme-data/DankMaterialShell/quickshell/PLUGINS/WallpaperWatcherDaemon/plugin.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "id": "wallpaperWatcherDaemon",
- "name": "Wallpaper Watcher Daemon",
- "description": "Background daemon that monitors wallpaper changes and logs them",
- "version": "1.0.0",
- "author": "DankMaterialShell",
- "type": "daemon",
- "capabilities": ["wallpaper", "monitoring"],
- "component": "./WallpaperWatcherDaemon.qml",
- "icon": "wallpaper",
- "settings": "./WallpaperWatcherSettings.qml",
- "permissions": [
- "settings_read",
- "settings_write"
- ]
-}