module Fusuma::Plugin::Appmatcher

Detect focused applications.

Constants

VERSION

Public Instance Methods

backend_klass() click to toggle source

@return [Class]

# File lib/fusuma/plugin/appmatcher.rb, line 15
def backend_klass
  if ENV['DESKTOP_SESSION'] == 'ubuntu-wayland'
    Gnome
  else
    X11
  end
end