Class: Launchy::Detect::NixDesktopEnvironment::Gnome
- Inherits:
-
Launchy::Detect::NixDesktopEnvironment
- Object
- Launchy::Detect::NixDesktopEnvironment
- Launchy::Detect::NixDesktopEnvironment::Gnome
- Defined in:
- lib/launchy/detect/nix_desktop_environment.rb
Class Method Summary collapse
Methods inherited from Launchy::Detect::NixDesktopEnvironment
Methods included from Launchy::DescendantTracker
#children, #find_child, #inherited
Class Method Details
.browser ⇒ Object
44 45 46 |
# File 'lib/launchy/detect/nix_desktop_environment.rb', line 44 def self.browser 'gnome-open' end |
.is_current_desktop_environment? ⇒ Boolean
40 41 42 |
# File 'lib/launchy/detect/nix_desktop_environment.rb', line 40 def self.is_current_desktop_environment? ENV['GNOME_DESKTOP_SESSION_ID'] end |