FyshOS / fynedesk

A full desktop environment for Linux/Unix using Fyne
https://fyne.io/fynedesk/
Other
1.02k stars 47 forks source link

Use idiomatic go to retrieve user full name #240

Closed rafaelsousa closed 1 year ago

rafaelsousa commented 1 year ago
### Description:

Fixes #(issue)

Checklist:

Where applicable:

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3884594387


Files with Coverage Reduction New Missed Lines %
internal/ui/switcher.go 3 82.52%
internal/ui/launcher.go 8 50.36%
<!-- Total: 11 -->
Totals Coverage Status
Change from base Build 3878300944: -0.2%
Covered Lines: 1532
Relevant Lines: 5188

💛 - Coveralls
rafaelsousa commented 1 year ago

Is there any POSIX way of knowing that? So far, the only place I could have that information is within /etc/passwd. Or else, I think we get everything before the first space. Ok with that ?

andydotxyz commented 1 year ago

Splitting on space is probably ok for now :).