Skip to content

Commit

Permalink
Merge pull request #958 from fastfetch-cli/dev
Browse files Browse the repository at this point in the history
Release v2.13.2
  • Loading branch information
CarterLi committed May 22, 2024
2 parents 36cf585 + f00969c commit 1b3977f
Show file tree
Hide file tree
Showing 30 changed files with 496 additions and 11,150 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# 2.13.2

Another hotfix release :(

Bugfixes:
* Remove DRM driver version detection feature, which caused a performance regression for nouveau drivers (#956, Display, Linux)
* Fix compatibility for old python versions. Regression of `2.13.0`
* Don't use `*-unknown` as display name for Wayland protocol (Display, Linux)

Features:
* Add new module `Editor` which prints information of the default editor, i.e. $VISUAL or $EDITOR (#430, Editor)

Logos:
* Added CuerdOS
* Remove special handling of Loc-OS

# 2.13.1

Fix a regression introduced in v2.13.0
Expand Down
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url

project(fastfetch
VERSION 2.13.1
VERSION 2.13.2
LANGUAGES C
DESCRIPTION "Fast neofetch-like system information tool"
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
Expand Down Expand Up @@ -291,6 +291,7 @@ set(LIBFASTFETCH_SRC
src/detection/disk/disk.c
src/detection/diskio/diskio.c
src/detection/displayserver/displayserver.c
src/detection/editor/editor.c
src/detection/font/font.c
src/detection/gpu/gpu.c
src/detection/media/media.c
Expand Down Expand Up @@ -330,6 +331,7 @@ set(LIBFASTFETCH_SRC
src/modules/de/de.c
src/modules/disk/disk.c
src/modules/diskio/diskio.c
src/modules/editor/editor.c
src/modules/font/font.c
src/modules/gpu/gpu.c
src/modules/host/host.c
Expand Down
3 changes: 2 additions & 1 deletion completions/fish
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ string match -r -a -g "^###> ?(.*)" < (status -f) | string collect | python3 | s
###> elif type == 'config':
###> print(f'{command_prefix} -x -a "(__fastfetch_complete_config)"')
###> elif type == 'enum':
###> print(f'{command_prefix} -x -a "{' '.join(flag["arg"]["enum"])}"')
###> temp: str = ' '.join(flag["arg"]["enum"])
###> print(f'{command_prefix} -x -a "{temp}"')
###> elif type == 'logo':
###> print(f'{command_prefix} -x -a "(__fastfetch_complete_logo)"')
###> elif type == 'structure':
Expand Down
5 changes: 5 additions & 0 deletions doc/json_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@
"disk",
"diskio",
"de",
"editor",
"font",
"gamepad",
"gpu",
Expand Down Expand Up @@ -795,6 +796,10 @@
"const": "datetime",
"description": "Print current date and time"
},
{
"const": "editor",
"description": "Print information of the default editor ($VISUAL or $EDITOR)"
},
{
"const": "font",
"description": "Print system font name"
Expand Down
13 changes: 11 additions & 2 deletions presets/all.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"os",
"host",
"bios",
"bootmgr",
"board",
"chassis",
"kernel",
Expand All @@ -14,6 +15,7 @@
"processes",
"packages",
"shell",
"editor",
"display",
"brightness",
"monitor",
Expand All @@ -30,7 +32,10 @@
"terminalfont",
"terminalsize",
"terminaltheme",
"cpu",
{
"type": "cpu",
"showPeCoreCount": true
},
"cpuusage",
"gpu",
"memory",
Expand All @@ -42,7 +47,11 @@
"player",
"media",
"publicip",
"localip",
{
"type": "localip",
"showIpV6": true,
"showMac": true
},
"wifi",
"datetime",
"locale",
Expand Down
13 changes: 11 additions & 2 deletions presets/ci.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"os",
"host",
"bios",
"bootmgr",
"board",
"chassis",
"kernel",
Expand All @@ -21,6 +22,7 @@
"processes",
"packages",
"shell",
"editor",
"display",
"brightness",
"monitor",
Expand All @@ -37,7 +39,10 @@
"terminalfont",
"terminalsize",
"terminaltheme",
"cpu",
{
"type": "cpu",
"showPeCoreCount": true
},
"cpuusage",
"gpu",
"memory",
Expand All @@ -49,7 +54,11 @@
"player",
"media",
"publicip",
"localip",
{
"type": "localip",
"showIpV6": true,
"showMac": true
},
"wifi",
"datetime",
"locale",
Expand Down
10 changes: 5 additions & 5 deletions presets/examples/8.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,24 @@
},
{
"type": "os",
"key": "",
"key": "",
"format": "{2} {8}"
},
{
"type": "kernel",
"key": ""
"key": ""
},
{
"type": "memory",
"key": "󰻠"
"key": ""
},
{
"type": "packages",
"key": ""
"key": "󰏖"
},
{
"type": "uptime",
"key": ""
"key": "󰅐"
},
{
"type": "custom",
Expand Down

0 comments on commit 1b3977f

Please sign in to comment.