6 lines
162 B
Bash
Executable File
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"
|