diff --git a/user/xinit-laptop/.Xresources b/user/xinit-laptop/.Xresources new file mode 100644 index 0000000..46ba714 --- /dev/null +++ b/user/xinit-laptop/.Xresources @@ -0,0 +1,3 @@ +#include ".Xresources.d/fonts" +#include ".Xresources.d/urxvt" +#include ".Xresources.d/colors" diff --git a/user/xinit-laptop/.Xresources.d/colors b/user/xinit-laptop/.Xresources.d/colors new file mode 100644 index 0000000..d02a7ec --- /dev/null +++ b/user/xinit-laptop/.Xresources.d/colors @@ -0,0 +1,31 @@ +! vim: filetype=xdefaults + +! Background +*.background: #101010 +*.foreground: #d0d0d0 +! Black +*.color0: #000000 +*.color8: #555753 +! Red +*.color1: #cc0000 +*.color9: #ef2929 +! Green +*.color2: #4e9a06 +*.color10: #8ae234 +! Yellow +*.color3: #c4a000 +*.color11: #fce94f +! Blue +*.color4: #3465a4 +*.color12: #729fcf +! Magenta +*.color5: #75507b +*.color13: #ad7fa8 +! Cyan +*.color6: #06989a +*.color14: #34e2e2 +! White +*.color7: #d3d7cf +*.color15: #eeeeec +! Urls +*.colorUL: #4682B4 diff --git a/user/xinit-laptop/.Xresources.d/fonts b/user/xinit-laptop/.Xresources.d/fonts new file mode 100644 index 0000000..b71a08d --- /dev/null +++ b/user/xinit-laptop/.Xresources.d/fonts @@ -0,0 +1,8 @@ +! vim: filetype=xdefaults + +Xft.dpi: 166 +Xft.autohint: 0 +Xft.lcdfilter: lcddefault +Xft.hintstyle: hintfull +Xft.hinting: 1 +Xft.antialias: 1 diff --git a/user/xinit-laptop/.Xresources.d/urxvt b/user/xinit-laptop/.Xresources.d/urxvt new file mode 100644 index 0000000..68c6834 --- /dev/null +++ b/user/xinit-laptop/.Xresources.d/urxvt @@ -0,0 +1,30 @@ +! vim: filetype=xdefaults + +URxvt.termName: xterm-256color + +! use fc-list for fonts list +URxvt.font: xft:Inconsolata Nerd Font Mono:style=Medium:size=17 + +! No scroll bars +URxvt.scrollBar: false + +! Allow bell +URxvt.urgentOnBell: true + +! Save 10000 to scroll back +URxvt.saveLines: 10000 + +! Disable the insanely annoying Ctrl+Shift shortcut that enters ISO14755 mode +URxvt.iso14755: false +URxvt.iso14755_52: false + +! Extensions +!URxvt.perl-ext-common: default,matcher,custom-clipboard,vtwheel + +! Find urls +!URxvt.urlLauncher: /usr/bin/xdg-open +!URxvt.matcher.button: C1 + +! URL history +!URxvt.keysym.C-Delete: perl:matcher:last +!URxvt.keysym.M-Delete: perl:matcher:list diff --git a/user/xinit-laptop/.xinitrc b/user/xinit-laptop/.xinitrc new file mode 100755 index 0000000..f74ff77 --- /dev/null +++ b/user/xinit-laptop/.xinitrc @@ -0,0 +1,21 @@ +#!/bin/sh + +setxkbmap -option compose:ralt -option ctrl:nocaps + +xset r rate 200 44 + +export GDK_SCALE=2 +export GDK_DPI_SCALE=0.5 + +# Load Xresouces +xrdb -I.Xresources.d -load .Xresources + +# Load system xinitrc.d +if [ -d /etc/X11/xinit/xinitrc.d ] ; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +systemctl --wait --user start i3