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

feat: Add option to only show open windows on the current workspace #105

Open
wants to merge 1 commit into
base: master_jammy
Choose a base branch
from
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions i18n/en/pop_desktop_widget.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,9 @@ fn dock_options<C: ContainerExt>(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();
}
}

Expand Down