aboutsummaryrefslogtreecommitdiff
path: root/brightness
diff options
context:
space:
mode:
Diffstat (limited to 'brightness')
-rwxr-xr-xbrightness16
1 files changed, 0 insertions, 16 deletions
diff --git a/brightness b/brightness
deleted file mode 100755
index a7294fb..0000000
--- a/brightness
+++ /dev/null
@@ -1,16 +0,0 @@
1#!/bin/sh
2
3# Increase / decrease brightness, and pops up a notification
4# Requires: xbacklight, a notification program such as herbe or notify-send
5# Usage: brightness {inc|dec} n
6
7# ksh completion
8# set -A complete_brightness_1 inc dec
9# set -A complete_brightness_2 5
10
11#notify="notify-send"
12notify="herbe"
13
14pkill herbe # comment this too if not using herbe
15
16xbacklight -$1 $2 && $notify "Brightness: $(xbacklight | sed 's/\..*$//')%"

Generated with cgit - Back to sebastiano.tronto.net