#!/bin/sh ## rename terminals ## . $HOME/.config/rootwm/rwm_var TARGET=$(pfw) # focused window NAMES="$HOME/.config/rootwm/names" if [ "$(atomx WM_CLASS $TARGET)" = "$TERMINAL" ]; then # if any terminal is focused atomx WM_NAME="_>$($XMENU < $NAMES)" $TARGET # change atom name fi