Skip to content

ZenKaban/workspacer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

Visual workspace switcher

ws2

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.

configuration

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

example keybinding

    bind = $Mod , Y, exec , $HOME/scripts/hypr/workspaced.py

floating rule

    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

About

Workspace UI for hyprland

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.3%
  • Shell 18.7%