#!/bin/bash -l sysenv='System native environment' env=`(echo "$sysenv"; plain_list_envs) | dmenu` test -f "$HOME/.cache/dmenu_run" && rm -f "$HOME/.cache/dmenu_run" if [ "$env" == "$sysenv" ]; then dmenu_run else bash -l -c "activate $env; dmenu_run" fi