add wallpaper stuff
This commit is contained in:
parent
2ca8e2b17c
commit
9ae9dbefb7
13
change-wallpaper.sh
Executable file
13
change-wallpaper.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
WALLPAPER_DIR="$HOME/Pictures/variety/"
|
||||||
|
CURRENT_WALL=$(hyprctl hyprpaper listloaded)
|
||||||
|
|
||||||
|
# Get a random wallpaper that is not the current one
|
||||||
|
WALLPAPER=$(find "$WALLPAPER_DIR" -type f ! -name "$(basename "$CURRENT_WALL")" ! -name "*.json" | shuf -n 1)
|
||||||
|
|
||||||
|
echo "Changing wallpaper to $WALLPAPER"
|
||||||
|
|
||||||
|
# Apply the selected wallpaper
|
||||||
|
hyprctl hyprpaper reload ,"$WALLPAPER"
|
||||||
|
notify-send -i hyprpaper -u normal "change-wallpaper.sh" "Wallpaper changed to ${WALLPAPER##*/variety/}"
|
@ -111,8 +111,9 @@ decoration {
|
|||||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||||
blur {
|
blur {
|
||||||
enabled = true
|
enabled = true
|
||||||
size = 3
|
size = 10
|
||||||
passes = 1
|
passes = 2
|
||||||
|
xray = true
|
||||||
|
|
||||||
vibrancy = 0.1696
|
vibrancy = 0.1696
|
||||||
}
|
}
|
||||||
@ -242,7 +243,10 @@ workspace = 2,monitor:DP-1,defaultName:
|
|||||||
# Example windowrule v1
|
# Example windowrule v1
|
||||||
# windowrulev2 = float, class:com.mitchellh.ghostty
|
# windowrulev2 = float, class:com.mitchellh.ghostty
|
||||||
windowrulev2 = float, class:discord
|
windowrulev2 = float, class:discord
|
||||||
|
windowrulev2 = float, class:mpv
|
||||||
windowrulev2 = workspace 10 silent, class:discord
|
windowrulev2 = workspace 10 silent, class:discord
|
||||||
|
windowrulev2 = opacity 0.88, class:.* fullscreen:0
|
||||||
|
windowrulev2 = opacity 1, class:mpv fullscreen:0
|
||||||
|
|
||||||
# Example windowrule v2
|
# Example windowrule v2
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||||
|
@ -17,6 +17,7 @@ bind = $mainMod, V, togglefloating,
|
|||||||
bind = $mainMod, d, exec, $menu
|
bind = $mainMod, d, exec, $menu
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
bind = $mainMod, t, togglesplit, # dwindle
|
bind = $mainMod, t, togglesplit, # dwindle
|
||||||
|
bind = $mainMod, f, fullscreen,
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, h, movefocus, l
|
bind = $mainMod, h, movefocus, l
|
||||||
|
Loading…
x
Reference in New Issue
Block a user