Skip to content

A few features I'd like to see in Hypr #47

Open
@ghost

Description

Loving the WM so far but coming from bspwm and dwm there are a few features I'm missing. If these are implemented and I've missed them in the documentation do let me know.

  1. Define workspaces in window rules i.e. open x on workspace y
  2. Define window rule to launch app in fullscreen mode. Games for example launch in tiled mode at the moment but do not function well i.e. resolution is off and in-app mouse movement is broken.
  3. Mouse support for movewindow. In particular on a desktop it is very useful to be able to drag a window to a new position.
  4. Scratchpad i.e. send a window to a hidden state and be able to retrieve it with a binding. Dwm has this and bspc can achieve it with a small script:
hidden=$(bspc query -N -n .hidden -d focused)

if [ -z "$hidden" ]; then
	bspc node focused -g hidden=on
else
	bspc node "$hidden" -g hidden=off
fi
  1. Automatically focus a window when it requires your attention. Doesn't exist out of the box in the other WMs but can be achieved with a simple script for bspc:
pull=$1
while read -r _ _ d n f s; do
    [[ "$f" = urgent && "$s" = on ]] &&
    bspc node "$n" ${pull:+-d focused} -f
done < <(bspc subscribe node_flag)

This is borderline essential for certain applications when you're on a different workspace. An example being League of Legends which require interaction within 5~ seconds when your queue pops.

Love the WM - thank you for sharing it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions