Update autostart
This commit is contained in:
3
autostart/20_dunst.sh
Executable file
3
autostart/20_dunst.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
dunst &
|
||||
@@ -1,12 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
printf '%s\n' "execute xautorandr" >>"$LOGFILE"
|
||||
printf '%s\n' "start compton"
|
||||
compton --backend xrender --vsync opengl &
|
||||
|
||||
xautorandr &
|
||||
printf '%s\n' "disable screen blanking"
|
||||
xset -dpms &
|
||||
xset s off &
|
||||
|
||||
printf '%s\n' "start compton" >>"$LOGFILE"
|
||||
compton --backend glx --vsync opengl &
|
||||
|
||||
printf '%s\n' "disable screen blanking" >>"$LOGFILE"
|
||||
xset -dpms & &>> $LOGFILE
|
||||
xset s off & &>> $LOGFILE
|
||||
printf '%s\n' "disable wakeup when lid switched"
|
||||
grep "^${ACPI_LID_NAME}.*enabled" /proc/acpi/wakeup && echo " ${ACPI_LID_NAME}" | sudo tee /proc/acpi/wakeup
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
printf '%s' "parsing .Xresources" >>"$LOGFILE"
|
||||
xrdb -merge -I${HOME} ~/.Xresources &>> $LOGFILE
|
||||
printf '%s' "parsing .Xresources"
|
||||
xrdb -merge -I${HOME} ~/.Xresources
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
printf '%s' "starting pulseaudio" >>"$LOGFILE"
|
||||
printf '%s' "starting pulseaudio"
|
||||
pulseaudio --start
|
||||
|
||||
@@ -6,7 +6,7 @@ keyboard_repeat_delay=150
|
||||
keyboard_repeat_speed=50
|
||||
|
||||
printf '%s' "setting keyboard layout" >>"$LOGFILE"
|
||||
setxkbmap -layout "$keyboard_layout" -variant "$keyboard_variant" & &>> $LOGFILE
|
||||
setxkbmap -layout "$keyboard_layout" -variant "$keyboard_variant" &
|
||||
|
||||
printf '%s' "setting key repeat delay" >>"$LOGFILE"
|
||||
xset r rate "$keyboard_repeat_delay" "$keyboard_repeat_speed" & &>> $LOGFILE
|
||||
xset r rate "$keyboard_repeat_delay" "$keyboard_repeat_speed" &
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
printf '%s' "configuring synclient" >>"$LOGFILE"
|
||||
printf '%s' "configuring synclient"
|
||||
synclient VertEdgeScroll=0
|
||||
synclient VertTwoFingerScroll=1
|
||||
synclient MaxSpeed=2.2
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
|
||||
wallpaper="$LIBDIR/wallpaper/current"
|
||||
|
||||
printf '%s' "setting wallpaper" >>"$LOGFILE"
|
||||
{
|
||||
feh --bg-scale "${wallpaper}"
|
||||
sleep 10
|
||||
feh --bg-scale "${wallpaper}"
|
||||
} & &>> $LOGFILE
|
||||
printf '%s' "setting wallpaper"
|
||||
feh --bg-scale "${wallpaper}"
|
||||
sleep 10
|
||||
feh --bg-scale "${wallpaper}"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
printf '%s' "starting network tray application" >>"$LOGFILE"
|
||||
nm-applet & &>> $LOGFILE
|
||||
printf '%s' "starting network tray application"
|
||||
nm-applet &
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
printf '%s' "starting pasystray" >>"$LOGFILE"
|
||||
pasystray & &>> $LOGFILE
|
||||
printf '%s' "starting pasystray"
|
||||
pasystray &
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
redshift_lat_long="49.5:11"
|
||||
redshift_colortemp="6000:3300"
|
||||
|
||||
printf '%s' "starting redshift-gtk" >>"$LOGFILE"
|
||||
redshift-gtk -b 1 -l "$redshift_lat_long" -t "$redshift_colortemp" & &>> "$LOGFILE"
|
||||
printf '%s' "starting redshift-gtk"
|
||||
redshift-gtk -b 1 -l "$redshift_lat_long" -t "$redshift_colortemp" &
|
||||
printf '%s' $! > "$RUNDIR"/redshift.${XDG_SESSION_ID}.pid
|
||||
|
||||
Reference in New Issue
Block a user