os/arch/.xprofile: fewer startup programs (use systemd instead)

This commit is contained in:
Henrik Lissner 2016-12-17 03:06:41 -05:00
parent 4157171a4a
commit 642aaa270a

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
export __GL_THREADED_OPTIMISATIONS=1
@ -12,16 +12,6 @@ xset m 11/8 0
# keyboard repeat rate
xset r rate 350 45
# bittorrent sync
running rslsync || { cd $HOME && /usr/local/bin/rslsync; }
# monitor color adjustment based on time-of-day
running redshift || redshift &
# music server
running mpd || mpd &
# remember my keys
running ssh-agent || eval $(ssh-agent)
sxhkd &
# lemonbar config depends on bspwm, so wait for it
{
@ -36,5 +26,5 @@ sxhkd &
# If sxhkd isn't running, something is wrong and we're stuck. Instead, open
# a terminal so I can do something about it
sleep 3
running sxhkd || urxvt &
running sxhkd || termite &
} &