From c91e7b94272724a16b028ab9c82f1b640f821dfd Mon Sep 17 00:00:00 2001 From: Candifloss Date: Thu, 1 Aug 2024 18:14:40 +0000 Subject: [PATCH] Add eww/sh/actions/brightness/brit_dec.sh --- eww/sh/actions/brightness/brit_dec.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 eww/sh/actions/brightness/brit_dec.sh diff --git a/eww/sh/actions/brightness/brit_dec.sh b/eww/sh/actions/brightness/brit_dec.sh new file mode 100644 index 0000000..0c552dc --- /dev/null +++ b/eww/sh/actions/brightness/brit_dec.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +if [[ $(xbacklight -get) -ge 6 ]]; then + xbacklight -dec 5 +else + xbacklight -set 1 +fi +/home/lcm/.config/eww/sh/osd/osd.sh osd_bri \ No newline at end of file