[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 # Archy DWM version
VERSION = 6.4-0.2.1 VERSION = 1.0.0
# Customize below to fit your system # Customize below to fit your system

View File

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