mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 18:42:53 +02:00
add: xdg-support
- config file XDG support inspired from #511 - added support to try loading scripts from XDG_DATA_HOME, if not present try loading from XDG_CONFIG_HOME, if not present try loading the usual way.
This commit is contained in:
parent
a1cbb8d28f
commit
f972d05025
3 changed files with 45 additions and 15 deletions
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef IRSSI_COMMON_H
|
||||
#define IRSSI_COMMON_H
|
||||
|
||||
#define IRSSI_DIR_FULL "%s/.irssi" /* %s == g_get_home_dir() */
|
||||
|
||||
#define IRSSI_GLOBAL_CONFIG "irssi.conf" /* config file name in /etc/ */
|
||||
#define IRSSI_HOME_CONFIG "config" /* config file name in ~/.irssi/ */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue