[fix/debloy] set the version

This commit is contained in:
Anas Elgarhy 2023-05-11 19:02:33 +03:00
parent 38d85133c4
commit 8f4a20dd4e
No known key found for this signature in database
GPG key ID: 0501802A1D496528
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
# yo-dwm version
VERSION = 6.4-0.2.1
# Archy DWM version
VERSION = 1.0.0
# Customize below to fit your system

View file

@ -2359,14 +2359,14 @@ zoom(const Arg *arg) {
int
main(int argc, char *argv[]) {
if (argc == 2 && !strcmp("-v", argv[1]))
die("dwm-"
die("archy dwm-"
VERSION);
else if (argc != 1)
die("usage: dwm [-v]");
die("usage: archy-dwm [-v]");
if (!setlocale(LC_CTYPE, "") || !XSupportsLocale())
fputs("warning: no locale support\n", stderr);
if (!(dpy = XOpenDisplay(NULL)))
die("dwm: cannot open display");
die("archy-dwm: cannot open display");
checkotherwm();
autostart_exec();
setup();