Finalize configuration
This commit is contained in:
parent
eb2297554a
commit
b4f1dc76ac
@ -9,6 +9,7 @@ import random
|
||||
import sys
|
||||
import os
|
||||
|
||||
|
||||
START_NIGHT = "22.30"
|
||||
START_DAY = "8.20"
|
||||
PATH_SCPT_KEYBRD = "$HOME/scripts/keyboard"
|
||||
@ -82,7 +83,6 @@ def lock():
|
||||
|
||||
|
||||
def pause_media():
|
||||
if do_query("playerctl status") == "Playing":
|
||||
run_command("playerctl pause")
|
||||
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/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
|
||||
$HOME/scripts/modeset.py --shutdown
|
||||
reboot
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/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
|
||||
$HOME/scripts/modeset.py --shutdown
|
||||
shutdown -h now
|
||||
|
@ -8,7 +8,7 @@ while : ; do
|
||||
then
|
||||
sleep 5
|
||||
else
|
||||
python $HOME/scripts/modeset2.py --unlock
|
||||
python $HOME/scripts/modeset.py --unlock
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user