Skip to content

Commit

Permalink
use xdg-open for default browser and file explorer in config.ron
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Oct 4, 2023
1 parent a149b42 commit 016e132
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions config.ron
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,11 @@
(modifiers: [Super], key: "r"): Resizing(Outwards),
(modifiers: [Super, Shift], key: "r"): Resizing(Inwards),

//TODO: ability to select default web browser
(modifiers: [Super], key: "b"): Spawn("firefox"),
//TODO: ability to select default file browser
(modifiers: [Super], key: "f"): Spawn("nautilus"),
(modifiers: [Super], key: "b"): Spawn("xdg-open http://"),
(modifiers: [Super], key: "f"): Spawn("xdg-open ~"),
//TODO: ability to select default terminal
(modifiers: [Super], key: "t"): Spawn("gnome-terminal"),

(modifiers: [Super], key: "a"): Spawn("busctl --user call com.system76.CosmicAppLibrary /com/system76/CosmicAppLibrary com.system76.CosmicAppLibrary Toggle"),
(modifiers: [Super], key: "w"): Spawn("busctl --user call com.system76.CosmicWorkspaces /com/system76/CosmicWorkspaces com.system76.CosmicWorkspaces Toggle"),
(modifiers: [Super], key: "slash"): Spawn("busctl --user call com.system76.CosmicLauncher /com/system76/CosmicLauncher com.system76.CosmicLauncher Toggle"),
Expand All @@ -87,4 +85,4 @@
workspace_amount: Dynamic,
workspace_layout: Vertical,
tiling_enabled: false,
)
)

0 comments on commit 016e132

Please sign in to comment.