Class: Launchy::Detect::NixDesktopEnvironment::Kde

Inherits:
Launchy::Detect::NixDesktopEnvironment show all
Defined in:
lib/launchy/detect/nix_desktop_environment.rb

Overview


The list of known desktop environments


Class Method Summary collapse

Methods inherited from Launchy::Detect::NixDesktopEnvironment

detect, fallback_browsers

Methods included from Launchy::DescendantTracker

#children, #find_child, #inherited

Class Method Details

.browserObject



34
35
36
# File 'lib/launchy/detect/nix_desktop_environment.rb', line 34

def self.browser
  'kfmclient'
end

.is_current_desktop_environment?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/launchy/detect/nix_desktop_environment.rb', line 30

def self.is_current_desktop_environment?
  ENV['KDE_FULL_SESSION']
end