mirror of
https://github.com/EnumeratedDev/stormfetch.git
synced 2026-09-16 07:56:12 +00:00
DE/WM information has been converted to a Golang function
This commit is contained in:
@@ -11,11 +11,10 @@ if [ ! -z "$GPU_MODEL" ]; then
|
||||
fi
|
||||
echo -e "${C3}Memory: ${C4}${MEM_USED} MiB / ${MEM_TOTAL} MiB"
|
||||
if xhost >& /dev/null ; then
|
||||
if get_de_wm &> /dev/null; then
|
||||
echo -e "${C3}DE/WM: ${C4}$(get_de_wm)"
|
||||
if [ ! -z "$DE_WM" ]; then
|
||||
echo -e "${C3}DE/WM: ${C4}${DE_WM}"
|
||||
fi
|
||||
if command_exists xdpyinfo ; then
|
||||
echo -e "${C3}Screen Resolution: ${C4}$(get_screen_resolution)"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user