commit 7a3cd01aece6cc774751e8cc5e0cc24dbfa3c1c2
parent 0933ca9f7d365f93ff4968e3d1da692df038f106
Author: tongong <tongong@gmx.net>
Date: Mon, 19 Jul 2021 16:08:44 +0200
renamed backlight-control
Diffstat:
6 files changed, 61 insertions(+), 61 deletions(-)
diff --git a/suckless/backlight_control/LICENSE b/suckless/backlight-control/LICENSE
diff --git a/suckless/backlight-control/Makefile b/suckless/backlight-control/Makefile
@@ -0,0 +1,24 @@
+CC = gcc
+CFLAGS += -Wall -Wextra -O3 -march=native
+
+prefix = /usr/local
+backlight_dir = /sys/class/backlight
+vendor_backlight_dir = $(backlight_dir)/$(shell ls $(backlight_dir) | head -n1)
+max_brightness = $(shell cat $(vendor_backlight_dir)/max_brightness)
+
+DEFINES += -D BRIGHTNESS_FILE=\"$(vendor_backlight_dir)/brightness\"
+DEFINES += -D MAX_BRIGHTNESS=$(max_brightness)
+
+all: backlight-control
+
+%: %.c
+ $(CC) $(CFLAGS) $(DEFINES) $< -o $@
+
+clean:
+ rm -f backlight-control
+
+install: backlight-control
+ install -D -m 4755 -o root -g root $< $(DESTDIR)$(prefix)/bin/$<
+
+uninstall:
+ rm -f $(DESTDIR)$(prefix)/bin/backlight-control
diff --git a/suckless/backlight-control/README.md b/suckless/backlight-control/README.md
@@ -0,0 +1,37 @@
+# backlight-control
+Control the backlight brightness.
+
+I had some problems with `xbacklight` in combination with the proprietary nvidia driver, so I wrote a replacement.
+
+## Build
+```sh
+make
+```
+
+## Install
+```sh
+sudo make install
+```
+
+## Uninstall
+```sh
+sudo make uninstall
+```
+
+## Usage
+```sh
+$ backlight-control
+Usage: backlight-control [+|-]<value>
+
+Examples:
+ backlight-control +10
+ backlight-control -10
+ backlight-control 50
+
+```
+
+`backlight-control +n` increases brightness by n%
+
+`backlight-control -n` decreases brightness by n%
+
+`backlight-control n` sets the brightness to n%
diff --git a/suckless/backlight_control/backlight_control.c b/suckless/backlight-control/backlight-control.c
diff --git a/suckless/backlight_control/Makefile b/suckless/backlight_control/Makefile
@@ -1,24 +0,0 @@
-CC = gcc
-CFLAGS += -Wall -Wextra -O3 -march=native
-
-prefix = /usr/local
-backlight_dir = /sys/class/backlight
-vendor_backlight_dir = $(backlight_dir)/$(shell ls $(backlight_dir) | head -n1)
-max_brightness = $(shell cat $(vendor_backlight_dir)/max_brightness)
-
-DEFINES += -D BRIGHTNESS_FILE=\"$(vendor_backlight_dir)/brightness\"
-DEFINES += -D MAX_BRIGHTNESS=$(max_brightness)
-
-all: backlight_control
-
-%: %.c
- $(CC) $(CFLAGS) $(DEFINES) $< -o $@
-
-clean:
- rm -f backlight_control
-
-install: backlight_control
- install -D -m 4755 -o root -g root $< $(DESTDIR)$(prefix)/bin/$<
-
-uninstall:
- rm -f $(DESTDIR)$(prefix)/bin/backlight_control
diff --git a/suckless/backlight_control/README.md b/suckless/backlight_control/README.md
@@ -1,37 +0,0 @@
-# backlight_control
-Control the backlight brightness.
-
-I had some problems with `xbacklight` in combination with the proprietary nvidia driver, so I wrote a replacement.
-
-## Build
-```sh
-make
-```
-
-## Install
-```sh
-sudo make install
-```
-
-## Uninstall
-```sh
-sudo make uninstall
-```
-
-## Usage
-```sh
-$ backlight_control
-Usage: backlight_control [+|-]<value>
-
-Examples:
- backlight_control +10
- backlight_control -10
- backlight_control 50
-
-```
-
-`backlight_control +n` increases brightness by n%
-
-`backlight_control -n` decreases brightness by n%
-
-`backlight_control n` sets the brightness to n%