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

6 lines
166 B
Bash
Executable File

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