blob: 5a1c4fc1c576e41e7cef0bdde002e9a712c9f7d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
dpi=96
bg_color=696969
font_size=12
xidle_timeout=900
case $(hostname -s) in
rlaptop1)
font_size=16
;;
esac
font="-xos4-terminus-medium-r-normal-*-${font_size}-*-*-*-*-*-iso10646-*"
xft_font="Terminus:pixelslize=${font_size}:encoding=iso10646"
xrdb -DDPI="$dpi" -DFONT="$font" -DXFT_FONT="$xft_font" -merge "${HOME}/.Xresources"
xsetroot -solid "#${bg_color}"
xset b off
setxkbmap -option ctrl:nocaps
xidle -program "$(which i3lock) -e -c ${bg_color}" -timeout "$xidle_timeout" &
sudo -n networkmgr &
exec i3
|