aboutsummaryrefslogtreecommitdiff
path: root/.config/eww/scripts
diff options
context:
space:
mode:
Diffstat (limited to '.config/eww/scripts')
-rwxr-xr-x.config/eww/scripts/brightnesscontrol.sh (renamed from .config/eww/scripts/brightnesscontrol)4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/eww/scripts/brightnesscontrol b/.config/eww/scripts/brightnesscontrol.sh
index 1e8ea9f..69ce422 100755
--- a/.config/eww/scripts/brightnesscontrol
+++ b/.config/eww/scripts/brightnesscontrol.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
# You can call this script like this:
# brightnessControl up
@@ -8,7 +8,7 @@
# https://github.com/dastorm/volume-notification-dunst/blob/master/volume.sh
# https://gist.github.com/sebastiencs/5d7227f388d93374cebdf72e783fbd6a
-function send_notification {
+send_notification() {
icon="/usr/share/icons/Adwaita/symbolic/status/daytime-sunrise-symbolic.svg"
brightness=$(backlight -q)
# Make the bar with the special character ─ (it's not dash -)