7 lines
288 B
Bash
Executable file
7 lines
288 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
screen_size=$(xrandr | grep ' connected' | awk '{print $3}' | cut -f1 -d"+")
|
|
|
|
IFS=$'\n'
|
|
readarray -t <<<"$screen_size"
|
|
feh --bg-fill ~/Pictures/Wallpapers/gruvbox/supra_gruvbox_h--"${MAPFILE[1]}".png ~/Pictures/Wallpapers/gruvbox/supra_gruvbox_p--"${MAPFILE[2]}".png
|