♻️ refactor(hypr): pyprland is now in charge of randomizing the system wallpaper instead of a custom systemd service
This commit is contained in:
parent
099fcb566c
commit
9f4fe396c3
5 changed files with 4 additions and 23 deletions
|
@ -26,7 +26,7 @@ bind = SUPERSHIFT, BACKSPACE, exec, ~/.config/hypr/scripts/custom_app_launch cod
|
|||
bind = SUPER, 23, exec, rofi -show drun # Tab
|
||||
bind = SUPER, INSERT, exec, ~/.config/hypr/scripts/color_picker
|
||||
bind = SUPERSHIFT, W, exec, ~/.config/hypr/scripts/wallpaper select
|
||||
bind = SUPERCTRL, W, exec, ~/.config/hypr/scripts/wallpaper random
|
||||
bind = SUPERCTRL, W, exec, pypr wall next
|
||||
bind = SUPER, 61, exec, ~/.config/hypr/scripts/rofi/keybindings # /
|
||||
bind = SUPERSHIFT, G, exec, ~/.config/hypr/scripts/rofi/game_launcher
|
||||
bind = SUPER, Y, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[pyprland]
|
||||
plugins = ["scratchpads", "expose", "magnify"]
|
||||
plugins = ["scratchpads", "expose", "magnify", "wallpapers"]
|
||||
|
||||
[scratchpads.volume]
|
||||
command = "pavucontrol"
|
||||
|
@ -51,7 +51,7 @@ lazy = true
|
|||
|
||||
[wallpapers]
|
||||
path = "/home/matt/.config/hypr/themes/luna/walls/"
|
||||
interval = 60 # change every hour
|
||||
command = "swww img --transition-bezier 0.5,1.19,.8,.4 --transition-type wipe --transition-duration 2 --transition-fps 75"
|
||||
interval = 60 # change every hour
|
||||
command = "swww img --transition-bezier 0.5,1.19,.8,.4 --transition-type wipe --transition-duration 2 --transition-fps 75 \"[file]\" && notify-send 'Wallpaper Changed' -i \"[file]\""
|
||||
clear_command = "swww clear"
|
||||
extensions = ["jpg", "png", "gif", "jpeg"]
|
||||
|
|
|
@ -9,7 +9,6 @@ udiskie &
|
|||
|
||||
# Wallpaper Backend
|
||||
swww init
|
||||
"$scripts"/wallpaper random &
|
||||
|
||||
# Bar
|
||||
waybar &
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
[Unit]
|
||||
Description=Change wallpaper with swww as backend
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/home/matt/.config/hypr/scripts/wallpaper random
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
|
@ -1,9 +0,0 @@
|
|||
[Unit]
|
||||
Description=Timer to change the wallpaper each 1 hours
|
||||
|
||||
[Timer]
|
||||
OnCalendar=0/1:00:00
|
||||
Unit=change_wallpaper.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Add table
Reference in a new issue