diff --git a/change-wallpaper.sh b/change-wallpaper.sh new file mode 100755 index 0000000..f04f5f5 --- /dev/null +++ b/change-wallpaper.sh @@ -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/}" diff --git a/hyprland.conf b/hyprland.conf index 27e6f08..6eac367 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -111,8 +111,9 @@ decoration { # https://wiki.hyprland.org/Configuring/Variables/#blur blur { enabled = true - size = 3 - passes = 1 + size = 10 + passes = 2 + xray = true vibrancy = 0.1696 } @@ -242,7 +243,10 @@ workspace = 2,monitor:DP-1,defaultName: # Example windowrule v1 # windowrulev2 = float, class:com.mitchellh.ghostty windowrulev2 = float, class:discord +windowrulev2 = float, class:mpv windowrulev2 = workspace 10 silent, class:discord +windowrulev2 = opacity 0.88, class:.* fullscreen:0 +windowrulev2 = opacity 1, class:mpv fullscreen:0 # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ diff --git a/keybindings.conf b/keybindings.conf index 5d4d3c6..378e76e 100644 --- a/keybindings.conf +++ b/keybindings.conf @@ -17,6 +17,7 @@ bind = $mainMod, V, togglefloating, bind = $mainMod, d, exec, $menu bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, t, togglesplit, # dwindle +bind = $mainMod, f, fullscreen, # Move focus with mainMod + arrow keys bind = $mainMod, h, movefocus, l