summaryrefslogtreecommitdiff
path: root/autostart
blob: 83bf0af287df03d7b544f4ca2b30d873ba98213e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/sh

feh --no-xinerama --image-bg black --bg-fill "$HOME/image/MIPS-R3000A-die.jpg" &

mkdir -p /tmp/pks/.cache /tmp/pks/.ccache /tmp/mutt &

exec xmodmap ${HOME}/.Xmodmap &
xbindkeys &

~/.local/bin/urxvtd -q -f -o

imwheel &
unclutter -idle 5 &

xset s 0 &
xset b off &

~/.local/bin/notification-daemon-launch &

exec ${HOME}/bin/ratcpi &
exec ${HOME}/.local/bin/mouse-settings &

if [[ $(hostname) == "barkley" ]]; then
  xmodmap -e "keycode 66 = Shift_L NoSymbol Shift_L"
  gsettings set org.gnome.desktop.interface text-scaling-factor 1.2
  /bin/bash syncthing -no-browser -home=$HOME/.config/syncthing &> $HOME/.config/syncthing/log.txt &
fi

if [[ $(hostname) == "bryant" ]]; then
  #exec xrandr --output DP-7 --rotate right &
  exec xrandr --output HDMI-2 --rotate right &
  exec sudo nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a "[fan-0]/GPUTargetFanSpeed=1" &
fi

if [[ $(hostname) == "bogues" ]]; then
  xrandr --output VGA-0 --off &
  xrandr --output VGA0 --off &
  xrandr --output VGA-1 --off &
  xrandr --output VGA1 --off &
fi