From b98e05ba63f2e108df634b4d9f9e5530769c6b80 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 10 Jun 2021 18:58:52 +0200 Subject: Added scripts and readme --- brightness | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 brightness (limited to 'brightness') diff --git a/brightness b/brightness new file mode 100755 index 0000000..46fd0a8 --- /dev/null +++ b/brightness @@ -0,0 +1,7 @@ +#!/bin/sh + +# Increase / decrease brightness, and pops up a notification +# Requires: xbacklight, notify-send +# Usage: brightness {inc|dec} n + +xbacklight -$1 $2 && notify-send "Brightness: $(xbacklight | sed 's/\..*$//')%" -- cgit v1.3