Compare commits
No commits in common. "450ff7a50316156b224348195b49e562bc980bcf" and "0a445eaa08ba0e2129c2cd325af96011144922a9" have entirely different histories.
450ff7a503
...
0a445eaa08
5 changed files with 5 additions and 48 deletions
|
|
@ -7,7 +7,7 @@ import Quickshell.Wayland
|
|||
PanelWindow {
|
||||
id: window
|
||||
|
||||
default property alias content: contentItem.data
|
||||
default property alias content: contentItem.children
|
||||
property alias background: background
|
||||
required property string name
|
||||
property bool canFocus: true
|
||||
|
|
|
|||
|
|
@ -112,12 +112,6 @@ StyledPanelWindow {
|
|||
title: "Styling"
|
||||
view: StylingView {}
|
||||
}
|
||||
|
||||
ConfigurationView {
|
||||
icon: Styling.lucide.icons.swatchBook
|
||||
title: "Wallpapers"
|
||||
view: Wallpaper {}
|
||||
}
|
||||
}
|
||||
|
||||
component ConfigurationView: QtObject {
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
import qs.services
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
|
||||
ColumnLayout {
|
||||
Repeater {
|
||||
model: WallpaperService.files
|
||||
delegate: Text {
|
||||
required property string dataModel
|
||||
text: dataModel
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -20,15 +20,15 @@ StyledPanelWindow {
|
|||
Visibility.powermenu = focused;
|
||||
}
|
||||
|
||||
Process {
|
||||
id: process
|
||||
}
|
||||
|
||||
WrapperItem {
|
||||
id: rect
|
||||
|
||||
margin: 14
|
||||
|
||||
Process {
|
||||
id: process
|
||||
}
|
||||
|
||||
StyledListView {
|
||||
id: list
|
||||
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
pragma Singleton
|
||||
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
|
||||
Singleton {
|
||||
id: root
|
||||
|
||||
property string directory: "~/Wallpapers/"
|
||||
property list<url> files: []
|
||||
property list<string> fileTypes: ["jpg", "jpeg", "png"]
|
||||
|
||||
Process {
|
||||
running: true
|
||||
command: ["bash", "-c", `find "$dir" -maxdepth 1 -type f & inotifywait -m -r ${root.directory} -e modify,move,create,delete | while read dir action; do find "$dir" -maxdepth 1 -type f; done`]
|
||||
stderr: StdioCollector {
|
||||
onStreamFinished: console.log(`line read: ${this.text}`)
|
||||
}
|
||||
stdout: SplitParser {
|
||||
splitMarker: "\n"
|
||||
onRead: data => root.files = data?.split("\n") ?? []
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue