module Fingers::Dirs

Defined in:

fingers/dirs.cr

Constant Summary

CACHE = ROOT
CONFIG_PATH = CACHE / "config.json"
LOG_PATH = Path[XDG.state.file_path("fingers.log")]
ROOT = Path[XDG.state.file_path("tmux-#{TMUX_PID}")]
SOCKET_PATH = CACHE / "fingers.sock"
TMP = Path[File.dirname(File.tempname)]
TMUX_PID = ((ENV["TMUX"] || ",0000").split(","))[1]
XDG = XdgBaseDirectory.app_directories("tmux-fingers")

Class Method Summary

Class Method Detail

def self.ensure_folders! #

[View source]