Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,
)
)