Content was not in bold.

Florian D
2017-03-23 18:31:09 +01:00
parent a8a7324f71
commit 833f02ce79

@@ -29,7 +29,7 @@ This page contains examples and recipes contributed by community members. Feel f
- [Print out a compact calendar for the year](#calendar)
- [Parsing unambiguous date time inside daylight transition](#parse_daylight_transition)
- [`microfortnights`?! Are you serious?](#microfortnights)
- [Find UNIX download folder thanks to xdg-user-dir](#set_install_with_xdg_user_dir)
- [Find and set UNIX download folder thanks to xdg-user-dir](#set_install_with_xdg_user_dir)
***
@@ -1659,7 +1659,7 @@ If this library can do this so easily with something as crazy as `microfortnight
<a name="set_install_with_xdg_user_dir"></a>
### Find UNIX download folder thanks to xdg-user-dir
### Find and set UNIX download folder thanks to xdg-user-dir
(by [Coin²](https://github.com/coin-au-carre))
The library uses the path `~/Downloads` by default. What if you use a different path for your download directory such as `~/Téléchargements` or `~/Завантаження` and you want your program to automatically find this path ? A solution is to use [xdg_user_dir](https://freedesktop.org/wiki/Software/xdg-user-dirs/). The following code shows you how you can do it :