#!/bin/sh [ "$1" ] && { xwallpaper --maximize "$1" && exit 1; } if [ "$(cat /etc/hostname)" = "pc" ]; then res="1920x1080" elif [ "$(cat /etc/hostname)" = "laptop" ]; then res="1366x768" fi xwallpaper --maximize /home/samedamci/.config/wallpapers/"$res"/wall1.png &