Add xinitrc for laptop
This commit is contained in:
parent
dccaff99e9
commit
60a502d2c8
3
user/xinit-laptop/.Xresources
Normal file
3
user/xinit-laptop/.Xresources
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#include ".Xresources.d/fonts"
|
||||||
|
#include ".Xresources.d/urxvt"
|
||||||
|
#include ".Xresources.d/colors"
|
31
user/xinit-laptop/.Xresources.d/colors
Normal file
31
user/xinit-laptop/.Xresources.d/colors
Normal file
@ -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
|
8
user/xinit-laptop/.Xresources.d/fonts
Normal file
8
user/xinit-laptop/.Xresources.d/fonts
Normal file
@ -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
|
30
user/xinit-laptop/.Xresources.d/urxvt
Normal file
30
user/xinit-laptop/.Xresources.d/urxvt
Normal file
@ -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
|
21
user/xinit-laptop/.xinitrc
Executable file
21
user/xinit-laptop/.xinitrc
Executable file
@ -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
|
Loading…
x
Reference in New Issue
Block a user