feat: Add opacity keybinds, replace hyprpaper with swww and update windowrules
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user