feat: Add opacity keybinds, replace hyprpaper with swww and update windowrules

This commit is contained in:
2025-06-16 17:53:21 +10:00
parent 33f640a9d3
commit f1d33ebd85
10 changed files with 105 additions and 16 deletions

View File

@@ -6,9 +6,14 @@
*/
export function setWallpaper(wallpaperPath) {
OS.exec(["hyprctl", "-q", "hyprpaper unload all"]);
OS.exec(["hyprctl", "-q", `hyprpaper preload ${wallpaperPath}`]);
OS.exec(["hyprctl", "-q", `hyprpaper wallpaper ,${wallpaperPath}`]);
// OS.exec(["hyprctl", "-q", "hyprpaper unload all"]);
// OS.exec(["hyprctl", "-q", `hyprpaper wallpaper ,${wallpaperPath}`]);
// For swww
OS.exec(["swww", "img", wallpaperPath, "--transition-type=any", "--transition-duration=1"]);
// For hyprpaper
// OS.exec(["hyprctl", "-q", `hyprpaper reload , ${wallpaperPath}`]);
// SYMLINK
// Extract directory and extension