Commit Graph

460 Commits

Author SHA1 Message Date
Linus Dierheimer 0c7a415f9b librpm: don't print error messages 2021-11-08 11:50:50 +01:00
Linus Dierheimer 0048c1ca98 Merge pull request #106 from CarterLi/master
Add CentOS logo support
2021-11-08 11:08:06 +01:00
Carter Li df2ad48d13 Logo: add CentOS logo 2021-11-08 17:37:17 +08:00
Carter Li a81f897258 CMakeList: don't require C++ compilers 2021-11-08 10:28:48 +08:00
Linus Dierheimer 6e6086a8b4 Merge pull request #105 from CarterLi/master
Packages: use the official librpm instead of libsqlite3
2021-11-07 21:23:32 +01:00
李通洲 b3b31d693e Settings: simplify macros and code cleanup 2021-11-06 22:50:52 +08:00
李通洲 f6700f5272 Packages: use the official RPM public API
instead of diving into its implementation detail to count installed rpm packages, which support CentOS
2021-11-06 22:47:51 +08:00
Linus Dierheimer 58ec50fa7f Merge pull request #103 from Linus789/preset-neofetch-fix
Make the preset neofetch more like neofetch
2021-11-03 18:23:05 +01:00
Linus789 15328345da Make the preset neofetch more like neofetch
- os-format: Print architecture without square brackets
- resolution-format: Do not print the refresh rate
- de-format: Use pretty name and print version
- theme-format: Print color scheme without brackets
- memory-format: Use MiB instead of Mib
2021-11-03 17:46:29 +01:00
Linus Dierheimer 0f16bf2698 Merge branch 'master' of github.com:LinusDierheimer/fastfetch 2021-11-01 19:39:05 +01:00
Linus Dierheimer 46ecdd42b6 Development notice 2021-11-01 19:37:45 +01:00
Linus Dierheimer 7663637ea9 Development notice 2021-11-01 19:33:12 +01:00
Linus Dierheimer bf1fbd572a Fix display of long terminal names 2021-11-01 14:47:36 +01:00
Linus Dierheimer e3f0319575 Merge pull request #102 from NBonaparte/master
fix: check if `processName` is NULL/empty to prevent segfaults
2021-11-01 12:32:33 +01:00
NBonaparte f333ede1f7 fix: check if processName is NULL/empty to prevent segfaults 2021-10-31 22:13:29 -07:00
Linus Dierheimer c0584cf465 More options documented in config file 2021-10-31 12:12:51 +01:00
Linus Dierheimer 00c05f14c7 Update bug_report.md 2021-10-25 13:34:43 +02:00
Linus Dierheimer c008f66a76 Fix bug in terminal format 2021-10-25 13:31:25 +02:00
Linus Dierheimer 57377019e6 Verbose and devinfo presets 2021-10-25 13:29:39 +02:00
Linus Dierheimer 2f555df690 Update issue templates 2021-10-24 21:25:10 +02:00
Linus Dierheimer eb6b8778b3 Update issue templates 2021-10-24 21:20:58 +02:00
Linus Dierheimer 09285338c5 Fix possible unassigned variable in memory code 2021-10-24 15:11:17 +02:00
Linus Dierheimer 20dd2fa28f New fedora logo 2021-10-24 14:47:28 +02:00
Linus Dierheimer 7a21f44a3a Exit signal handler 2021-10-23 15:48:24 +02:00
Linus Dierheimer 1df591b46f More informations in default config file 2021-10-23 14:59:11 +02:00
Linus Dierheimer b3ef53ddc9 Store big strings in separate files 2021-10-22 21:53:29 +02:00
Linus Dierheimer e18199e8ec Fix odering of XDG_CONFIG_DIRS 2021-10-22 18:42:14 +02:00
Linus Dierheimer 3923f11a45 Merge pull request #100 from CarterLi/master
Fix double free memory error
2021-10-20 18:48:07 +02:00
李通洲 c223ace5eb Fix double free memory error 2021-10-21 00:41:35 +08:00
Linus Dierheimer 9b399da872 Merge pull request #99 from CarterLi/master
Add Android basic support
2021-10-20 16:31:11 +02:00
李通洲 1a5b1428dc Add Android basic support 2021-10-20 22:27:29 +08:00
Linus Dierheimer 5589293d76 Merge pull request #98 from CarterLi/cmake
CMakeList: cleanup
2021-10-20 15:19:35 +02:00
李通洲 714181175d CMakeList: cleanup
Default CMAKE_BUILD_TYPE to Release, which implies -O3 -DNDEBUG
Don't force building with -O3, which makes debugging more friendly.
Remove option BUILD_DEBUG, which is covered by -DCMAKE_BUILD_TYPE=DEBUG / RelWithDebInfo
2021-10-20 08:13:49 +00:00
Linus Dierheimer fd257ddde9 better FF_UNUSED 2021-10-19 19:34:55 +02:00
Linus Dierheimer 349e5b24fa better support for building without features 2021-10-19 18:44:59 +02:00
Linus Dierheimer 73436824f9 Merge pull request #96 from CarterLi/build
Make it possible to build without optional dependencies
2021-10-19 17:07:25 +02:00
李通洲 e5322cf165 Make it possible to build without optional dependencies 2021-10-19 22:50:17 +08:00
Linus Dierheimer 564ddfc1b6 Merge pull request #95 from CarterLi/master
Add a new module that shows the number of current running processes
2021-10-19 15:07:12 +02:00
李通洲 181dfb5cfc Processes: add new module 2021-10-19 02:25:34 +00:00
Linus Dierheimer 072a4bc412 Merge pull request #94 from yuannan/master
Multithreading make
2021-10-18 16:47:38 +02:00
yuannan 914cd9219d tests multithreading 2021-10-18 02:40:33 +01:00
yuannan dbc4a815c5 updated building instructions 2021-10-18 02:23:02 +01:00
yuannan 5d97436c7d multithreading make 2021-10-18 02:18:42 +01:00
Linus Dierheimer 5f0c5a0351 Merge pull request #91 from CarterLi/master
Fix detecting Windows Terminal on WSL2
2021-10-17 15:17:32 +02:00
李通洲 7dc70b9730 Fix detecting Windows Terminal on WSL2 and SSH env 2021-10-17 21:12:19 +08:00
Linus Dierheimer d288a698b0 Merge pull request #92 from CarterLi/localip
Add new module that shows local IP addresses which are useful with frontend development
2021-10-17 15:09:26 +02:00
李通洲 38e2f8cf3e LocalIp: add new module 2021-10-17 21:05:04 +08:00
Linus Dierheimer 0b3f96610b Merge pull request #93 from CarterLi/wsl2
Better support devices running without desktop environment ( and WSL2 ), fix #83
2021-10-17 14:33:24 +02:00
李通洲 3a649493ea Don't print error: XDG_RUNTIME_DIR not set in the environment. when $XDG_RUNTIME_DIR is not set
According to [the manpage](https://manpages.debian.org/experimental/libwayland-doc/wl_display_connect.3.en.html), $XDG_RUNTIME_DIR must be set before calling `wl_display_connect(NULL)`.
Otherwise `wl_display_connect` will always fail, and print the error message
2021-10-17 18:37:51 +08:00
李通洲 8d7d33882f Always assume TTY when both $XDG_SESSION_TYPE and $WAYLAND_DISPLAY are not set
$TERM can be set to value other than `linux` ( eg xterm, xterm-256color ), just assume TTY when no desktop env is found, which effectively bypasses `getWMDE`
Fix #83
2021-10-17 18:34:11 +08:00