From b487984ecc61c6229cf92550030745c192fd3d0b Mon Sep 17 00:00:00 2001 From: Arnold Sommerfeld Date: Wed, 17 May 2023 18:44:48 +0100 Subject: first commit --- home/.config/X11/Xmodmap | 1 + home/.config/X11/Xresources | 67 +++++++++++++++++++++++++++++++++++++++++++++ home/.config/X11/xinitrc | 7 +++++ home/.config/X11/xprofile | 18 ++++++++++++ 4 files changed, 93 insertions(+) create mode 100644 home/.config/X11/Xmodmap create mode 100644 home/.config/X11/Xresources create mode 100755 home/.config/X11/xinitrc create mode 100644 home/.config/X11/xprofile (limited to 'home/.config/X11') diff --git a/home/.config/X11/Xmodmap b/home/.config/X11/Xmodmap new file mode 100644 index 0000000..8b62265 --- /dev/null +++ b/home/.config/X11/Xmodmap @@ -0,0 +1 @@ +keycode 9 = grave asciitilde grave asciitilde diff --git a/home/.config/X11/Xresources b/home/.config/X11/Xresources new file mode 100644 index 0000000..f0b4a4a --- /dev/null +++ b/home/.config/X11/Xresources @@ -0,0 +1,67 @@ +*.font: mono:size=17:antialias=true:autohint=true + +! gruvbox-dark theme +! hard contrast: +*background: #1d2021 +! medium +! *background: ##282828 +! soft contrast: +! *background: #32302f +*foreground: #ebdbb2 +*cursorColor: #ebdbb2 +! Black + DarkGrey +*color0: #1d2021 +*color8: #928374 +! DarkRed + Red +*color1: #cc241d +*color9: #fb4934 +! DarkGreen + Green +*color2: #98971a +*color10: #b8bb26 +! DarkYellow + Yellow +*color3: #d79921 +*color11: #fabd2f +! DarkBlue + Blue +*color4: #458588 +*color12: #83a598 +! DarkMagenta + Magenta +*color5: #b16286 +*color13: #d3869b +! DarkCyan + Cyan +*color6: #689d6a +*color14: #8ec07c +! LightGrey + White +*color7: #a89984 +*color15: #ebdbb2 + +! Others +*color24: #076678 +*color66: #427b58 +*color88: #9d0006 +*color96: #8f3f71 +*color100: #79740e +*color108: #8ec07c +*color109: #83a598 +*color130: #af3a03 +*color136: #b57614 +*color142: #b8bb26 +*color167: #fb4934 +*color175: #d3869b +*color208: #fe8019 +*color214: #fabd2f +*color223: #ebdbb2 +*color228: #f2e5bc +*color229: #fbf1c7 +*color230: #f9f5d7 +*color234: #1d2021 +*color235: #282828 +*color236: #32302f +*color237: #3c3836 +*color239: #504945 +*color241: #665c54 +*color243: #7c6f64 +*color244: #928374 +*color245: #928374 +*color246: #a89984 +*color248: #bdae93 +*color250: #d5c4a1 diff --git a/home/.config/X11/xinitrc b/home/.config/X11/xinitrc new file mode 100755 index 0000000..907b6b6 --- /dev/null +++ b/home/.config/X11/xinitrc @@ -0,0 +1,7 @@ +#!/usr/bin/env sh +# xinitrc file, used by all X sessions started by xinit (startx) +# shellcheck source=/dev/null +[ -r ~/.config/X11/xprofile ] && . ~/.config/X11/xprofile & +if [ "$(uname -n)" != "tau" ]; then + exec bspwm +fi diff --git a/home/.config/X11/xprofile b/home/.config/X11/xprofile new file mode 100644 index 0000000..54e04b3 --- /dev/null +++ b/home/.config/X11/xprofile @@ -0,0 +1,18 @@ +#!/usr/bin/env sh +# shellcheck source=/dev/null +[ -r ~/.config/sh/envrc ] && . ~/.config/sh/envrc +display-setup + +systemctl --user import-environment PATH DISPLAY XAUTHORITY + +[ -r ~/.config/X11/Xresources ] && xrdb ~/.config/X11/Xresources + +xsetroot -cursor_name left_ptr & +input-setup & +unclutter & +keynav & +if [ "$(uname -n)" != "tau" ]; then + launch-polybar & + dunst & + sxhkd & +fi -- cgit v1.2.3-70-g09d2