---
Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Makefile b/Makefile
index 797fc4b..80d2c2f 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,9 @@ install: scroll
cp -f scroll $(DESTDIR)$(BINDIR)
cp -f scroll.1 $(DESTDIR)$(MANDIR)/man1
+uninstall:
+ rm -f
It is common convention to have this.
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 9f382b7..797fc4b 100644
--- a/Makefile
+++ b/Makefile
@@ -10,9 +10,9 @@ config.h:
scroll: scroll.c config.h
install: scroll
- mkdir -p $(
Using st and zsh, this breaks the scrollback and messes it up. Meaning,
it is not rendered properly.
This reverts commit fa406caa11cb4319aab8922b90c0b969998027fc which
introduces the bug.
---
scroll.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/scroll.c b/scroll.c
index b58f059..86241b8
Signed-off-by: parazyd
---
uptime.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/uptime.c b/uptime.c
index e0dd6fa..3979964 100644
--- a/uptime.c
+++ b/uptime.c
@@ -44,7 +44,7 @@ main(int argc, char *argv[])
hours = info.uptime % 24;
days = info.uptime
---
components/wifi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/components/wifi.c b/components/wifi.c
index 13b630a..af175fd 100644
--- a/components/wifi.c
+++ b/components/wifi.c
@@ -31,6 +31,7 @@
return NULL;
}
if(!(p = fgets(stat
---
components/volume.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/volume.c b/components/volume.c
index 7c831c9..41a112d 100644
--- a/components/volume.c
+++ b/components/volume.c
@@ -26,7 +26,7 @@ vol_perc(const char *card)
return NULL;
Implement basic percentage calculation for wifi_perc. With this
commit, the function returns correct percentage, since the max
of what /proc/net/wireless returns is 70.
---
components/wifi.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/components/wifi.c b/componen
ANPREFIX)/man1 && rm -f $(MAN)
+ cd $(DESTDIR)$(MANPREFIX)/man1 && rm -f $(MAN) install.1
dist: clean
mkdir -p sbase-$(VERSION)
--
~ parazyd
GPG: 0333 7671 FDE7 5BB6 A85E C91F B876 CB44 FA1B 0274
signature.asc
Description: Digital signature