Skip to content

vilari-mickopf/hyprprop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyprprop

xprop for Hyprland

Dependencies

  • hyprland obviously
  • hyprevents capture window changed events to rerun slurp
  • socat to connect hyprevents with hyprprop events
  • slurp to select an area on the screen
  • jq to parse hyprctl output
  • make

Install

yay -S hyprprop-git

or

sudo make install

Usage

Just run

hyprprop

and select desired window

Optional special workspace case

Currently, there is no event triggered when a special workspace is opened or closed, so the only way to force slurp to redraw automatically is to add keybind for sending the signal to the hyprprop using the same key as togglespecialworkspace:

bind = $mod, <KEY>, togglespecialworkspace,
bind = $mod, <KEY>, exec, kill -USR1 "$(cat /tmp/hyprprop.pid)"

By binding both commands to the same key, Hyprland will execute them sequentially whenever the key is pressed.

Releases

No releases published

Packages

No packages published