Skip to content

Commit 1b3977f

Browse files
authored
Merge pull request #958 from fastfetch-cli/dev
Release v2.13.2
2 parents 36cf585 + f00969c commit 1b3977f

File tree

30 files changed

+496
-11150
lines changed

30 files changed

+496
-11150
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# 2.13.2
2+
3+
Another hotfix release :(
4+
5+
Bugfixes:
6+
* Remove DRM driver version detection feature, which caused a performance regression for nouveau drivers (#956, Display, Linux)
7+
* Fix compatibility for old python versions. Regression of `2.13.0`
8+
* Don't use `*-unknown` as display name for Wayland protocol (Display, Linux)
9+
10+
Features:
11+
* Add new module `Editor` which prints information of the default editor, i.e. $VISUAL or $EDITOR (#430, Editor)
12+
13+
Logos:
14+
* Added CuerdOS
15+
* Remove special handling of Loc-OS
16+
117
# 2.13.1
218

319
Fix a regression introduced in v2.13.0

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url
22

33
project(fastfetch
4-
VERSION 2.13.1
4+
VERSION 2.13.2
55
LANGUAGES C
66
DESCRIPTION "Fast neofetch-like system information tool"
77
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
@@ -291,6 +291,7 @@ set(LIBFASTFETCH_SRC
291291
src/detection/disk/disk.c
292292
src/detection/diskio/diskio.c
293293
src/detection/displayserver/displayserver.c
294+
src/detection/editor/editor.c
294295
src/detection/font/font.c
295296
src/detection/gpu/gpu.c
296297
src/detection/media/media.c
@@ -330,6 +331,7 @@ set(LIBFASTFETCH_SRC
330331
src/modules/de/de.c
331332
src/modules/disk/disk.c
332333
src/modules/diskio/diskio.c
334+
src/modules/editor/editor.c
333335
src/modules/font/font.c
334336
src/modules/gpu/gpu.c
335337
src/modules/host/host.c

completions/fish

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ string match -r -a -g "^###> ?(.*)" < (status -f) | string collect | python3 | s
8585
###> elif type == 'config':
8686
###> print(f'{command_prefix} -x -a "(__fastfetch_complete_config)"')
8787
###> elif type == 'enum':
88-
###> print(f'{command_prefix} -x -a "{' '.join(flag["arg"]["enum"])}"')
88+
###> temp: str = ' '.join(flag["arg"]["enum"])
89+
###> print(f'{command_prefix} -x -a "{temp}"')
8990
###> elif type == 'logo':
9091
###> print(f'{command_prefix} -x -a "(__fastfetch_complete_logo)"')
9192
###> elif type == 'structure':

doc/json_schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,7 @@
695695
"disk",
696696
"diskio",
697697
"de",
698+
"editor",
698699
"font",
699700
"gamepad",
700701
"gpu",
@@ -795,6 +796,10 @@
795796
"const": "datetime",
796797
"description": "Print current date and time"
797798
},
799+
{
800+
"const": "editor",
801+
"description": "Print information of the default editor ($VISUAL or $EDITOR)"
802+
},
798803
{
799804
"const": "font",
800805
"description": "Print system font name"

presets/all.jsonc

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"os",
77
"host",
88
"bios",
9+
"bootmgr",
910
"board",
1011
"chassis",
1112
"kernel",
@@ -14,6 +15,7 @@
1415
"processes",
1516
"packages",
1617
"shell",
18+
"editor",
1719
"display",
1820
"brightness",
1921
"monitor",
@@ -30,7 +32,10 @@
3032
"terminalfont",
3133
"terminalsize",
3234
"terminaltheme",
33-
"cpu",
35+
{
36+
"type": "cpu",
37+
"showPeCoreCount": true
38+
},
3439
"cpuusage",
3540
"gpu",
3641
"memory",
@@ -42,7 +47,11 @@
4247
"player",
4348
"media",
4449
"publicip",
45-
"localip",
50+
{
51+
"type": "localip",
52+
"showIpV6": true,
53+
"showMac": true
54+
},
4655
"wifi",
4756
"datetime",
4857
"locale",

presets/ci.jsonc

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"os",
1414
"host",
1515
"bios",
16+
"bootmgr",
1617
"board",
1718
"chassis",
1819
"kernel",
@@ -21,6 +22,7 @@
2122
"processes",
2223
"packages",
2324
"shell",
25+
"editor",
2426
"display",
2527
"brightness",
2628
"monitor",
@@ -37,7 +39,10 @@
3739
"terminalfont",
3840
"terminalsize",
3941
"terminaltheme",
40-
"cpu",
42+
{
43+
"type": "cpu",
44+
"showPeCoreCount": true
45+
},
4146
"cpuusage",
4247
"gpu",
4348
"memory",
@@ -49,7 +54,11 @@
4954
"player",
5055
"media",
5156
"publicip",
52-
"localip",
57+
{
58+
"type": "localip",
59+
"showIpV6": true,
60+
"showMac": true
61+
},
5362
"wifi",
5463
"datetime",
5564
"locale",

presets/examples/8.jsonc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,24 @@
2424
},
2525
{
2626
"type": "os",
27-
"key": "",
27+
"key": "",
2828
"format": "{2} {8}"
2929
},
3030
{
3131
"type": "kernel",
32-
"key": ""
32+
"key": ""
3333
},
3434
{
3535
"type": "memory",
36-
"key": "󰻠"
36+
"key": ""
3737
},
3838
{
3939
"type": "packages",
40-
"key": ""
40+
"key": "󰏖"
4141
},
4242
{
4343
"type": "uptime",
44-
"key": ""
44+
"key": "󰅐"
4545
},
4646
{
4747
"type": "custom",

0 commit comments

Comments
 (0)