Skip to content

Commit 5766700

Browse files
authored
Merge branch 'caelestia-dots:main' into feat/improveDesktopClockInverse
2 parents 158c257 + 0e07176 commit 5766700

85 files changed

Lines changed: 4340 additions & 1697 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.envrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ if has nix; then
33
fi
44

55
shopt -s globstar
6-
watch_file assets/cpp/**/*.cpp
7-
watch_file assets/cpp/**/*.hpp
86
watch_file plugin/**/*.cpp
97
watch_file plugin/**/*.hpp
8+
watch_file plugin/**/*.qml
9+
watch_file plugin/**/*.vert
10+
watch_file plugin/**/*.frag
1011
watch_file **/CMakeLists.txt
1112

1213
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_COMPILER=clazy -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DDISTRIBUTOR=direnv

.github/workflows/check-format.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,5 @@ jobs:
3434
- name: Check C++ format
3535
shell: fish {0}
3636
run: |
37-
for file in (string match -v 'build/*' **.cpp **.hpp)
38-
clang-format $file | diff -u $file - || exit 1
39-
end
37+
find plugin extras -name '*.cpp' -o -name '*.hpp' \
38+
| xargs clang-format --dry-run --Werror

.github/workflows/update-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: |
2424
cat > /tmp/Dockerfile <<EOF
2525
FROM archlinux:latest
26-
RUN pacman -Syu --needed --noconfirm sudo base-devel cmake ninja fish git clazy qt6-declarative python libpipewire aubio libqalculate && \
26+
RUN pacman -Syu --needed --noconfirm sudo base-devel cmake ninja fish git clazy qt6-declarative qt6-shadertools python libpipewire aubio libqalculate && \
2727
useradd -m builder && \
2828
echo 'builder ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \
2929
sudo -u builder git clone https://aur.archlinux.org/yay-bin.git /home/builder/yay-bin && \

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,8 @@ default, you must create it manually.
601601
"paths": {
602602
"mediaGif": "root:/assets/bongocat.gif",
603603
"sessionGif": "root:/assets/kurukuru.gif",
604+
"noNotifsPic": "root:/assets/dino.png",
605+
"lockNoNotifsPic": "root:/assets/dino.png",
604606
"wallpaperDir": "~/Pictures/Wallpapers",
605607
"lyricsDir": "~/Music/lyrics"
606608
},

config/AppearanceConfig.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ JsonObject {
6565
property list<real> standardDecel: [0, 0, 0, 1, 1, 1]
6666
property list<real> expressiveFastSpatial: [0.42, 1.67, 0.21, 0.9, 1, 1]
6767
property list<real> expressiveDefaultSpatial: [0.38, 1.21, 0.22, 1, 1, 1]
68-
property list<real> expressiveEffects: [0.34, 0.8, 0.34, 1, 1, 1]
68+
property list<real> expressiveSlowSpatial: [0.39, 1.29, 0.35, 0.98, 1, 1]
6969
}
7070

7171
component AnimDurations: JsonObject {
@@ -76,7 +76,7 @@ JsonObject {
7676
property int extraLarge: 1000 * scale
7777
property int expressiveFastSpatial: 350 * scale
7878
property int expressiveDefaultSpatial: 500 * scale
79-
property int expressiveEffects: 200 * scale
79+
property int expressiveSlowSpatial: 650 * scale
8080
}
8181

8282
component Anim: JsonObject {

config/Config.qml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ Singleton {
327327
const provider = {
328328
displayName: p.displayName,
329329
enabled: p.enabled,
330-
iface: p.iface,
330+
interface: p.interface,
331331
name: p.name
332332
};
333333
if (p.connectCmd && p.connectCmd.length > 0) {
@@ -395,7 +395,9 @@ Singleton {
395395
wallpaperDir: paths.wallpaperDir,
396396
lyricsDir: paths.lyricsDir,
397397
sessionGif: paths.sessionGif,
398-
mediaGif: paths.mediaGif
398+
mediaGif: paths.mediaGif,
399+
noNotifsPic: paths.noNotifsPic,
400+
lockNoNotifsPic: paths.lockNoNotifsPic
399401
};
400402
}
401403

config/UserPaths.qml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ JsonObject {
66
property string lyricsDir: `${Paths.home}/Music/lyrics/`
77
property string sessionGif: "root:/assets/kurukuru.gif"
88
property string mediaGif: "root:/assets/bongocat.gif"
9+
property string noNotifsPic: "root:/assets/dino.png"
10+
property string lockNoNotifsPic: "root:/assets/dino.png"
911
}

modules/Shortcuts.qml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import QtQuick
12
import Quickshell
23
import Quickshell.Io
34
import Caelestia
@@ -115,7 +116,7 @@ Scope {
115116
const visibilities = Visibilities.getForActive();
116117
visibilities[drawer] = !visibilities[drawer];
117118
} else {
118-
console.warn(`[IPC] Drawer "${drawer}" does not exist`);
119+
console.warn(lc, `Drawer "${drawer}" does not exist`);
119120
}
120121
}
121122

@@ -154,4 +155,11 @@ Scope {
154155

155156
target: "toaster"
156157
}
158+
159+
LoggingCategory {
160+
id: lc
161+
162+
name: "caelestia.qml.shortcuts"
163+
defaultLogLevel: LoggingCategory.Info
164+
}
157165
}

0 commit comments

Comments
 (0)