Dotfiles/desktopenvs/niri/scripts/monitorhandler.sh

14 lines
296 B
Bash
Executable File

#!/bin/bash
# Start the wallpaper daemon and eww bar for niri.
# swaybg replaces hyprpaper; one instance per output.
WALLPAPER="${HOME}/Pictures/background.jpg"
if [ -f "$WALLPAPER" ]; then
swaybg -m fill -i "$WALLPAPER" &
fi
mkdir -p ~/Pictures/Screenshots
~/.config/scripts/ewwstart.sh