about summary refs log tree commit diff
path: root/dotfiles/river
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-15 16:53:58 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-15 16:53:58 +0200
commit2f999d667e1812a315e6c016c1439267f129ff2e (patch)
tree90eaae9c18b0bf39e842379b3a74f99573d66ab5 /dotfiles/river
parentUse swaylock-effects instead of swaylock for showing clock (diff)
downloadnixos-config-2f999d667e1812a315e6c016c1439267f129ff2e.tar.gz
nixos-config-2f999d667e1812a315e6c016c1439267f129ff2e.tar.bz2
nixos-config-2f999d667e1812a315e6c016c1439267f129ff2e.zip
River: Add smart-wallpaper
And temp overlay for smart-wallpaper to work with wayland
Diffstat (limited to '')
-rwxr-xr-xdotfiles/river/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/dotfiles/river/init b/dotfiles/river/init
index 6edf219..ecd90ed 100755
--- a/dotfiles/river/init
+++ b/dotfiles/river/init
@@ -12,7 +12,6 @@
 
 riverctl spawn "xrdb ~/.Xresources"
 riverctl spawn "xmodmap ~/.Xmodmap"
-riverctl spawn "swaybg -i ~/Images/Wallpapers/Day/wave.jpg"
 riverctl spawn "swayidle -w \
         timeout 300 'swaylock --clock --indicator -f -F -c 000000' \
 	timeout 400 'wlr-randr --output $(wlr-randr | head -n1 | awk "{print $1;}") --off' \
@@ -26,6 +25,7 @@ riverctl spawn "dunst"
 #riverctl spawn "numlockx on"
 riverctl spawn "systemctl --user start graphical-session.target"
 riverctl spawn "sxhkd"
+riverctl spawn 'while :; do ssh-agent smart-wallpaper -d ~/Images/Wallpapers/Day -n ~/Images/Wallpapers/Night -l $LOCATION -r; done'
 riverctl spawn "waybar"
 
 riverctl spawn "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river"
@@ -166,7 +166,7 @@ do
 done
 
 # Set background and border color
-#riverctl background-color 0x002b36
+riverctl background-color 0x000000
 riverctl border-color-focused 0x005577
 riverctl border-color-unfocused 0x444444