Browse Source

Added Waypaper as wallpaper switcher if you have it installed

pull/281/head
Kiran George 2 years ago
parent
commit
341298c4d2
  1. 1
      config/hypr/UserConfigs/Startup_Apps.conf
  2. 10
      config/hypr/UserScripts/WallpaperSelectWaypaper.sh
  3. 4
      config/hypr/configs/Keybinds.conf
  4. 19
      config/waypaper/config.ini

1
config/hypr/UserConfigs/Startup_Apps.conf

@ -11,6 +11,7 @@ $SwwwRandom = $UserScripts/WallpaperAutoChange.sh
# wallpaper stuff / More wallpaper options below
exec-once = swww-daemon --format xrgb
exec-once = $SwwwRandom $wallDIR # random wallpaper switcher every 30 minutes
exec-once = waypaper --restore &
# Startup
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

10
config/hypr/UserScripts/WallpaperSelectWaypaper.sh

@ -0,0 +1,10 @@
#!/bin/bash
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# This script for setting colours for wallaper selected by Waypaper(SUPER W)
SCRIPTSDIR="$HOME/.config/hypr/scripts"
sleep 0.5
${SCRIPTSDIR}/WallustSwww.sh
sleep 0.2
${SCRIPTSDIR}/Refresh.sh

4
config/hypr/configs/Keybinds.conf

@ -34,8 +34,8 @@ bind = SHIFT, ALT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh # Switch Keyboard
# FEATURES / EXTRAS (UserScripts)
bind = $mainMod, E, exec, $UserScripts/QuickEdit.sh # Quick Edit Hyprland Settings
bind = $mainMod SHIFT, M, exec, $UserScripts/RofiBeats.sh # online music
bind = $mainMod, W, exec, $UserScripts/WallpaperSelect.sh # Select wallpaper to apply
bind = CTRL ALT, W, exec, $UserScripts/WallpaperRandom.sh # Random wallpapers
bind = $mainMod, W, exec, command -v waypaper >/dev/null 2>&1 && waypaper || $UserScripts/WallpaperSelect.sh # Select wallpaper to apply
bind = CTRL ALT, W, exec, command -v waypaper >/dev/null 2>&1 && waypaper --random || $UserScripts/WallpaperRandom.sh # Random wallpapers
# Waybar / Bar related
bind = $mainMod, B, exec, killall -SIGUSR1 waybar # Toggle hide/show waybar

19
config/waypaper/config.ini

@ -0,0 +1,19 @@
[Settings]
language = en
folder = ~/Pictures/wallpapers
wallpaper = ~/Pictures/wallpapers/Fantasy-Waterfall.png
backend = swww
monitors = All
fill = Fill
sort = name
color = #000000
subfolders = False
number_of_columns = 6
swww_transition_type = wipe
swww_transition_step = 120
swww_transition_angle = 0
swww_transition_duration = 2
swww_transition_fps = 60
post_command = ~/.config/hypr/UserScripts/WallpaperSelectWaypaper.sh
show_hidden = False
Loading…
Cancel
Save