From 468a789dbc4b1928c035d8590895efc533520a27 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 24 Feb 2021 17:07:33 +0100 Subject: Updated file tree to match XDG base directory specification --- bin/backlight-ctl | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 bin/backlight-ctl (limited to 'bin/backlight-ctl') diff --git a/bin/backlight-ctl b/bin/backlight-ctl deleted file mode 100755 index 2963d83..0000000 --- a/bin/backlight-ctl +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -[ "$#" -ne 1 ] && exit 1; - - -if [ "$(hostname)" = manjaro ] -then - cmd=light - up_opt=-A - down_opt=-U -else - cmd=xbacklight - up_opt=-inc - down_opt=-dec -fi - -case "$1" in - "up") "$cmd" "$up_opt" 5 ;; - "down") "$cmd" "$down_opt" 5 ;; - *) exit 1 ;; -esac - -notify-send "backlight $("$cmd" | cut -d '.' -f 1)" -- cgit