Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux check if using wayland or x11

loginctl show-session $(awk '/tty/ {print $1}' <(loginctl)) -p Type | awk -F= '{print $2}'
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #linux #check #wayland
ADD COMMENT
Topic
Name
5+8 =