diff options
Diffstat (limited to 'x11/.xinitrc')
-rw-r--r-- | x11/.xinitrc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/x11/.xinitrc b/x11/.xinitrc new file mode 100644 index 0000000..5a1c4fc --- /dev/null +++ b/x11/.xinitrc @@ -0,0 +1,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 |