[FEATURE REQUEST] Add Wayland Support
hi i dont know why but no arguments are working. I have cutefetch in /usr/bin
nico:nico@cachyos-btw ~ ./rw $ cutefetch -h nico@cachyos-btw (\__/) os CachyOS (='.'=) ker 6.18.2-2-cachyos (")_(") arch x86_64 hs cachyos-btw ram 2.54 GB / 5.62 GB upt 2 hour(s), 3 minute(s), 22 second(s) mnts 511.87 MB / 2.00 GB (/boot::vfat) 15.66 GB / 474.92 GB (/::btrfs) 15.66 GB / 474.92 GB (/home::btrfs) 15.66 GB / 474.92 GB (/root::btrfs) 15.66 GB / 474.92 GB (/srv::btrfs) 15.66 GB / 474.92 GB (/var/cache::btrfs) 15.66 GB / 474.92 GB (/var/tmp::btrfs) 15.66 GB / 474.92 GB (/var/log::btrfs) 108.00 KB / 2.81 GB (/tmp::tmpfs) nico:nico@cachyos-btw ~ ./rw $ cutefetch -m cat nico@cachyos-btw (\__/) os CachyOS (='.'=) ker 6.18.2-2-cachyos (")_(") arch x86_64 hs cachyos-btw ram 2.54 GB / 5.62 GB upt 2 hour(s), 3 minute(s), 29 second(s) mnts 511.87 MB / 2.00 GB (/boot::vfat) 15.66 GB / 474.92 GB (/::btrfs) 15.66 GB / 474.92 GB (/home::btrfs) 15.66 GB / 474.92 GB (/root::btrfs) 15.66 GB / 474.92 GB (/srv::btrfs) 15.66 GB / 474.92 GB (/var/cache::btrfs) 15.66 GB / 474.92 GB (/var/tmp::btrfs) 15.66 GB / 474.92 GB (/var/log::btrfs) 108.00 KB / 2.81 GB (/tmp::tmpfs) nico:nico@cachyos-btw ~ ./rw
Hi. Do you think you can post a screenshot, or format your comment to reflect the output a bit more accurately?
Here's the problem. no matter what i type for example cutefetch -m dog shows the normal default cat and help is even not working. All arguments will be ignored
That looks like it's a different program than my version of cutefetch, which does not have that ASCII art as the default, and does not display so much information. Are you sure it's the same cutefetch as in this repository? You can run diff against this file to check: https://github.com/cybardev/cutefetch/blob/main/cutefetch
funny i had a different script but with yours it only shows a couple things
Yep, that's indeed my script. The window manager and resolution does not show up. Can you show the output of these two commands?
- WM name:
xprop -id $(xprop -root -notype | awk '$1=="_NET_SUPPORTING_WM_CHECK:"{print $5}') -notype -f _NET_WM_NAME 8t | grep -m 1 "WM_NAME" | cut -f2 -d \" - Resolution
xdpyinfo | grep 'dimensions' | grep -oE '[0-9]+x[0-9]+' | head -n 1
this is the output
Ah, I think I see the issue. Mine only supports X11, not Wayland. If you are using Wayland and you know what commands can be used to get WM name and resolution on any Wayland WM/compositor, feel free to suggest or make a PR.
Ah okay. I don't have that knowledge i guess.. i can try but maybe i go to the other cutefish program many people go to wayland nowadays. Thanks anyways
No probs. I'll keep the issue open in case someone wants to contribute.
Also, I may have found the cutefetch you were previously using: https://github.com/alphatechnolog/cutefetch
That one has the bunny ASCII art. If you make a feature request there, the author may be willing to add options for other animals.