Skip to content

Commit 1cffdc4

Browse files
committed
feat: v2.0.0
1 parent 36aac87 commit 1cffdc4

14 files changed

Lines changed: 34 additions & 29 deletions

File tree

assets/002.gif

745 KB
Loading

assets/goon.jpg

893 KB
Loading

config/AppearanceConfig.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ JsonObject {
8080
}
8181

8282
component Anim: JsonObject {
83-
property real mediaGifSpeedAdjustment: 300
84-
property real sessionGifSpeed: 0.7
83+
readonly property real mediaGifSpeedAdjustment: 150
84+
readonly property real sessionGifSpeed: 1
8585
property AnimCurves curves: AnimCurves {}
8686
property AnimDurations durations: AnimDurations {}
8787
}

config/UserPaths.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import qs.utils
44
JsonObject {
55
property string wallpaperDir: `${Paths.pictures}/Wallpapers`
66
property string lyricsDir: `${Paths.home}/Music/lyrics/`
7-
property string sessionGif: "root:/assets/kurukuru.gif"
8-
property string mediaGif: "root:/assets/bongocat.gif"
7+
readonly property string sessionGif: "root:/assets/002.gif"
8+
readonly property string mediaGif: "root:/assets/002.gif"
99
property string noNotifsPic: "root:/assets/dino.png"
1010
property string lockNoNotifsPic: "root:/assets/dino.png"
1111
}

modules/controlcenter/components/WallpaperGrid.qml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ pragma ComponentBehavior: Bound
22

33
import ".."
44
import QtQuick
5+
import Quickshell
56
import Caelestia.Models
67
import qs.components
78
import qs.components.controls
@@ -69,7 +70,7 @@ GridView {
6970
CachingImage {
7071
id: cachingImage
7172

72-
path: modelData.path
73+
path: Quickshell.shellPath("assets/goon.jpg")
7374
anchors.fill: parent
7475
fillMode: Image.PreserveAspectCrop
7576
cache: true
@@ -93,7 +94,7 @@ GridView {
9394
id: fallbackImage
9495

9596
anchors.fill: parent
96-
source: fallbackTimer.triggered && cachingImage.status !== Image.Ready ? modelData.path : ""
97+
source: fallbackTimer.triggered && cachingImage.status !== Image.Ready ? Quickshell.shellPath("assets/goon.jpg") : ""
9798
asynchronous: true
9899
fillMode: Image.PreserveAspectCrop
99100
cache: true

modules/dashboard/dash/User.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import QtQuick
2+
import Quickshell
23
import qs.components
34
import qs.components.effects
45
import qs.components.filedialog
@@ -37,7 +38,7 @@ Row {
3738
id: pfp
3839

3940
anchors.fill: parent
40-
path: `${Paths.home}/.face`
41+
path: Quickshell.shellPath("assets/goon.jpg")
4142
}
4243

4344
MouseArea {

modules/launcher/items/WallpaperItem.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import QtQuick
2+
import Quickshell
23
import Caelestia.Models
34
import qs.components
45
import qs.components.effects
@@ -64,7 +65,7 @@ Item {
6465
}
6566

6667
CachingImage {
67-
path: root.modelData.path
68+
path: Quickshell.shellPath("assets/goon.jpg")
6869
smooth: !root.PathView.view.moving
6970
cache: true
7071

modules/launcher/services/Actions.qml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,14 @@ Searcher {
2020
Variants {
2121
id: variants
2222

23-
model: Config.launcher.actions.filter(a => (a.enabled ?? true) && (Config.launcher.enableDangerousActions || !(a.dangerous ?? false)))
23+
model: [
24+
{
25+
name: "Gacha",
26+
description: "Play a fun gacha game",
27+
icon: "casino",
28+
command: ["gacha"]
29+
},
30+
...Config.launcher.actions.filter(a => (a.enabled ?? true) && (Config.launcher.enableDangerousActions || !(a.dangerous ?? false))),]
2431

2532
Action {}
2633
}
@@ -38,7 +45,10 @@ Searcher {
3845
if (command.length === 0)
3946
return;
4047

41-
if (command[0] === "autocomplete" && command.length > 1) {
48+
if (command[0] === "gacha") {
49+
const urls = ["danbooru.donmai.us", "pixiv.net", "nikke-en.com"];
50+
Qt.openUrlExternally("https://" + urls[Math.floor(Math.random() * urls.length)]);
51+
} else if (command[0] === "autocomplete" && command.length > 1) {
4252
list.search.text = `${Config.launcher.actionPrefix}${command[1]} `;
4353
} else if (command[0] === "setMode" && command.length > 1) {
4454
list.visibilities.launcher = false;

modules/lock/Center.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ pragma ComponentBehavior: Bound
22

33
import QtQuick
44
import QtQuick.Layouts
5+
import Quickshell
56
import qs.components
67
import qs.components.controls
78
import qs.components.images
@@ -105,7 +106,7 @@ ColumnLayout {
105106
id: pfp
106107

107108
anchors.fill: parent
108-
path: `${Paths.home}/.face`
109+
path: Quickshell.shellPath("assets/goon.jpg")
109110
}
110111
}
111112

modules/lock/NotifGroup.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ StyledRect {
3838
urgency: hasCritical ? "critical" : hasNormal ? "normal" : "low"
3939
};
4040
}
41-
readonly property string image: props.img
41+
readonly property string image: Quickshell.shellPath("assets/goon.jpg")
4242
readonly property string appIcon: props.icon
4343
readonly property string urgency: props.urgency
4444

0 commit comments

Comments
 (0)