aboutsummaryrefslogtreecommitdiff
path: root/.config/X11
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-05-12 04:27:56 -0400
committertdro <tdro@users.noreply.github.com>2020-05-12 04:27:56 -0400
commitbd97750a832e2961031cc7e966277a9332aea659 (patch)
treec5ab5c9242e49ec2709751e90b356c208b882f5f /.config/X11
parent0725708ddc16050b91b659f2ac2efca6abfd9475 (diff)
downloaddotfiles-bd97750a832e2961031cc7e966277a9332aea659.tar.gz
dotfiles-bd97750a832e2961031cc7e966277a9332aea659.tar.bz2
dotfiles-bd97750a832e2961031cc7e966277a9332aea659.zip
.xinitrc -> .config/X11/xinitrc
Diffstat (limited to '.config/X11')
-rw-r--r--.config/X11/Xmodmap4
-rw-r--r--.config/X11/Xresources119
-rw-r--r--.config/X11/xinitrc27
3 files changed, 150 insertions, 0 deletions
diff --git a/.config/X11/Xmodmap b/.config/X11/Xmodmap
new file mode 100644
index 0000000..3c6205d
--- /dev/null
+++ b/.config/X11/Xmodmap
@@ -0,0 +1,4 @@
+clear lock
+clear control
+keycode 66 = Super_L
+add control = Control_L Control_R
diff --git a/.config/X11/Xresources b/.config/X11/Xresources
new file mode 100644
index 0000000..b3a79db
--- /dev/null
+++ b/.config/X11/Xresources
@@ -0,0 +1,119 @@
+! -----------------
+! URxvt Settings
+! -----------------
+
+URxvt.perl-ext-common: default,matcher,font-size,vtwheel,url-select,keyboard-select
+URxvt.url-launcher: /usr/bin/firefox
+
+URxvt.matcher.button: 1
+URxvt.internalBorder: 10
+URxvt.geometry: 74x20
+
+URxvt.cursorUnderline: 0
+URxvt.cursorBlink: 1
+URxvt.cursorColor: #69AEFF
+
+URxvt.keysym.M-Escape: perl:keyboard-select:activate
+URxvt.keysym.M-m: perl:url-select:select_next
+URxvt.url-select.launcher: /usr/bin/firefox
+
+URxvt*font: xft:monospace:size=10
+URxvt.boldFont: xft:monospace:size=10
+URxvt.italicFont: xft:monospace:size=10
+URxvt.boldItalicFont: xft:monospace:size=10
+
+URxvt.keysym.C-Up: perl:font-size:increase
+URxvt.keysym.C-Down: perl:font-size:decrease
+URxvt.keysym.C-minus: command:\000
+
+URxvt.scrollBar: false
+URxvt.scrollTtyOutput: false
+URxvt.scrollWithBuffer: true
+URxvt.scrollTtyKeypress: true
+
+URxvt.transparent: false
+URxvt.shading: 20
+
+URxvt.foreground: #FFFFFF
+URxvt.background: #2C303C
+URxvt.colorUL: #66A9B9
+
+! -----------------
+! Terminal Colors
+! -----------------
+
+!black
+*color0: #2C303C
+*color8: #666666
+
+!red
+*color1: #E84F4F
+*color9: #FF3838
+
+!green
+*color2: #BEFF3E
+*color10: #CFFF72
+
+!yellow
+*color3: #FEA63C
+*color11: #FFDF23
+
+!blue
+*color4: #69AEFF
+*color12: #5AA5FF
+
+!magenta
+*color5: #B7416E
+*color13: #E16A98
+
+!cyan
+*color6: #69AEFF
+*color14: #8B8B8B
+
+!white
+*color7: #FFFFFF
+*color15: #FFFFFF
+
+! -----------------
+! Font Settings
+! -----------------
+
+Xft.autohint: 0
+Xft.antialias: 1
+Xft.hinting: 1
+Xft.hintstyle: hintslight
+Xft.dpi: 96
+Xft.rgba: rgb
+Xft.lcdfilter: lcddefault
+
+! -----------------
+! ROFI Settings
+! -----------------
+
+rofi.color-enabled: true
+rofi.fake-transparency: true
+rofi.disable-history: false
+rofi.hide-scrollbar: true
+rofi.separator-style: none
+rofi.bw: 0
+
+rofi.color-window: argb:cc222222, #FAC863, #FAC863
+rofi.color-normal: argb:00000000, #FFFFFF, argb:00000000, #FAC863, #1B2B34
+rofi.color-active: argb:00000000, #FFFFFF, argb:00000000, #6699CC, #1B2B34
+rofi.color-urgent: argb:00000000, #F99157, argb:00000000, #F99157, #1B2B34
+
+! -----------------
+! DMENU Settings
+! -----------------
+
+dmenu.font: xft:Ubuntu:pixelsize=10:style=bold
+dmenu.background: #000000
+dmenu.foreground: #FFFFFF
+dmenu.selforeground: #000000
+dmenu.selbackground: #1B99EC
+
+! -----------------
+! X Settings
+! -----------------
+
+Xcursor.theme: Adwaita
diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc
new file mode 100644
index 0000000..f1de450
--- /dev/null
+++ b/.config/X11/xinitrc
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+userresources=$HOME/.config/X11/Xresources
+usermodmap=$HOME/.config/X11/Xmodmap
+
+# merge in defaults and keymaps
+[ -f "$userresources" ] && xrdb -merge "$userresources";
+[ -f "$usermodmap" ] && xmodmap "$usermodmap";
+
+# screen timeouts
+xset s 0 0 &
+xset dpms 3600 3600 3600 &
+
+# set cursor
+xsetroot -cursor_name left_ptr;
+
+# set keypress repeat
+xset r rate 200 60;
+
+# generate xauth
+xauth generate :0 . trusted;
+
+# import systemd environment
+systemctl --user import-environment;
+
+# Run awesome
+exec awesome --no-argb;