Package Details: swhkd-bin 1.2.1-6

Git Clone URL: https://aur.archlinux.org/swhkd-bin.git (read-only, click to copy)
Package Base: swhkd-bin
Description: sxhkd clone for Wayland, X11 or TTY. Written in Rust.
Upstream URL: https://github.com/waycrate/swhkd
Keywords: rust sxhkd wayland
Licenses: BSD
Conflicts: swhkd, swhkd-git, swhkd-musl-git
Provides: swhkd
Submitter: murlakatamenka
Maintainer: murlakatamenka
Last Packager: murlakatamenka
Votes: 3
Popularity: 0.000012
First Submitted: 2022-03-21 03:24 (UTC)
Last Updated: 2023-12-29 20:55 (UTC)

Latest Comments

« First ‹ Previous 1 2

dreieck commented on 2023-06-21 11:09 (UTC)

Please add swhkd to the conflicts array.

Thanks for maintaining!

murlakatamenka commented on 2023-06-12 21:17 (UTC)

Glad to hear that, you are welcome 😊

m040601 commented on 2023-06-12 21:07 (UTC)

1.2.1-3 is working OK now. Thanks for your work.

murlakatamenka commented on 2023-06-12 16:38 (UTC)

Sorry for late reply, I've added LICENSE and docs to the package.

The docs are in *.scd.


Yeah, you were faster than me fixing links to point to raw files on github :)

m040601 commented on 2023-06-12 16:34 (UTC)

1.2.1-2 fails with,

==> Validating source files with sha256sums...
    swhkd-bin-1.2.1.zip ... Passed
    com.github.swhkd.pkexec.policy ... Passed
    LICENSE ... FAILED
    README.md ... FAILED
    CHANGELOG.md ... FAILED
    swhks.1.scd ... FAILED
    swhkd.1.scd ... FAILED
    swhkd.5.scd ... FAILED
    swhkd-keys.5.scd ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error making: swhkd-bin-exit status 1

m040601 commented on 2023-05-27 16:56 (UTC) (edited on 2023-05-27 17:12 (UTC) by m040601)

Thanks for providing this PKGBUILD. Usefull on small underpowered systems and/or when you dont want to install and download megabytes of Rust just to compile it.

This seems to be an interesting and usefull tool. Very nice that it mimics the well known sxhkd. I know a lot of them and I'm trying to test it on Archlinux.

 .... you can even use swhkd in a tty.

There are not many of them working BOTH in X, Wayland but also on the tty. This is very interesting for mapping commands or shellscripts to run (NOT ONLY keys to other keys/macros)

Very usefull, but abandoned:

Promising:

Works, simple, but no AUR PKGBUILD:

Super complicated, confusing and convoluted documentation needing a PhD:

Now, about this "swhkd-bin" PKGBUILD.

Sources (2)

  • https://raw.githubusercontent.com/waycrate/swhkd/
    19db3259a5f24e3c4395bbfeb3cfad8709d14f18/com.github.swhkd.pkexec.policy
  • swhkd-bin-1.2.1.zip

The zip file only contains two binaries.Sadly, no README, no Changelog, no examples, no help shipped to the users computer. Let's hope the developer packs more stuff into that "zip" file in the future.

This documentation is not fluff, and it is needed to properly understand and use this tool.

Now, in this "swhkd-bin" PKGBUILD you are also already pulling an extra text file from https://raw.githubusercontent.com/waycrate/swhkd/..." , that is that "com.github.swhkd.pkexec.policy" file.

Could you please also add the README, CHANGELOG, docs, LICENSE etc ?

These all should end up in something like

/usr/share/licences/swhkd/LICENCE

/usr/share/doc/swhkd/README
/usr/share/doc/swhkd/CHANGELOG
/usr/share/doc/swhkd/contrib/this-and-that
/usr/share/doc/swhkd/examples/this-and-that

The project uses scdoc to generate the man pages from a simple markdown like format.

If you dont want to do this on this "swhkd-bin" PKGBUILD, at least ship them to something like,

/usr/share/doc/swhkd/docs/swhkd-keys.5.scd
/usr/share/doc/swhkd/docs/swhkd.1.scd 
/usr/share/doc/swhkd/docs/swhkd.5.scd
/usr/share/doc/swhkd/docs/swhks.1.scd

These "scd" files are very simple to read without any tool.

Thanks in advance.

Shinyzenith commented on 2022-05-12 07:16 (UTC)

Hi! /etc/swhkd/runtime is no longer required in the pkgbuild, swhkd itself creates this directory on launch now. Swhkd 1.2.0 was released yesterday with a couple new features and bunch of bug fixes!

murlakatamenka commented on 2022-03-28 07:10 (UTC) (edited on 2022-04-04 15:32 (UTC) by murlakatamenka)

Hi, thanks for the heads up.

edit: finally updated 😀

Shinyzenith commented on 2022-03-26 07:07 (UTC) (edited on 2022-03-26 07:07 (UTC) by Shinyzenith)

Hi maintainer of swhkd-git and swhkd-musl-git here. We have switched over the policy file instead of rules file along with the addition of a runtime dir /etc/swhkd which is root only after the security audit from OpenSuse.

The swhkd-git and swhkd-musl-git have already received the patches for this change, bin still requires them :D