Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: AndreasBackx/waycorner
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.2.2
Choose a base ref
...
head repository: AndreasBackx/waycorner
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 4 commits
  • 5 files changed
  • 5 contributors

Commits on Mar 21, 2024

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b68a541 View commit details
  2. Update to version 0.2.3.

    AndreasBackx committed Mar 21, 2024
    Copy the full SHA
    f13adfd View commit details

Commits on May 7, 2024

  1. Copy the full SHA
    94395c0 View commit details

Commits on Oct 19, 2024

  1. Add Nix installation instructions (#26)

    Co-authored-by: Andreas Backx <[email protected]>
    NotAShelf and AndreasBackx authored Oct 19, 2024
    Copy the full SHA
    b462a57 View commit details
Showing with 24 additions and 6 deletions.
  1. +4 −0 CHANGELOG.md
  2. +1 −1 Cargo.lock
  3. +2 −2 Cargo.toml
  4. +16 −2 README.md
  5. +1 −1 src/wayland.rs
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.2.3] - 2024-03-22
### Changed
- Change layer from top to overlay (#22).

## [0.2.2] - 2024-03-20
### Changed
- Updated smithay-client-toolkit to resolve issue described in https://github.com/Smithay/client-toolkit/pull/406 (#20).
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@ authors = ["Andreas Backx"]
categories = ["command-line-utilities"]
description = "Hot corners for Wayland. Create anchors in the corners of your monitors and execute a command of your choice."
edition = "2021"
homepage = "https://github.com/AndreasBackx/waycorner"
repository = "https://github.com/AndreasBackx/waycorner"
keywords = ["wayland", "hot-corners", "swaywm", "wlroots"]
license = "MIT"
name = "waycorner"
version = "0.2.2"
version = "0.2.3"

[dependencies]
anyhow = "1.0"
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -22,6 +22,20 @@ paru -S waycorner
cargo install waycorner --locked
```

### Nix/NixOS

[`waycorner`]: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/applications/misc/waycorner/default.nix
[See installation instructions.]: https://search.nixos.org/packages?channel=unstable&show=waycorner&from=0&size=50&sort=relevance&type=packages&query=waycorner
[@NotAShelf]: https://github.com/notashelf
[create an out-of-date package report]: https://github.com/NixOS/nixpkgs/issues/new?assignees=&labels=9.needs%3A+package+%28update%29&projects=&template=out_of_date_package_report.md&title=Update+request%3A+PACKAGENAME+OLDVERSION+%E2%86%92+NEWVERSION
[NixOS/nixpkgs]: https://github.com/NixOS/nixpkgs

The [`waycorner`] package is available via Nixpkgs. [See installation instructions.]

> [!NOTE]
> The Waycorner package in Nixpkgs is not updated automatically by the project, and is instead
> maintained by [@NotAShelf]. Please contact [@NotAShelf] or [create an out-of-date package report] on [NixOS/nixpkgs] in case the version is out-of-date.
### Manually

```zsh
@@ -64,8 +78,8 @@ margin = 20 # default
timeout_ms = 250 # default

# Hex color of the corner when previewed, supports transparency. (#AARRGGBB or #RRGGBB)
# (Useful for debuging purposes when setting up several hot corners.)
color = #FFFF0000 # default
# (Useful for debugging purposes when setting up several hot corners.)
color = "#FFFF0000" # default

# Optional output config to specify what output to use.
[left.output]
2 changes: 1 addition & 1 deletion src/wayland.rs
Original file line number Diff line number Diff line change
@@ -248,7 +248,7 @@ impl Wayland {
let layer_surface = layer_shell.get_layer_surface(
&surface,
Some(output),
zwlr_layer_shell_v1::Layer::Top,
zwlr_layer_shell_v1::Layer::Overlay,
"waycorner".to_owned(),
);
let size = corner_config.size.into();