Module: Fusuma::Plugin::Appmatcher
- Defined in:
- lib/fusuma/plugin/appmatcher.rb,
lib/fusuma/plugin/appmatcher/x11.rb,
lib/fusuma/plugin/appmatcher/gnome.rb,
lib/fusuma/plugin/appmatcher/version.rb,
lib/fusuma/plugin/appmatcher/user_switcher.rb,
lib/fusuma/plugin/appmatcher/gnome_extension.rb,
lib/fusuma/plugin/appmatcher/unsupported_backend.rb,
lib/fusuma/plugin/appmatcher/gnome_extensions/installer.rb
Overview
Detect focused applications.
Defined Under Namespace
Modules: GnomeExtensions, UserSwitcher
Classes: Gnome, GnomeExtension, UnsupportedBackend, X11
Constant Summary
collapse
- VERSION =
"0.7.1"
Class Method Summary
collapse
Class Method Details
.xdg_current_desktop ⇒ Object
38
39
40
|
# File 'lib/fusuma/plugin/appmatcher.rb', line 38
def xdg_current_desktop
ENV.fetch("XDG_CURRENT_DESKTOP", "")
end
|
.xdg_session_type ⇒ Object
34
35
36
|
# File 'lib/fusuma/plugin/appmatcher.rb', line 34
def xdg_session_type
ENV.fetch("XDG_SESSION_TYPE", "")
end
|