diff --git a/reboot.sh b/reboot.sh new file mode 100644 index 0000000..17e6c37 --- /dev/null +++ b/reboot.sh @@ -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 diff --git a/shutdown.sh b/shutdown.sh new file mode 100755 index 0000000..dad86b8 --- /dev/null +++ b/shutdown.sh @@ -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