aboutsummaryrefslogtreecommitdiff
path: root/brightness
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-06-19 08:25:41 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-06-19 08:25:41 +0200
commitdc98cba24cb5f1f3e260c49fc61add4a113a1df0 (patch)
tree2f5b996f57a2e332884849e7d29fdadf5c698382 /brightness
parentaf05c6c366ce928818848a3d8c897e7c52ae9d0f (diff)
downloadscripts-dc98cba24cb5f1f3e260c49fc61add4a113a1df0.tar.gz
scripts-dc98cba24cb5f1f3e260c49fc61add4a113a1df0.zip
Update to status (now I use a statusbar)
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