Hide command output

This commit is contained in:
Santiago Lo Coco 2022-03-21 15:47:05 -03:00
parent 373836b7a4
commit 88346c41b4
2 changed files with 10 additions and 6 deletions

View File

@ -1,17 +1,17 @@
# Night light # Night light
redshift -P -O 2750 & redshift -P -O 2750 &> /dev/null &
# Disable mouse acceleration # Disable mouse acceleration
xset m 0 0 xset m 0 0
# Restore wallpaper # Restore wallpaper
nitrogen --restore & nitrogen --restore 2> /dev/null &
# Run dwmblocks # Run dwmblocks
dwmblocks & dwmblocks &
# Launch dunst # Launch dunst
dunst & dunst 2> /dev/null &
# Launch clipboard daemon # Launch clipboard daemon
clipmenud & clipmenud &
@ -32,7 +32,7 @@ picom &
~/.local/bin/sound & ~/.local/bin/sound &
# For screenshots # For screenshots
flameshot & #flameshot &
if [[ -v LAPTOP ]]; then if [[ -v LAPTOP ]]; then
# Enable automatic fan control # Enable automatic fan control

View File

@ -12,6 +12,10 @@ if grep -q "i5" /proc/cpuinfo; then
export LAPTOP="" export LAPTOP=""
fi fi
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
exec startx if [ -v LAPTOP ]; then
exec startx &> /dev/null
else
exec startx
fi
fi fi