Class: Launchy::Detect::NixDesktopEnvironment::Xdg
- Inherits:
-
Launchy::Detect::NixDesktopEnvironment
- Object
- Launchy::Detect::NixDesktopEnvironment
- Launchy::Detect::NixDesktopEnvironment::Xdg
- Defined in:
- lib/launchy/detect/nix_desktop_environment.rb
Overview
Fall back environment as the last case
Class Method Summary collapse
Methods inherited from Launchy::Detect::NixDesktopEnvironment
browsers, detect, fallback_browsers
Methods included from Launchy::DescendantTracker
#children, #find_child, #inherited
Class Method Details
.browser ⇒ Object
73 74 75 |
# File 'lib/launchy/detect/nix_desktop_environment.rb', line 73 def self.browser ::Launchy::Argv.new( 'xdg-open' ) end |
.is_current_desktop_environment? ⇒ Boolean
69 70 71 |
# File 'lib/launchy/detect/nix_desktop_environment.rb', line 69 def self.is_current_desktop_environment? Launchy::Application.find_executable( browser ) end |