fix colorscheme setting
This commit is contained in:
@@ -19,11 +19,13 @@ Searcher {
|
|||||||
function setWallpaper(path: string): void {
|
function setWallpaper(path: string): void {
|
||||||
actualCurrent = path;
|
actualCurrent = path;
|
||||||
WallpaperPath.currentWallpaperPath = path;
|
WallpaperPath.currentWallpaperPath = path;
|
||||||
|
Wallust.generateColors(WallpaperPath.currentWallpaperPath);
|
||||||
Quickshell.execDetached(["sh", "-c", `python3 ${Quickshell.shellPath("scripts/LockScreenBg.py")} --input_image=${root.actualCurrent} --output_path=${Paths.state}/lockscreen_bg.png --blur_amount=${Config.lock.blurAmount}`]);
|
Quickshell.execDetached(["sh", "-c", `python3 ${Quickshell.shellPath("scripts/LockScreenBg.py")} --input_image=${root.actualCurrent} --output_path=${Paths.state}/lockscreen_bg.png --blur_amount=${Config.lock.blurAmount}`]);
|
||||||
}
|
}
|
||||||
|
|
||||||
function preview(path: string): void {
|
function preview(path: string): void {
|
||||||
previewPath = path;
|
previewPath = path;
|
||||||
|
Quickshell.execDetached(["sh", "-c", `python3 ${Quickshell.shellPath("scripts/SchemeColorGen.py")} --path=${previewPath} --thumbnail=${Paths.cache}/imagecache/thumbnail.jpg --output=${Paths.state}/scheme.json --scheme=${Config.colors.schemeType}`]);
|
||||||
showPreview = true;
|
showPreview = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
- [x] Media showing; what song/media is playing?
|
- [x] Media showing; what song/media is playing?
|
||||||
- [x] Brightness control for Laptops.
|
- [x] Brightness control for Laptops.
|
||||||
- [?] Battery icon for Laptops. Broken?
|
- [ ] Battery icon for Laptops. Broken?
|
||||||
- [?] Change volume for `$BROWSER` environment variable? Most general media source apart from separate music/video players.
|
- [ ] Change volume for `$BROWSER` environment variable? Most general media source apart from separate music/video players.
|
||||||
- [ ] Quick toggle for BT, WiFi (modules in the tray do this too)
|
- [ ] Quick toggle for BT, WiFi (modules in the tray do this too)
|
||||||
- [x] Auto hide unless on mouse hover. Also implement bar changes to mute/volume to show notif or show bar for a couple seconds.
|
- [x] Auto hide unless on mouse hover. Also implement bar changes to mute/volume to show notif or show bar for a couple seconds.
|
||||||
- [x] Maybe already possible; have keybinds to show certain menus. I do not want to touch my mouse to see notifications for example. Not everything in the bar needs this, but some would be good to have.
|
- [x] Maybe already possible; have keybinds to show certain menus. I do not want to touch my mouse to see notifications for example. Not everything in the bar needs this, but some would be good to have.
|
||||||
|
|||||||
Reference in New Issue
Block a user