summaryrefslogtreecommitdiff
path: root/x
diff options
context:
space:
mode:
Diffstat (limited to 'x')
-rw-r--r--x/.Xresources70
-rw-r--r--x/.xinitrc66
2 files changed, 136 insertions, 0 deletions
diff --git a/x/.Xresources b/x/.Xresources
new file mode 100644
index 0000000..a47ed7a
--- /dev/null
+++ b/x/.Xresources
@@ -0,0 +1,70 @@
1URxvt.urgentOnBell: off
2URxvt.visualBell: false
3URxvt.iso14755: false
4URxvt.iso14755_52: off
5URxvt.meta8: false
6URxvt.depth: 32
7URxvt.metaSendsEscape: true
8
9URxvt.scrollBar: off
10URxvt.cursorBlink: true
11URxvt.cursorUnderline: true
12URxvt.saveLines: 10000
13URxvt.scrollTtyOutput: false
14URxvt.scrollWithBuffer: true
15URxvt.scrollTtyKeypress: true
16
17URxvt.font: xft:Hermit:style=medium:pixelsize=12, xft:DejaVu Sans Mono:pixelsize:12
18URxvt.letterSpace: 1
19urxvt*termName: rxvt
20urxvt*scrollBar: false
21urxvt*matcher.button: 1
22urxvt.transparent: false
23!urxvt.boldFont:
24Xft*dpi: 96
25Xft*antialias: true
26Xft*hinting: true
27Xft*hintstyle: hintfull
28URxvt*cursorUnderline: true
29Xft*rgba: rgb
30URxvt*geometry: 85x20
31*internalBorder: 10
32URxvt*fading: 0
33URxvt*tintColor: #ffffff
34URxvt*shading: 0
35URxvt*inheritPixmap: False
36
37URxvt.foreground: #839496
38URxvt.background: #09090d
39URxvt.cursor: #839496
40URxvt.color0: #353540
41URxvt.color8: #545466
42URxvt.color1: #8c5760
43URxvt.color9: #b26f7a
44URxvt.color2: #7b8c58
45URxvt.color10: #9db270
46URxvt.color3: #8c6e43
47URxvt.color11: #b28c55
48URxvt.color4: #58698c
49URxvt.color12: #7086b2
50URxvt.color5: #7b5e7d
51URxvt.color13: #9c77b2
52URxvt.color6: #66808c
53URxvt.color14: #82a2b2
54URxvt.color7: #8c8b8b
55URxvt.color15: #b8b8c8
56!#include "/home/ssaini/.cache/wal/colors.Xresources"
57
58! Perls
59URxvt.perl-ext-common : default,matcher,keyboard-select,url-select
60
61URxvt.keysym.M-Escape : perl:keyboard-select:activate
62URxvt.keysym.M-u : perl:url-select:select_next
63URxvt.keysym.M-s : perl:keyboard-select:search
64!URxvt.perl-ext-common : tabbed,default,matcher
65!Urxvt.perl-lib : /usr/lib/urxvt/perl/
66URxvt.url-select.launcher : firefox
67URxvt.url-select.autocopy : true
68URxvt.url-select.underline : true
69URxvt.url-select.button: 1
70
diff --git a/x/.xinitrc b/x/.xinitrc
new file mode 100644
index 0000000..93bb186
--- /dev/null
+++ b/x/.xinitrc
@@ -0,0 +1,66 @@
1#!/bin/sh
2
3userresources=$HOME/.Xresources
4usermodmap=$HOME/.Xmodmap
5sysresources=/etc/X11/xinit/.Xresources
6sysmodmap=/etc/X11/xinit/.Xmodmap
7
8# merge in defaults and keymaps
9
10if [ -f $sysresources ]; then
11
12 xrdb -merge $sysresources
13
14fi
15
16if [ -f $sysmodmap ]; then
17 xmodmap $sysmodmap
18fi
19
20if [ -f "$userresources" ]; then
21
22 xrdb -merge "$userresources"
23
24fi
25
26if [ -f "$usermodmap" ]; then
27 xmodmap "$usermodmap"
28fi
29
30# start some nice programs
31
32if [ -d /etc/X11/xinit/xinitrc.d ] ; then
33 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
34 [ -x "$f" ] && . "$f"
35 done
36 unset f
37fi
38
39if [ -n "$DISPLAY" ]; then
40 xset b off
41fi
42
43# load additional configs
44if [ "$2" = "nvidia" ]; then
45 XINIT_D="/etc/X11/nvidia/xinit/xinitrc.d"
46else
47 XINIT_D="/etc/X11/xinit/xinitrc.d"
48fi
49
50if [ -d "$XINIT_D" ]; then
51 for f in "$XINIT_D/?*.sh" ; do
52 [ -x "$f" ] && . "$f"
53 done
54 unset f
55fi
56unset XINIT_D
57
58# additional nvidia specific settings
59if [ "$2" = "nvidia" ]; then
60 xrandr --setprovideroutputsource modesetting NVIDIA-0
61 xrandr --auto
62fi
63
64
65xsetroot -cursor_name left_ptr &
66exec ck-launch-session dbus-launch --sh-syntax --exit-with-x11 bspwm