mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 02:22:36 +02:00
implement API changes to accomodate for XDG
- add is_xdg_supported() (C and Perl). - use $XDG_CONFIG_HOME/irssi/ only when it is present. - fallback mechanism added. - scripts are run from $XDG_DATA_HOME/irssi/scripts/[autorun], if and only if xdg is used.
This commit is contained in:
parent
bfb9ca19f5
commit
e6b9a07f9a
4 changed files with 51 additions and 48 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#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