1
0

Fix source file login

This commit is contained in:
toto
2022-04-11 14:07:32 +02:00
parent 4ec89f81be
commit bae8e48e9c
3 changed files with 37 additions and 8 deletions

View File

@ -2,7 +2,13 @@
# ~/.xsessionrc: execute commands at the beginning of the X user
# session - before the window manager is started.
#
#backlight
# include .profile if it exists
if [ -f "$HOME/.profile" ]; then
. "$HOME/.profile"
fi
# backlight
if [ -f /sys/class/backlight/intel_backlight/brightness ]; then
echo $(($(cat /sys/class/backlight/intel_backlight/brightness)/2)) | sudo tee /sys/class/backlight/intel_backlight/brightness
fi