blob: e332498aa4d0ec108ca20c10e9a387b48fca3c1a (
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
42
43
|
#!/usr/bin/env zsh
feh --no-xinerama --image-bg black --bg-fill "$HOME/image/MIPS-R3000A-die.jpg" &
xset s 0 &
xset b off &
xset +fp $HOME/.fonts &
mkdir -p /tmp/pks/.cache /tmp/pks/.ccache /tmp/mutt &
exec xmodmap $HOME/.Xmodmap &
exec xbindkeys &
urxvtd=$(which urxvtd)
if [[ -x $HOME/.local/bin/urxvtd ]]; then
exec $HOME/.local/bin/urxvtd -q -f -o &
elif [[ -x $urxvtd ]]; then
exec urxvtd -q -f -o &
fi
exec imwheel &>/dev/null &
exec unclutter -idle 5 &
exec $HOME/.local/bin/notification-daemon-launch &
if [[ $RATPOISON == "ratpoison" && -x $(which acpi 2&>/dev/null) ]]; then
exec $HOME/.local/bin/ratcpi &
fi
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
syncthing -no-browser -home=$HOME/.config/syncthing &> $HOME/.config/syncthing/log.txt &
fi
if [[ $(hostname) == "bogues" ]]; then
xrandr --output VGA1 --off &
xrandr --output VGA0 --off &
xrandr --output VGA-0 --off &
xrandr --output VGA-1 --off &
fi
if [[ $(hostname) == "bryant" ]]; then
exec xrandr --output HDMI-2 --rotate right &
#exec xrandr --output DP-7 --rotate right &
#exec sudo nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a "[fan-0]/GPUTargetFanSpeed=1" &
fi
|