diff --git a/README.md b/README.md index 8fdd664..bae1753 100644 --- a/README.md +++ b/README.md @@ -13,20 +13,18 @@ See the man page, `swaylock(1)`, for instructions on using swaylock. ## Release Signatures Releases are signed with [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A) -and published [on GitHub](https://github.com/swaywm/sway/releases). swaylock +and published [on GitHub](https://github.com/swaywm/swaylock/releases). swaylock releases are managed independently of sway releases. ## Installation ### From Packages -Sway is available in many distributions. Try installing the "swaylock" package -for yours. If it's not available, check out [this wiki -page](https://github.com/swaywm/sway/wiki/Unsupported-packages) for information -on installation for your distributions. +Swaylock is available in many distributions. Try installing the "swaylock" +package for yours. -If you're interested in packaging sway for your distribution, stop by the IRC -channel or shoot an email to sir@cmpwn.com for advice. +If you're interested in packaging swaylock for your distribution, stop by the +IRC channel or shoot an email to sir@cmpwn.com for advice. ### Compiling from Source diff --git a/main.c b/main.c index 2f26c1a..5c21817 100644 --- a/main.c +++ b/main.c @@ -718,7 +718,7 @@ static int parse_options(int argc, char **argv, struct swaylock_state *state, } break; case 'v': - fprintf(stdout, "swaylock version " SWAY_VERSION "\n"); + fprintf(stdout, "swaylock version " SWAYLOCK_VERSION "\n"); exit(EXIT_SUCCESS); break; case LO_BS_HL_COLOR: diff --git a/meson.build b/meson.build index 9962270..85e5fdd 100644 --- a/meson.build +++ b/meson.build @@ -47,7 +47,7 @@ git = find_program('git', required: false) scdoc = find_program('scdoc', required: false) wayland_scanner = find_program('wayland-scanner') -version = get_option('sway-version') +version = get_option('swaylock-version') if version != '' version = '"@0@"'.format(version) else @@ -59,7 +59,7 @@ else git_branch = run_command([git.path(), 'rev-parse', '--abbrev-ref', 'HEAD']).stdout().strip() version = '"@0@ (" __DATE__ ", branch \'@1@\')"'.format(git_commit_hash, git_branch) endif -add_project_arguments('-DSWAY_VERSION=@0@'.format(version), language: 'c') +add_project_arguments('-DSWAYLOCK_VERSION=@0@'.format(version), language: 'c') wl_protocol_dir = wayland_protos.get_pkgconfig_variable('pkgdatadir') diff --git a/meson_options.txt b/meson_options.txt index 9533fba..2e58cd9 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,4 +1,4 @@ -option('sway-version', type : 'string', description: 'The version string reported in `sway --version`.') +option('swaylock-version', type : 'string', description: 'The version string reported in `swaylock --version`.') option( 'pam', type: 'combo', diff --git a/swaylock.1.scd b/swaylock.1.scd index ef2c87b..593358b 100644 --- a/swaylock.1.scd +++ b/swaylock.1.scd @@ -167,5 +167,5 @@ Locks your Wayland session. # AUTHORS Maintained by Drew DeVault , who is assisted by other open -source contributors. For more information about sway development, see -https://github.com/swaywm/sway. +source contributors. For more information about swaylock development, see +https://github.com/swaywm/swaylock.