Sha256: 48a649a5b658648ba2a52a029f52909ecab6f17c3cc575999bb3420920bae88f
Contents?: true
Size: 441 Bytes
Versions: 5
Compression:
Stored size: 441 Bytes
Contents
# frozen_string_literal: true require 'fusuma/plugin/appmatcher/version' require_relative 'appmatcher/x11' require_relative 'appmatcher/gnome' module Fusuma module Plugin # Detect focused applications. module Appmatcher module_function # @return [Class] def backend_klass if ENV['DESKTOP_SESSION'] == 'ubuntu-wayland' Gnome else X11 end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems