Skip to content

Instantly share code, notes, and snippets.

@joepie91
Created March 10, 2018 18:39
Show Gist options
  • Save joepie91/46a9bc1dfc8920be06fee1325a876a93 to your computer and use it in GitHub Desktop.
Save joepie91/46a9bc1dfc8920be06fee1325a876a93 to your computer and use it in GitHub Desktop.
case "$DE" in
kde)
open_kde "$url"
;;
gnome3|cinnamon)
open_gnome3 "$url"
;;
gnome)
open_gnome "$url"
;;
mate)
open_mate "$url"
;;
xfce)
open_xfce "$url"
;;
lxde|lxqt)
open_lxde "$url"
;;
enlightenment)
open_enlightenment "$url"
;;
cygwin)
open_cygwin "$url"
;;
darwin)
open_darwin "$url"
;;
flatpak)
open_flatpak "$url"
;;
generic)
open_generic "$url"
;;
[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment