https://github.com/jovanlanik/gtklock
GTK-based lockscreen for Wayland
https://github.com/jovanlanik/gtklock
c gtk gtk3 gtklock linux sway swaywm wayland wlroots
Last synced: 23 days ago
JSON representation
GTK-based lockscreen for Wayland
- Host: GitHub
- URL: https://github.com/jovanlanik/gtklock
- Owner: jovanlanik
- License: gpl-3.0
- Created: 2022-05-17T19:52:36.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-23T17:41:58.000Z (2 months ago)
- Last Synced: 2025-04-01T10:09:30.729Z (30 days ago)
- Topics: c, gtk, gtk3, gtklock, linux, sway, swaywm, wayland, wlroots
- Language: C
- Homepage:
- Size: 179 KB
- Stars: 389
- Watchers: 6
- Forks: 26
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gtklock
GTK-based lockscreen for Wayland.
## About
gtklock is a lockscreen based on [gtkgreet](https://git.sr.ht/~kennylevinsen/gtkgreet).
It uses the ext-session-lock Wayland protocol.
Works on sway and other wlroots-based compositors.ℹ️ __For documentation, check out the [man page](https://man.voidlinux.org/gtklock) and [wiki](https://github.com/jovanlanik/gtklock/wiki).__
## Installing gtklock from a repository
gtklock is available on these repositories:[](https://repology.org/project/gtklock/versions)
- Arch: `# pacman -S gtklock`
- Gentoo: `# emerge --ask gui-apps/gtklock` (in [GURU repository](https://wiki.gentoo.org/wiki/Project:GURU))
- Void: `# xbps-install gtklock`❤️ __Please submit an installation command for your distro!__
## Building from source
```
$ meson setup builddir
$ ninja -C builddir
# meson install -C builddir
```
### Dependencies
- Meson (build-time)
- pkg-config (build-time)
- scdoc (optional, build-time)
- PAM
- gtk+3.0
- [gtk-session-lock](https://github.com/Cu3PO42/gtk-session-lock)
### Installing build dependencies
- Arch: `# pacman -S gcc meson pkgconf scdoc pam wayland gtk3 gtk-session-lock`
- Fedora: `# dnf install gcc meson pkgconf scdoc pam-devel wayland-devel gtk3-devel`, install gtk-session-lock manually
- Void: `# xbps-install gcc meson pkgconf scdoc pam-devel wayland-devel gtk+3-devel gtk-session-lock-devel`❤️ __Please submit an dependency installation command for your distro!__