добавил смену обоев на win + t
This commit is contained in:
188
hypr/colors.conf
188
hypr/colors.conf
@@ -1,151 +1,151 @@
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$background = rgba(101417ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$background = rgba(0b141aff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$error = rgba(ffb4abff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$error_container = rgba(93000aff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$inverse_on_surface = rgba(2d3135ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$inverse_on_surface = rgba(283238ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$inverse_primary = rgba(216487ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$inverse_primary = rgba(006a61ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$inverse_surface = rgba(dfe3e7ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$inverse_surface = rgba(dae4ecff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_background = rgba(dfe3e7ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_background = rgba(dae4ecff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_error = rgba(690005ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_error_container = rgba(ffdad6ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_primary = rgba(00344cff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_primary = rgba(003732ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_primary_container = rgba(c7e7ffff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_primary_container = rgba(73f8e6ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_primary_fixed = rgba(001e2eff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_primary_fixed = rgba(00201cff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_primary_fixed_variant = rgba(004c6cff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_primary_fixed_variant = rgba(005048ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_secondary = rgba(21323eff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_secondary = rgba(003732ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_secondary_container = rgba(d2e5f5ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_secondary_container = rgba(9ef2e5ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_secondary_fixed = rgba(0b1d29ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_secondary_fixed = rgba(00201cff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_secondary_fixed_variant = rgba(374955ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_secondary_fixed_variant = rgba(005048ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_surface = rgba(dfe3e7ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_surface = rgba(dae4ecff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_surface_variant = rgba(c1c7ceff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_surface_variant = rgba(b6c9d8ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_tertiary = rgba(342b4bff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_tertiary = rgba(00344aff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_tertiary_container = rgba(e8ddffff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_tertiary_container = rgba(c5e7ffff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_tertiary_fixed = rgba(1e1635ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_tertiary_fixed = rgba(001e2dff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$on_tertiary_fixed_variant = rgba(4a4263ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$on_tertiary_fixed_variant = rgba(004c6aff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$outline = rgba(8b9198ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$outline = rgba(8093a1ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$outline_variant = rgba(41484dff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$outline_variant = rgba(374955ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$primary = rgba(92cef5ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$primary = rgba(53dbcaff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$primary_container = rgba(004c6cff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$primary_container = rgba(005048ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$primary_fixed = rgba(c7e7ffff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$primary_fixed = rgba(73f8e6ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$primary_fixed_dim = rgba(92cef5ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$primary_fixed_dim = rgba(53dbcaff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$scrim = rgba(000000ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$secondary = rgba(b6c9d8ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$secondary = rgba(82d5c9ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$secondary_container = rgba(374955ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$secondary_container = rgba(005048ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$secondary_fixed = rgba(d2e5f5ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$secondary_fixed = rgba(9ef2e5ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$secondary_fixed_dim = rgba(b6c9d8ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$secondary_fixed_dim = rgba(82d5c9ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$shadow = rgba(000000ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$source_color = rgba(235e7eff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$source_color = rgba(355b71ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$surface = rgba(101417ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$surface = rgba(0b141aff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$surface_bright = rgba(353a3dff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$surface_bright = rgba(313a41ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$surface_container = rgba(1c2024ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$surface_container = rgba(172127ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$surface_container_high = rgba(262a2eff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$surface_container_high = rgba(222b31ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$surface_container_highest = rgba(313539ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$surface_container_highest = rgba(2d363cff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$surface_container_low = rgba(181c20ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$surface_container_low = rgba(131d23ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$surface_container_lowest = rgba(0a0f12ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$surface_container_lowest = rgba(060f15ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$surface_dim = rgba(101417ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$surface_dim = rgba(0b141aff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$surface_tint = rgba(92cef5ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$surface_tint = rgba(53dbcaff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$surface_variant = rgba(41484dff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$surface_variant = rgba(374955ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$tertiary = rgba(ccc1e9ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$tertiary = rgba(90cef4ff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$tertiary_container = rgba(4a4263ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$tertiary_container = rgba(004c6aff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$tertiary_fixed = rgba(e8ddffff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$tertiary_fixed = rgba(c5e7ffff)
|
||||
|
||||
$image = Pictures/bg.png
|
||||
$tertiary_fixed_dim = rgba(ccc1e9ff)
|
||||
$image = /home/pablusha/wallpapers/cloud.jpg
|
||||
$tertiary_fixed_dim = rgba(90cef4ff)
|
||||
|
||||
|
@@ -9,7 +9,7 @@ monitor = HDMI-A-1, 3240x2160, 1920x0, 2
|
||||
|
||||
$terminal = kitty
|
||||
$fileManager = thunar
|
||||
$menu = wofi --show drun
|
||||
$menu = wofi --show drun --normal-window
|
||||
|
||||
env = LIBVA_DRIVER_NAME,nvidia
|
||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
@@ -37,7 +37,7 @@ layerrule = blur, wofi
|
||||
|
||||
# AUTOSTART
|
||||
|
||||
exec-once = waybar & hyprpaper & mako
|
||||
exec-once = waybar & swww-daemon & mako
|
||||
exec-once = hyprctl setcursor Bibata-Modern-Classic 22
|
||||
exec-once = wal -R
|
||||
|
||||
@@ -168,3 +168,4 @@ bind = , mouse:275, workspace, e-1
|
||||
bind = , mouse:276, workspace, e+1
|
||||
|
||||
bind = $mainMod SHIFT, S, exec, ~/.config/hypr/screenshot.sh
|
||||
bind = $mainMod, T, exec, ~/.config/hypr/wallpaper_selector.sh
|
||||
|
19
hypr/wallpaper.sh
Executable file
19
hypr/wallpaper.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
directory="/home/pablusha/wallpapers"
|
||||
|
||||
files=()
|
||||
while IFS= read -r -d $'\0' file; do
|
||||
if [ -f "$file" ]; then
|
||||
files+=("$file")
|
||||
fi
|
||||
done < <(find "$directory" -maxdepth 1 -type f -print0)
|
||||
|
||||
if [ ${#files[@]} -eq 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
random_file="${files[RANDOM % ${#files[@]}]}"
|
||||
swww img $random_file --transition-type wipe --transition-fps 60 --transition-angle 30 --transition-duration 1
|
||||
matugen image $random_file -t scheme-fruit-salad
|
||||
notify-send "wallpaper changed" $random_file
|
17
hypr/wallpaper_selector.sh
Executable file
17
hypr/wallpaper_selector.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIR="$HOME/wallpapers"
|
||||
|
||||
FILES=($(find "$DIR" -type f \( -iname "*.jpg" -o -iname "*.png" -o -iname "*.jpeg" \) | sort -f | xargs -n1 basename))
|
||||
|
||||
SELECTED=$(printf '%s\n' "${FILES[@]}" | wofi --dmenu --prompt "choose wallpaper" --normal-window)
|
||||
|
||||
if [ -n "$SELECTED" ]; then
|
||||
FULLPATH="$DIR/$SELECTED"
|
||||
|
||||
# Применяем выбранный обои и делаем прочее
|
||||
swww img "$FULLPATH" --transition-type wipe --transition-fps 60 --transition-angle 30 --transition-duration 1
|
||||
matugen image "$FULLPATH" -t scheme-fruit-salad
|
||||
notify-send "wallpaper changed" "$FULLPATH"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user