diff --git a/i18n/en/pop_desktop_widget.ftl b/i18n/en/pop_desktop_widget.ftl index 1291788..fbfc686 100644 --- a/i18n/en/pop_desktop_widget.ftl +++ b/i18n/en/pop_desktop_widget.ftl @@ -29,6 +29,7 @@ dock-extend = Extend dock to the edges of the screen dock-extends = Dock extends to edges dock-intelligently-hide = Intelligently hide dock-intelligently-hide-description = Dock hides when any window overlaps the dock area +dock-isolate-workspaces = Only show windows on the current workspace dock-launcher = Show Launcher Icon in Dock dock-mounted-drives = Show Mounted Drives dock-options = Dock Options diff --git a/src/lib.rs b/src/lib.rs index a83a9e0..fb60361 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -501,6 +501,9 @@ fn dock_options(container: &C) { settings.set_string("click-action", map_click_action_selection(click_action_selection)).unwrap(); })); }; + + let switch = switch_row(&list_box, &fl!("dock-isolate-workspaces")); + settings.bind("isolate-workspaces", &switch, "active").build(); } }