#!/usr/bin/env bash #windowname="$(dmenu -p 'Enter New Window Name. Then, Select the Window to Change' <&-)" #xdotool selectwindow set_window --class "$windowname" ##if [ -z "$1" ]; ##then ##else ## xdotool getactivewindow set_window --class "$1" ##fi #if [ -z "$2" ]; then echo -en "\e]0;$2\a"; fi #xsetroot -name ""