feat: Add WallRizz

This commit is contained in:
2025-04-19 17:06:14 +10:00
parent 950fc54fb4
commit 53ca01cd68
7 changed files with 22 additions and 15 deletions

2
.config/.gitignore vendored
View File

@@ -22,3 +22,5 @@
!micro/** !micro/**
!hyprpanel !hyprpanel
!hyprpanel/** !hyprpanel/**
!WallRizz
!WallRizz/**

View File

@@ -0,0 +1,12 @@
/*
For: hyprpaper, https://github.com/hyprwm/hyprpaper
Author: https://github.com/5hubham5ingh
Prerequisite: hyprpaper daemon should be running
Changes: Set to change wallpaper on all screens
*/
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}`]);
}

BIN
.config/backgrounds/Yor.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 MiB

View File

@@ -286,3 +286,6 @@ bind = $mainMod, PERIOD, exec, bemoji
# Custom terminal # Custom terminal
bind = $mainMod, T, exec, alacritty --config-file ~/dotfiles/.alacritty-nozellij.toml bind = $mainMod, T, exec, alacritty --config-file ~/dotfiles/.alacritty-nozellij.toml
# Save output to ~/tmp/errors.log
bind = $mainMod CTRL, W, exec, kitty -o allow_remote_control=yes --class float-80 WallRizz -n -d ~/.config/backgrounds

View File

@@ -1,17 +1,3 @@
preload = ~/.config/backgrounds/background.png
preload = ~/.config/backgrounds/akaza.png
preload = ~/.config/backgrounds/background.png
preload = ~/.config/backgrounds/better_shaded_landscape.jpg
preload = ~/.config/backgrounds/car-with-full-moon-background.jpg
preload = ~/.config/backgrounds/cello.jpg
preload = ~/.config/backgrounds/earth.jpg
preload = ~/.config/backgrounds/lofiwallpaper.png
preload = ~/.config/backgrounds/nice-blue-background.png
preload = ~/.config/backgrounds/shaded.png
preload = ~/.config/backgrounds/shinobu.png
preload = ~/.config/backgrounds/rengoku2.png preload = ~/.config/backgrounds/rengoku2.png
wallpaper = , ~/.config/backgrounds/rengoku2.png wallpaper = , ~/.config/backgrounds/rengoku2.png
ipc = on ipc = on

View File

@@ -5,6 +5,10 @@
# windowrulev2 = stayfocused,class:(clipse) # windowrulev2 = stayfocused,class:(clipse)
windowrulev2 = float,class:(float) windowrulev2 = float,class:(float)
windowrule = size <80% <80%,class:(float)
windowrulev2 = float,class:(float-80)
windowrule = size 80% 80%,class:(float-80)
windowrulev2 = float,class:(swayimg) windowrulev2 = float,class:(swayimg)
windowrulev2 = size 80%,class:(swayimg) windowrulev2 = size 80%,class:(swayimg)
windowrule = noblur 1 noanim 1 noshadow 1, class:(^$) windowrule = noblur 1 noanim 1 noshadow 1, class:(^$)