/dports/x11-wm/i3/i3-4.20.1/libi3/ |
H A D | get_config_path.c | 23 char *xdg_config_home, *xdg_config_dirs, *config_path; in get_config_path() local 37 if ((xdg_config_home = getenv("XDG_CONFIG_HOME")) == NULL) { in get_config_path() 38 xdg_config_home = "~/.config"; in get_config_path() 41 xdg_config_home = resolve_tilde(xdg_config_home); in get_config_path() 42 sasprintf(&config_path, "%s/i3/config", xdg_config_home); in get_config_path() 43 free(xdg_config_home); in get_config_path()
|
/dports/x11-wm/i3-gaps/i3-4.20.1/libi3/ |
H A D | get_config_path.c | 23 char *xdg_config_home, *xdg_config_dirs, *config_path; in get_config_path() local 37 if ((xdg_config_home = getenv("XDG_CONFIG_HOME")) == NULL) { in get_config_path() 38 xdg_config_home = "~/.config"; in get_config_path() 41 xdg_config_home = resolve_tilde(xdg_config_home); in get_config_path() 42 sasprintf(&config_path, "%s/i3/config", xdg_config_home); in get_config_path() 43 free(xdg_config_home); in get_config_path()
|
/dports/net/rclone-browser/RcloneBrowser-1.8.0/src/ |
H A D | utils.cpp | 72 QString xdg_config_home = qgetenv("XDG_CONFIG_HOME"); in GetIniFilename() 73 return xdg_config_home + "/rclone-browser/rclone-browser.ini"; in GetIniFilename() 80 QString xdg_config_home = qgetenv("XDG_CONFIG_HOME"); in IsPortableMode() local 87 xdg_config_home = xdg_config_home.left(xdg_config_home.length() - 7); in IsPortableMode() 90 if (!xdg_config_home.isEmpty() && !appimage.isEmpty() && in IsPortableMode() 91 xdg_config_home == appimage) { in IsPortableMode() 214 QString xdg_config_home = qgetenv("XDG_CONFIG_HOME"); in GetRcloneConf() 215 conf = QDir(xdg_config_home + "/..").filePath(conf); in GetRcloneConf() 237 QString xdg_config_home = qgetenv("XDG_CONFIG_HOME"); in GetRclone() 238 rclone = QDir(xdg_config_home + "/..").filePath(rclone); in GetRclone()
|
/dports/databases/akonadi/akonadi-21.12.3/apparmor/ |
H A D | usr.bin.akonadiserver | 7 @{xdg_config_home}=@{HOME}/.config 66 owner @{xdg_config_home}/* r, 67 owner @{xdg_config_home}/akonadi* rw, 68 owner @{xdg_config_home}/QtProject/qtlogging.ini r, 69 owner @{xdg_config_home}/akonadi/ rw, 70 owner @{xdg_config_home}/akonadi/** rwl, 71 owner @{xdg_config_home}/akonadi/akonadiconnectionrc wl, 72 owner @{xdg_config_home}/akonadi/akonadiconnectionrc.lock rwk, 73 owner @{xdg_config_home}/akonadi/akonadiserverrc.lock rwk,
|
/dports/sysutils/usermin/usermin-1.830/filemin/lib/File/ |
H A D | BaseDir.pm | 48 our $xdg_config_home = File::Spec->catdir($home, '.config'); 65 sub xdg_config_home {$ENV{XDG_CONFIG_HOME} || $xdg_config_home } subroutine 90 sub config_home { _catfile(xdg_config_home, @_) } 92 sub config_dirs { _find_files(\&_dir, \@_, xdg_config_home, xdg_config_dirs) } 94 sub config_files { _find_files(\&_file, \@_, xdg_config_home, xdg_config_dirs) }
|
/dports/sysutils/webmin/webmin-1.981/filemin/lib/File/ |
H A D | BaseDir.pm | 48 our $xdg_config_home = File::Spec->catdir($home, '.config'); 65 sub xdg_config_home {$ENV{XDG_CONFIG_HOME} || $xdg_config_home } subroutine 90 sub config_home { _catfile(xdg_config_home, @_) } 92 sub config_dirs { _find_files(\&_dir, \@_, xdg_config_home, xdg_config_dirs) } 94 sub config_files { _find_files(\&_file, \@_, xdg_config_home, xdg_config_dirs) }
|
/dports/sysutils/webmin/webmin-1.981/authentic-theme/lib/File/ |
H A D | BaseDir.pm | 48 our $xdg_config_home = File::Spec->catdir($home, '.config'); 65 sub xdg_config_home {$ENV{XDG_CONFIG_HOME} || $xdg_config_home } subroutine 90 sub config_home { _catfile(xdg_config_home, @_) } 92 sub config_dirs { _find_files(\&_dir, \@_, xdg_config_home, xdg_config_dirs) } 94 sub config_files { _find_files(\&_file, \@_, xdg_config_home, xdg_config_dirs) }
|
/dports/sysutils/usermin/usermin-1.830/authentic-theme/lib/File/ |
H A D | BaseDir.pm | 48 our $xdg_config_home = File::Spec->catdir($home, '.config'); 65 sub xdg_config_home {$ENV{XDG_CONFIG_HOME} || $xdg_config_home } subroutine 90 sub config_home { _catfile(xdg_config_home, @_) } 92 sub config_dirs { _find_files(\&_dir, \@_, xdg_config_home, xdg_config_dirs) } 94 sub config_files { _find_files(\&_file, \@_, xdg_config_home, xdg_config_dirs) }
|
/dports/benchmarks/phoronix-test-suite/phoronix-test-suite-10.6.1/pts-core/modules/ |
H A D | matisk.php | 325 …$xdg_config_home = is_dir('/etc/xdg/autostart') && is_writable('/etc/xdg/autostart') ? '/etc/xdg/a… 327 if($xdg_config_home == false) 329 $xdg_config_home = pts_core::user_home_directory() . '.config'; 332 if($xdg_config_home != false && is_dir($xdg_config_home)) 334 $autostart_dir = $xdg_config_home . '/autostart/'; 335 pts_file_io::mkdir($xdg_config_home . '/autostart/'); 337 file_put_contents($xdg_config_home . '/autostart/phoronix-test-suite-matisk.desktop', ' 435 …isset($xdg_config_home) && pts_file_io::unlink($xdg_config_home . '/autostart/phoronix-test-suite-…
|
/dports/multimedia/pitivi/pitivi-0.999/tests/ |
H A D | test_shortcuts.py | 65 with mock.patch("pitivi.shortcuts.xdg_config_home") as xdg_config_home,\ 67 xdg_config_home.return_value = temp_dir 90 with mock.patch("pitivi.shortcuts.xdg_config_home") as xdg_config_home,\ 92 xdg_config_home.return_value = temp_dir 120 with mock.patch("pitivi.shortcuts.xdg_config_home") as xdg_config_home,\ 123 xdg_config_home.return_value = temp_dir
|
H A D | test_settings.py | 104 with mock.patch("pitivi.settings.xdg_config_home") as xdg_config_home,\ 108 xdg_config_home.return_value = temp_dir 121 with mock.patch("pitivi.settings.xdg_config_home") as xdg_config_home,\ 123 xdg_config_home.return_value = temp_dir
|
/dports/x11/jgmenu/jgmenu-4.4.0/src/ |
H A D | gtkconf.c | 49 char *xdg_config_home; in gtkconf_get() local 53 xdg_config_home = getenv("XDG_CONFIG_HOME"); in gtkconf_get() 54 if (xdg_config_home) { in gtkconf_get() 55 sbuf_cpy(&settingsini, xdg_config_home); in gtkconf_get()
|
/dports/net-im/profanity/profanity-0.11.1/src/config/ |
H A D | files.c | 198 gchar* xdg_config_home = NULL; in _files_get_xdg_config_home() local 201 xdg_config_home = strdup(xdg_config_home_env); in _files_get_xdg_config_home() 202 g_strstrip(xdg_config_home); in _files_get_xdg_config_home() 205 if (xdg_config_home && (strcmp(xdg_config_home, "") != 0)) { in _files_get_xdg_config_home() 206 return xdg_config_home; in _files_get_xdg_config_home()
|
/dports/x11/libxkbcommon/libxkbcommon-1.3.1/src/compose/ |
H A D | paths.c | 155 const char *xdg_config_home; in get_xdg_xcompose_file_path() local 158 xdg_config_home = secure_getenv("XDG_CONFIG_HOME"); in get_xdg_xcompose_file_path() 159 if (!xdg_config_home || xdg_config_home[0] != '/') { in get_xdg_xcompose_file_path() 166 return asprintf_safe("%s/XCompose", xdg_config_home); in get_xdg_xcompose_file_path()
|
/dports/www/py-internetarchive/internetarchive-2.2.0/tests/ |
H A D | test_config.py | 202 xdg_config_home=None, argument 224 xdg_config_home = _replace_path(xdg_config_home) 239 if xdg_config_home is not None: 240 env['XDG_CONFIG_HOME'] = xdg_config_home 289 xdg_config_home='$TMPTESTDIR/.xdg', 297 xdg_config_home='', 305 xdg_config_home='relative/.config',
|
/dports/x11-themes/Kvantum/Kvantum-0.20.2/Kvantum/kvantummanager/ |
H A D | KvCommand.cpp | 26 QString xdg_config_home; in getHomeConfig() local 29 xdg_config_home = QString ("%1/.config").arg (QDir::homePath()); in getHomeConfig() 31 xdg_config_home = QString (_xdg_config_home); in getHomeConfig() 32 return xdg_config_home; in getHomeConfig() 96 const QString xdg_config_home = getHomeConfig(); in getAllThemes() local 100 QDir kv = QDir (QString ("%1/Kvantum").arg (xdg_config_home)); in getAllThemes() 106 QString path = QString ("%1/Kvantum/%2").arg (xdg_config_home).arg (folder); in getAllThemes()
|
/dports/devel/p5-UI-Dialog/UI-Dialog-1.21/lib/UI/Dialog/Backend/ |
H A D | Nautilus.pm | 161 my $xdg_config_home = $ENV{XDG_CONFIG_HOME} || $home.'/.config'; 162 if (-d $xdg_config_home && -f $xdg_config_home.'/user-dirs.dirs') { 163 foreach (`. "${xdg_config_home}/user-dirs.dirs"; env`) {
|
/dports/x11/xsettingsd/xsettingsd-1.0.0-2-g1b2bcca/ |
H A D | common.cc | 73 const char* xdg_config_home = getenv("XDG_CONFIG_HOME"); in GetDefaultConfigFilePaths() local 74 if (xdg_config_home && xdg_config_home[0] != '\0') in GetDefaultConfigFilePaths() 75 xdg_dirs.push_back(xdg_config_home); in GetDefaultConfigFilePaths()
|
/dports/devel/p5-File-BaseDir/File-BaseDir-0.09/lib/File/ |
H A D | BaseDir.pm | 53 sub xdg_config_home {$ENV{XDG_CONFIG_HOME} || File::Spec->catdir(_home(), '.config') } subroutine 78 sub config_home { _catfile(xdg_config_home, @_) } 80 sub config_dirs { _find_files(\&_dir, \@_, xdg_config_home, xdg_config_dirs) } 82 sub config_files { _find_files(\&_file, \@_, xdg_config_home, xdg_config_dirs) }
|
/dports/sysutils/lnav/lnav-0.10.1/src/base/ |
H A D | paths.cc | 41 auto xdg_config_home = getenv("XDG_CONFIG_HOME"); in dotlnav() local 53 if (xdg_config_home != nullptr) { in dotlnav() 54 auto xdg_path = ghc::filesystem::path(xdg_config_home); in dotlnav()
|
/dports/www/py-internetarchive/internetarchive-2.2.0/internetarchive/ |
H A D | config.py | 124 xdg_config_home = os.environ.get('XDG_CONFIG_HOME') 125 if not xdg_config_home or not os.path.isabs(xdg_config_home): 129 xdg_config_home = os.path.join(os.path.expanduser('~'), '.config') 130 xdg_config_file = os.path.join(xdg_config_home, 'internetarchive', 'ia.ini')
|
/dports/sysutils/solaar/Solaar-1.0.1/ |
H A D | setup.py | 19 xdg_config_home = environ.get('XDG_CONFIG_HOME', path.expanduser(path.join('~', '.config'))) variable 20 autostart_path = path.join(xdg_config_home, 'autostart') 21 del environ, path, xdg_config_home
|
/dports/audio/cmus/cmus-2.9.1/ |
H A D | misc.c | 232 char *xdg_config_home = get_non_empty_env("XDG_CONFIG_HOME"); in misc_init() local 233 if (xdg_config_home == NULL) { in misc_init() 234 xdg_config_home = xstrjoin(home_dir, "/.config"); in misc_init() 237 make_dir(xdg_config_home); in misc_init() 238 cmus_config_dir = xstrjoin(xdg_config_home, "/cmus"); in misc_init() 240 free(xdg_config_home); in misc_init()
|
/dports/math/py-yt/yt-4.0.1/yt/fields/tests/ |
H A D | test_fields_plugins.py | 36 cls.xdg_config_home = os.environ.get("XDG_CONFIG_HOME") 48 if cls.xdg_config_home: 49 os.environ["XDG_CONFIG_HOME"] = cls.xdg_config_home
|
/dports/deskutils/py-khal/khal-0.10.4/tests/ |
H A D | cli_test.py | 16 xdg_data_home=None, xdg_config_home=None, tmpdir=None, **kwargs): argument 21 self.xdg_config_home = xdg_config_home 39 xdg_config_home = tmpdir.join('.config') 40 config_file = xdg_config_home.join('khal').join('config') 45 monkeypatch.setattr('xdg.BaseDirectory.xdg_config_home', str(xdg_config_home)) 53 if not os.path.exists(str(xdg_config_home.join('khal'))): 54 os.makedirs(str(xdg_config_home.join('khal'))) 63 xdg_data_home=xdg_data_home, xdg_config_home=xdg_config_home, 718 runner.xdg_config_home.remove() 775 os.chmod(str(runner.xdg_config_home), 555) [all …]
|