configuration/local/bin/dtach_list

6 lines
162 B
Plaintext
Raw Normal View History

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