From 3bad8f5d64170ab0ed582a37838e120bec87fb90 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 2 Aug 2024 22:13:57 -0400 Subject: add x11 and i3 stuff --- x11/.xinitrc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 x11/.xinitrc (limited to 'x11/.xinitrc') 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 -- cgit v1.2.3