Skip to content

fl42v/hyprjump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyprjump

A hacky and pretty basic implementation of Pop's cosmic-like window movement for Hyprland. Mandatory WIP.

What?

Keybindings that focus a window also change workspace/monitor: if you're trying to, for example, focus the window above the top window, you go to the previous workspace instead. Likewise, attempting to swap the top window with that above it will move it to the previous workspace. Same for monitors, except left/right instead of top/bottom.

Demo

Installation

  • Once it works, there'll be a nix flake (currently a template);
  • Otherwise, it's just cargo build and pointing to the target binary from the configuration.

Configuration

add smth like this to your hyprland.conf:

bind=SUPER,h,exec,hyprjump movefocus workspace focusmonitor '' l
bind=SUPERSHIFT,h,exec,hyprjump movetoworkspace movewindow 'mon:' l
# same for d u r

Vertical workspaces

hyprjump determines the orientation automatically by checking which style is used for animations:animation-workspaces.

What is missing

  • Restricting movement through unpopulated workspaces;
  • Proper handling of the special workspace;
  • Whatever I forgot to add here but specified in the TODO-comments;
  • Updated demo

About

Implementation of Pop's cosmic-like window movement for Hyprland

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published