use xdg-open for default browser and file explorer in config.ron

This commit is contained in:
Ashley Wulber 2023-10-04 11:59:12 -04:00
parent a149b4262f
commit 016e132e1e
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

View file

@ -65,10 +65,8 @@
(modifiers: [Super], key: "r"): Resizing(Outwards), (modifiers: [Super], key: "r"): Resizing(Outwards),
(modifiers: [Super, Shift], key: "r"): Resizing(Inwards), (modifiers: [Super, Shift], key: "r"): Resizing(Inwards),
//TODO: ability to select default web browser (modifiers: [Super], key: "b"): Spawn("xdg-open http://"),
(modifiers: [Super], key: "b"): Spawn("firefox"), (modifiers: [Super], key: "f"): Spawn("xdg-open ~"),
//TODO: ability to select default file browser
(modifiers: [Super], key: "f"): Spawn("nautilus"),
//TODO: ability to select default terminal //TODO: ability to select default terminal
(modifiers: [Super], key: "t"): Spawn("gnome-terminal"), (modifiers: [Super], key: "t"): Spawn("gnome-terminal"),