wip: dnsc-machine setup
This commit is contained in:
parent
55c17e72cf
commit
6f26ae8e1d
2 changed files with 9 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ if [ $# -lt 1 ] || [ ! -d "$1" ]; then
|
|||
fi
|
||||
|
||||
# See awww-img(1)
|
||||
RESIZE_TYPE="fit"
|
||||
RESIZE_TYPE="crop"
|
||||
export AWWW_TRANSITION_FPS="${AWWW_TRANSITION_FPS:-60}"
|
||||
export AWWW_TRANSITION_STEP="${AWWW_TRANSITION_STEP:-2}"
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ while true; do
|
|||
done \
|
||||
| sort -n | cut -d':' -f2- \
|
||||
| while read -r img; do
|
||||
awww img --resize="$RESIZE_TYPE" "$img"
|
||||
swww img --resize="$RESIZE_TYPE" "$img"
|
||||
sleep "${2:-$DEFAULT_INTERVAL}"
|
||||
done
|
||||
done
|
||||
|
|
|
|||
|
|
@ -183,8 +183,10 @@ layout {
|
|||
}
|
||||
|
||||
// STARTUP
|
||||
|
||||
// Wallpaper Setup
|
||||
spawn-at-startup "swww-daemon" // Wallpaper
|
||||
// spawn-sh-at-startup ""
|
||||
spawn-sh-at-startup "~/.config/awww/bin/random-bg.sh ~/Pictures/Wallpapers/safe/dark"
|
||||
|
||||
hotkey-overlay {
|
||||
// Uncomment this line to disable the "Important Hotkeys" pop-up at startup.
|
||||
|
|
@ -509,6 +511,10 @@ binds {
|
|||
// Powers off the monitors. To turn them back on, do any input like
|
||||
// moving the mouse or pressing any other key.
|
||||
Mod+Shift+P { power-off-monitors; }
|
||||
|
||||
// Other bindings
|
||||
Mod+Ctrl+Alt+U { spawn-sh "~/.config/awww/bin/random-bg.sh ~/Pictures/Wallpapers/.un"; }
|
||||
Mod+Ctrl+Alt+S { spawn-sh "~/.config/awww/bin/random-bg.sh ~/Pictures/Wallpapers/safe/dark"; }
|
||||
}
|
||||
|
||||
xwayland-satellite {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue