aboutsummaryrefslogtreecommitdiffstats
path: root/x/.config
diff options
context:
space:
mode:
authorPeter Son Struschka <me@peter-struschka.com>2020-08-30 20:56:36 +0800
committerPeter Son Struschka <me@peter-struschka.com>2020-08-30 20:58:04 +0800
commit37dd411698bd6eae8365260dde39b8ae9c7cbd36 (patch)
tree978dd6ea3e72a86e4a3e0314b86d5137fc394785 /x/.config
parenta1d6fc2f3e6ab041cc51cb085ac59a646a126d25 (diff)
downloaddotfiles-37dd411698bd6eae8365260dde39b8ae9c7cbd36.tar.gz
dotfiles-37dd411698bd6eae8365260dde39b8ae9c7cbd36.tar.bz2
dotfiles-37dd411698bd6eae8365260dde39b8ae9c7cbd36.tar.lz
dotfiles-37dd411698bd6eae8365260dde39b8ae9c7cbd36.tar.xz
dotfiles-37dd411698bd6eae8365260dde39b8ae9c7cbd36.tar.zst
dotfiles-37dd411698bd6eae8365260dde39b8ae9c7cbd36.zip
all: overhaul, move dotfile specifics to .local/share/dotfiles and more
Diffstat (limited to 'x/.config')
-rwxr-xr-xx/.config/X11/Xresources13
-rwxr-xr-xx/.config/x/Xresources38
-rw-r--r--x/.config/x/gruvbox-dark.xresources (renamed from x/.config/X11/gruvbox-dark.xresources)10
-rw-r--r--x/.config/x/gruvbox-light.xresources40
-rwxr-xr-xx/.config/x/xprofile (renamed from x/.config/X11/xprofile)7
5 files changed, 89 insertions, 19 deletions
diff --git a/x/.config/X11/Xresources b/x/.config/X11/Xresources
deleted file mode 100755
index 68f3911..0000000
--- a/x/.config/X11/Xresources
+++ /dev/null
@@ -1,13 +0,0 @@
-#if __has_include(".extend.Xresources")
-#include ".extend.Xresources"
-#endif
-
-! ^ The above lines are no comments!
-! Leave them as they are if a file ~/.extend.Xresources is being used on your system.
-! config can be added there or also here below.
-! For comments use "!"
-
-#include "gruvbox-dark.xresources"
-
-*.alpha: 0.8
-*.font: monospace:size=8
diff --git a/x/.config/x/Xresources b/x/.config/x/Xresources
new file mode 100755
index 0000000..00fef46
--- /dev/null
+++ b/x/.config/x/Xresources
@@ -0,0 +1,38 @@
+#if __has_include(".extend.Xresources")
+#include ".extend.Xresources"
+#endif
+
+! ^ The above lines are no comments!
+! Leave them as they are if a file ~/.extend.Xresources is being used on your system.
+! config can be added there or also here below.
+! For comments use "!"
+
+#include "gruvbox-dark.xresources"
+
+!*.alpha: 0.9
+!*.font: monospace:size=8
+!*.font: xft:FiraCode Nerd Font Mono:size=12
+*.faceName: FiraCode Nerd Font Mono:size=12
+
+XTerm.vt100.faceName: FiraCode Nerd Font Mono:size=12
+Xft.autohint: 0
+Xft.lcdfilter: lcddefault
+Xft.hintstyle: hintslight
+Xft.hinting: 1
+Xft.antialias: 1
+Xft.rgba: rgb
+
+URxvt.font: xft:FiraCode Nerd Font Mono:size=8
+
+!URxvt*transparent: true
+!URxvt*shading: 50
+URxvt.depth: 32
+URxvt.background: [75]#32302f
+
+URxvt.scrollBar: false
+URxvt.scrollBar_right: false
+URxvt.saveLines: 1000000
+!URxvt.borderLess: 1 ! breaks herbstluftwm
+URxvt.scrollTtyOutput: false
+URxvt.scrollWithBuffer: true
+URxvt.scrollTtyKeypress: true
diff --git a/x/.config/X11/gruvbox-dark.xresources b/x/.config/x/gruvbox-dark.xresources
index 5beeba2..e3feb5f 100644
--- a/x/.config/X11/gruvbox-dark.xresources
+++ b/x/.config/x/gruvbox-dark.xresources
@@ -6,9 +6,13 @@
! Last Modified: 6 Sep 2014
! -----------------------------------------------------------------------------
-! hard contrast: *background: #1d2021
-*background: #282828
-! soft contrast: *background: #32302f
+! hard contrast:
+!*background: #1d2021
+! normal contrast:
+!*background: #282828
+! soft contrast:
+*background: #32302f
+
*foreground: #ebdbb2
! Black + DarkGrey
*color0: #282828
diff --git a/x/.config/x/gruvbox-light.xresources b/x/.config/x/gruvbox-light.xresources
new file mode 100644
index 0000000..df92348
--- /dev/null
+++ b/x/.config/x/gruvbox-light.xresources
@@ -0,0 +1,40 @@
+! -----------------------------------------------------------------------------
+! File: gruvbox-light.xresources
+! Description: Retro groove colorscheme generalized
+! Author: morhetz <morhetz@gmail.com>
+! Source: https://github.com/morhetz/gruvbox-generalized
+! Last Modified: 6 Sep 2014
+! -----------------------------------------------------------------------------
+
+! hard contrast:
+!*background: #f9f5d7
+! normal contrast:
+*background: #fbf1c7
+! soft contrast:
+!*background: #f2e5bc
+
+*foreground: #3c3836
+! Black + DarkGrey
+*color0: #fdf4c1
+*color8: #928374
+! DarkRed + Red
+*color1: #cc241d
+*color9: #9d0006
+! DarkGreen + Green
+*color2: #98971a
+*color10: #79740e
+! DarkYellow + Yellow
+*color3: #d79921
+*color11: #b57614
+! DarkBlue + Blue
+*color4: #458588
+*color12: #076678
+! DarkMagenta + Magenta
+*color5: #b16286
+*color13: #8f3f71
+! DarkCyan + Cyan
+*color6: #689d6a
+*color14: #427b58
+! LightGrey + White
+*color7: #7c6f64
+*color15: #3c3836
diff --git a/x/.config/X11/xprofile b/x/.config/x/xprofile
index 273230f..5ed8c5b 100755
--- a/x/.config/X11/xprofile
+++ b/x/.config/x/xprofile
@@ -6,11 +6,12 @@ setxkbmap -option caps:swapescape
xset r rate 300 50
# set wallpaper
-xwallpaper --zoom ${XDG_DATA_HOME}/images/wallpaper.jpg
+xwallpaper --zoom "${XDG_DATA_HOME}/images/wallpaper.jpg"
# load Xresources
-userresources=${XDG_CONFIG_HOME}/X/Xresources
-[ -f $userresources ] && xrdb -load $userresources
+xconfigdir=${XDG_CONFIG_HOME}/x
+userresources=${xconfigdir}/Xresources
+[ -f $userresources ] && xrdb -I"$xconfigdir" -load "$userresources"
# systemd user
systemctl --user import-environment DISPLAY XAUTHORITY