made for Hyprland
bind the workspaced.py to a key or to waybar , and get a convenient way to switch between workspaces with previews of the windows in each workspace.
you need to run the workspace_listener.sh script in the background to get the previews of the windows in each workspace. In my case I write it into ~/.config/hypr/hyrland.conf
exec-once = $HOME/scripts/hypr/workspace_listener.sh
It will continue to snapshot the workspaces, whenever there is a change in workspace, by using Hyprland own's IPC.
requeriments: - grim cli screenshot tool - jq json parser
bind = $Mod , Y, exec , $HOME/scripts/hypr/workspaced.py
windowrule = float, title:^(Workspace Selector)$
- TODO:
- add a way to navigate the options with vim keys hjkl
- When a window is removed , check if the workspace is empty and remove it