configs  Check-in [223094cce0]

Overview
Comment:fish: Add dlna command
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 223094cce0120761bb452c9bbe0d75e4625858991972d4cc65c81ef62da654a5
User & Date: js 2020-02-26 22:52:15
Context
2020-02-26
23:09
vimrc: Place swap, undo and backup in ~/.cache check-in: 0a2da42b3e user: js tags: trunk
22:52
fish: Add dlna command check-in: 223094cce0 user: js tags: trunk
21:49
Make tmux use XDG basedir - somewhat check-in: f904a2dee2 user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added fish/functions/dlna.fish.





















>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
function dlna
    set -l cmd minidlnad -d -R
    set -a cmd -f $XDG_CONFIG_HOME/minidlna/minidlna.conf
    set -a cmd -P $XDG_DATA_HOME/minidlna/minidlna.pid

    type -q caffeinate
    set cmd caffeinate $cmd

    eval $cmd
end