Update brightnessctl call arguments
This commit is contained in:
6
reboot.sh
Normal file
6
reboot.sh
Normal 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
6
shutdown.sh
Executable 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
|
||||||
Reference in New Issue
Block a user