mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-04 06:00:30 +00:00
don't try to run xrandr on XNU/Windows
This commit is contained in:
parent
5109ff5cd8
commit
b2b9655d6f
@ -664,7 +664,9 @@ ncneofetch(struct notcurses* nc){
|
||||
fi.hostname = notcurses_hostname();
|
||||
fi.username = notcurses_accountname();
|
||||
fetch_env_vars(nc, &fi);
|
||||
fetch_x_props(&fi);
|
||||
if(kern != NCNEO_XNU && kern != NCNEO_WINDOWS){
|
||||
fetch_x_props(&fi);
|
||||
}
|
||||
if(kern == NCNEO_LINUX){
|
||||
fetch_cpu_info(&fi);
|
||||
}else{
|
||||
|
Loading…
Reference in New Issue
Block a user