From 59fa862a8f349f5ed4fb3ae1b2ce487038051563 Mon Sep 17 00:00:00 2001 From: BarbUk Date: Mon, 9 Mar 2020 17:09:15 +0400 Subject: [PATCH] Use xdg config dir to store snippets --- snippy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippy b/snippy index 7e6ffc8..cccdda7 100755 --- a/snippy +++ b/snippy @@ -50,7 +50,7 @@ # set -o errexit -o pipefail -o nounset -readonly snippets_directory=${HOME}/.snippy +readonly snippets_directory=$XDG_CONFIG_HOME/snippy readonly MENU_ENGINE="rofi" readonly DMENU_ARGS=(-dmenu -i -sort -async-pre-read 20 -theme-str 'element-icon { size: 2.35ch;}' -kb-accept-custom "" -kb-custom-1 "Ctrl+Return")