add wallpapers

This commit is contained in:
nub31
2025-05-10 22:58:13 +02:00
parent 20253164cb
commit 97d3e161b6
20 changed files with 37 additions and 198 deletions

View File

@@ -1,22 +1,22 @@
# https://wiki.hyprland.org/Configuring/Binds/
$terminal = alacritty
$fileManager = thunar
$files = thunar
$menu = rofi -show drun -config ~/.config/rofi/config.rasi
$browser = brave
$code = code
$lock = hyprlock
$colorPicker = hyprpicker -a -f hex -r -n -q
$color_picker = hyprpicker -a -f hex -r -n -q
$mainMod = SUPER
# Programs
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, E, exec, $files
bind = $mainMod, R, exec, $menu
bind = $mainMod, B, exec, $browser
bind = $mainMod, L, exec, $lock
bind = $mainMod, C, exec, $code
bind = $mainMod SHIFT, C, exec, $colorPicker
bind = $mainMod SHIFT, C, exec, $color_picker
bind = $mainMod, RETURN, exec, $terminal
bind = $mainMod SHIFT, E, exit

View File

@@ -5,11 +5,14 @@ source = input.conf
source = monitors.conf
source = rules.conf
$scritps = ~/.config/hypr/scripts
exec-once = nm-applet &
exec-once = waybar &
exec-once = hyprpm reload -n
exec-once = hyprpaper
exec-once = hypridle
exec-once = hyprpaper
exec-once = sleep 1 && $scritps/random_wallpaper.sh
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24

View File

@@ -1,20 +1,17 @@
background {
monitor =
# path = ~/wallpapers/japan-street-Dark.png
color = rgba(25, 20, 20, 1.0)
blur_passes = 2
color = rgb(21, 21, 21)
}
input-field {
monitor =
size = 10%, 5%
outline_thickness = 4
inner_color = rgba(255, 255, 255, 1) # white fill
shadow_passes = 6 # shadow
inner_color = rgba(240, 240, 240)
shadow_passes = 6
outer_color=000000
check_color=000000
fail_color=#ff
outer_color = rgba(0, 0, 0)
check_color = rgba(0, 0, 0)
fail_color = rgba(255, 0, 0)
font_color = rgb(30, 30, 30)
fade_on_empty = true

View File

@@ -1,2 +0,0 @@
preload = ~/wallpapers/japan-street-Dark.png
wallpaper = , ~/wallpapers/japan-street-Dark.png

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
WALLPAPER_DIR="$HOME/wallpapers/"
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")" | shuf -n 1)
# Apply the selected wallpaper
hyprctl hyprpaper reload ,"$WALLPAPER"