From 70aa35c1b7311462c7564e36f6f8aae282587009 Mon Sep 17 00:00:00 2001
From: Shubham Saini <shubham6405@gmail.com>
Date: Sat, 28 Mar 2020 17:25:04 +0530
Subject: doas > sudo

---
 sxhkd/.config/sxhkd/sxhkdrc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'sxhkd')

diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
index 4a64b63..d6b3f25 100644
--- a/sxhkd/.config/sxhkd/sxhkdrc
+++ b/sxhkd/.config/sxhkd/sxhkdrc
@@ -162,6 +162,6 @@ XF86Audio{Play,Next,Prev}
 
 #light
 XF86MonBrightnessDown
-    sudo sh -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done'
+    doas sh -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; done'
 XF86MonBrightnessUp
-    sudo sh -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done'
+    doas sh -c 'for f in /sys/class/backlight/*; do echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; done'
-- 
cgit v1.2.3