Update brightnessctl call arguments

This commit is contained in:
Ferit Yiğit BALABAN 2022-04-28 02:20:53 +03:00
parent cab6f258fc
commit a3fe6195fd
2 changed files with 12 additions and 0 deletions

6
reboot.sh Normal file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
dt=$(date +'%d/%m/%y-%H.%M.%S')
echo "[$dt] navi restarting..." >> $HOME/navi.log
brightnessctl --device amdgpu_bl1 set 128
brightnessctl --device asus::kbd_backlight 1
reboot

6
shutdown.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
dt=$(date +'%d/%m/%y-%H.%M.%S')
echo "[$dt] navi shutting down..." >> navi.log
brightnessctl set 128
brightnessctl --device asus::kbd_backlight 1
shutdown -h now