Fix source file login
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user