From af844bbc44741a971614175248cc29505d1acbd1 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Mon, 8 Dec 2025 16:58:52 +0530 Subject: replaced wofi with custom app menu + right side apps bar + organization of qml files --- quickshell/scripts/brightness.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 quickshell/scripts/brightness.sh (limited to 'quickshell/scripts/brightness.sh') diff --git a/quickshell/scripts/brightness.sh b/quickshell/scripts/brightness.sh new file mode 100755 index 0000000..ccb2bc2 --- /dev/null +++ b/quickshell/scripts/brightness.sh @@ -0,0 +1,4 @@ +brightness=$(brightnessctl | grep 'Current brightness' | grep -o '[0-9]\+' | head -n 1) +temp=$(hyprctl hyprsunset temperature 2>/dev/null | grep -o '[0-9]\+') +if [ -z "$temp" ]; then temp=6000; fi +echo "$brightness $temp" -- cgit v1.2.3