This commit is contained in:
2018-12-28 18:19:00 +01:00
parent ab9d28353b
commit cb34056f15
23 changed files with 214 additions and 106 deletions

View File

@@ -1,5 +0,0 @@
#!/usr/bin/env bash
set -o nounset
find "$RUNDIR" -type f -name '*.pid' -delete

View File

@@ -1,3 +0,0 @@
#!/usr/bin/env bash
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} dunst -config ~/.config/dunstrc &

View File

@@ -1,11 +0,0 @@
#!/usr/bin/env bash
printf '%s\n' "start compton"
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} compton --backend xrender --vsync opengl &
printf '%s\n' "disable screen blanking"
xset -dpms &
xset s off &
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

View File

@@ -1,4 +0,0 @@
#!/usr/bin/env bash
printf '%s' "parsing .Xresources"
xrdb -merge -I${HOME} ~/.Xresources

View File

@@ -1,12 +0,0 @@
#!/usr/bin/env bash
keyboard_layout=de
keyboard_variant=nodeadkeys
keyboard_repeat_delay=150
keyboard_repeat_speed=50
printf '%s' "setting keyboard layout" >>"$LOGFILE"
setxkbmap -layout "$keyboard_layout" -variant "$keyboard_variant" &
printf '%s' "setting key repeat delay" >>"$LOGFILE"
xset r rate "$keyboard_repeat_delay" "$keyboard_repeat_speed" &

View File

@@ -1,12 +0,0 @@
#!/usr/bin/env bash
printf '%s' "configuring synclient"
synclient VertEdgeScroll=0
synclient VertTwoFingerScroll=1
synclient MaxSpeed=2.2
synclient AccelFactor=0.08
synclient TapButton1=1
synclient CoastingSpeed=0
synclient PalmDetect=1
synclient PalmMinWidth=20
synclient PalmMinZ=180

View File

@@ -1,6 +0,0 @@
#!/usr/bin/env bash
wallpaper="$LIBDIR/wallpaper/current"
printf '%s' "setting wallpaper"
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} feh --bg-scale "${wallpaper}"

View File

@@ -1,4 +0,0 @@
#!/usr/bin/env bash
printf '%s' "starting network tray application"
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} blueman-applet

View File

@@ -1,4 +0,0 @@
#!/usr/bin/env bash
printf '%s' "starting network tray application"
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} nm-applet

View File

@@ -1,4 +0,0 @@
#!/usr/bin/env bash
printf '%s' "starting pasystray"
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} pasystray

View File

@@ -1,9 +0,0 @@
#!/usr/bin/env bash
# redshift settings
redshift_lat_long="49.5:11"
redshift_colortemp="6000:3300"
printf '%s' "starting redshift-gtk"
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} redshift-gtk -b 1 -l "$redshift_lat_long" -t "$redshift_colortemp"
printf '%s' $! > "$RUNDIR"/redshift.${XDG_SESSION_ID}.pid