configuration/local/bin/dtach_list
2016-01-23 11:00:57 +01:00

6 lines
162 B
Bash
Executable File

#!/bin/bash
socketdir="${XDG_CACHE_HOME:-$HOME/.cache}/dtach"
mkdir -p "$socketdir"
session="$(ls "$socketdir" | dmenu)"
urxvtc -e dtach -a "$socketdir/$session"