Finalize configuration

This commit is contained in:
Ferit Yiğit BALABAN 2022-06-12 20:20:52 +03:00
parent eb2297554a
commit b4f1dc76ac
4 changed files with 5 additions and 7 deletions

View File

@ -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,8 +83,7 @@ def lock():
def pause_media():
if do_query("playerctl status") == "Playing":
run_command("playerctl pause")
run_command("playerctl pause")
def get_wallpapers():

View File

@ -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

View File

@ -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

View File

@ -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