Skip to content

fix the case where .xsession contains a full path

Guido Kroon requested to merge (removed):master into master

Some users (me) may have a symlink ~/.xsession to any X session file in /etc/X11/Sessions. These often contain full paths to launch the WM. This MR strips the directory from the filename. This way ufetch only prints the WM name, as opposed to the full path.

Merge request reports