about summary refs log tree commit diff
path: root/ncmpcpp/@install
blob: e82601b0bd107a897ce1005ed10cc3f7205a89ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

[ ! -d "${XDG_CONFIG_HOME}/ncmpcpp" ] && \
    mkdir -p "${XDG_CONFIG_HOME}/ncmpcpp"
[ ! -d "${XDG_DATA_HOME}/ncmpcpp" ] && \
    mkdir -p "${XDG_DATA_HOME}/ncmpcpp"
[ ! -d "${XDG_DATA_HOME}/ncmpcpp/lyrics" ] && \
    mkdir -p "${XDG_DATA_HOME}/ncmpcpp/lyrics"

stow \
    --target="${HOME}" \
    --ignore="^@.*" \
    --verbose \
    ncmpcpp

Consider giving Nix/NixOS a try! <3