Split xinitrc into autostart files.
This commit is contained in:
2
autostart/autostart/compositing.sh
Executable file
2
autostart/autostart/compositing.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
log "starting composite manager"
|
||||
xcompmgr & &>> $LOGFILE
|
||||
10
autostart/autostart/keyboard.sh
Executable file
10
autostart/autostart/keyboard.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
keyboard_layout=de
|
||||
keyboard_variant=nodeadkeys
|
||||
keyboard_repeat_delay=150
|
||||
keyboard_repeat_speed=50
|
||||
|
||||
log "setting keyboard layout"
|
||||
setxkbmap -layout "$keyboard_layout" -variant "$keyboard_variant" & &>> $LOGFILE
|
||||
|
||||
log "setting key repeat delay"
|
||||
xset r rate "$keyboard_repeat_delay" "$keyboard_repeat_speed" & &>> $LOGFILE
|
||||
2
autostart/autostart/network.sh
Executable file
2
autostart/autostart/network.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
log "starting network tray application"
|
||||
nm-applet & &>> $LOGFILE
|
||||
2
autostart/autostart/pasystray.sh
Executable file
2
autostart/autostart/pasystray.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
log "starting pasystray"
|
||||
pasystray & &>> $LOGFILE
|
||||
6
autostart/autostart/redshift.sh
Executable file
6
autostart/autostart/redshift.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
# redshift settings
|
||||
redshift_lat_long="49.5:11"
|
||||
redshift_colortemp="5500:3700"
|
||||
|
||||
log "starting redshift-gtk"
|
||||
redshift-gtk -l "$redshift_lat_long" -t "$redshift_colortemp" & &>> "$LOGFILE"
|
||||
3
autostart/autostart/screen.sh
Executable file
3
autostart/autostart/screen.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
log "disable screen blanking"
|
||||
xset -dpms & &>> $LOGFILE
|
||||
xset s off & &>> $LOGFILE
|
||||
2
autostart/autostart/seafile.sh
Executable file
2
autostart/autostart/seafile.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
log "starting seafile"
|
||||
seafile-applet & &>> $LOGFILE
|
||||
5
autostart/autostart/synclient.sh
Executable file
5
autostart/autostart/synclient.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
log "configuring synclient"
|
||||
synclient VertEdgeScroll=0
|
||||
synclient VertTwoFingerScroll=1
|
||||
synclient MaxSpeed=2.2
|
||||
synclient AccelFactor=0.08
|
||||
13
autostart/autostart/wallchanger.sh
Executable file
13
autostart/autostart/wallchanger.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
path_wallchanger="$HOME/projects/wallchanger/wallchanger"
|
||||
wallchanger_pidfile="$RUNDIR/wallchanger.pid"
|
||||
wallpaper_directory="$HOME/pictures/wallpaper/misc"
|
||||
wallpaper_logfile="$LOGDIR/wallpaper.log"
|
||||
wallpaper_fallback="$HOME/.i3/data/wallpaper/"
|
||||
wallpaper_interval="10800"
|
||||
|
||||
log "starting $path_wallchanger"
|
||||
{
|
||||
sleep 0
|
||||
$path_wallchanger "$wallpaper_directory" "$wallpaper_interval" "$wallpaper_fallback" &
|
||||
echo $! > "$wallchanger_pidfile"
|
||||
} & &>> $LOGFILE
|
||||
2
autostart/autostart/xresources.sh
Executable file
2
autostart/autostart/xresources.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
log "parsing .Xresources"
|
||||
xrdb -merge ~/.Xresources &>> $LOGFILE
|
||||
Reference in New Issue
Block a user