From 016e132e1eb12561c0c0866c7493d4c7e18e8f57 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Wed, 4 Oct 2023 11:59:12 -0400 Subject: [PATCH] use xdg-open for default browser and file explorer in config.ron --- config.ron | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/config.ron b/config.ron index 451dcecd..49f31801 100644 --- a/config.ron +++ b/config.ron @@ -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"), @@ -87,4 +85,4 @@ workspace_amount: Dynamic, workspace_layout: Vertical, tiling_enabled: false, -) \ No newline at end of file +)