Hot corners for Wayland. Create anchors in the corners of your monitors and execute a command of your choice.
Note: Currently only tested on swaywm. Though it should work on any Wayland compositor that supports the xdg-output protocol.
https://user-images.githubusercontent.com/1593486/120075347-cd7cc400-c098-11eb-9a76-7fb26ee9cab9.mp4
If you would like waycorner to be available on your distro's package manager, feel free to make an issue if you have some time to help.
zsh
paru -S waycorner
zsh
cargo install waycorner --locked
zsh
git clone git@github.com:AndreasBackx/waycorner.git
cd waycorner
cargo install --path . --locked
Default configuration location is ~/.config/waycorner/config.toml
, this needs to be created manually. You can also specify a different location using --config
. Preview your configuration with the --preview
flag.
```toml [left]
command
is an alias for enter_command
.enter_command = [ "notify-send", "enter" ]
exit_command = [ "notify-send", "exit" ]
locations = ["bottomright", "bottomleft"] # default
size = 10 # default
margin = 20 # default
timeout_ms = 250 # default
color = #FFFF0000 # default
[left.output]
#
swaymsg -t get_outputs
to get a list of outputs in the format:description = "" # default, empty means all outputs ```
Then add exec waycorner
to your swaywm config.
Pass RUST_LOG
with either trace
, debug
, info
, warn
, or error
. To set the logging level, default is error
. See env_logger documentation.