configs_collection/scripts/wps.sh
2024-11-29 10:10:37 +03:00

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