summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorivan-boikov <ik.boikov.public@protonmail.com>2022-07-10 16:44:04 +0200
committerivan-boikov <ik.boikov.public@protonmail.com>2022-07-10 16:44:04 +0200
commitcbffe0ea857c27453e72231efa340dc266642715 (patch)
treef49d4d93a82cdcf4748c79da6d59382a2d272df9 /x11
parentcd2ccfea0782f385b5fda990ba3dc53d8a2e6c73 (diff)
1
Diffstat (limited to 'x11')
-rw-r--r--x11/.Xresources36
-rw-r--r--x11/.config/x11/xprofile6
2 files changed, 41 insertions, 1 deletions
diff --git a/x11/.Xresources b/x11/.Xresources
new file mode 100644
index 0000000..c449eb6
--- /dev/null
+++ b/x11/.Xresources
@@ -0,0 +1,36 @@
+! special
+*.foreground: #e1a15b
+*.background: #0e0a05
+*.cursorColor: #e1a15b
+
+! black
+*.color0: #222222
+*.color8: #000000
+
+! red
+*.color1: #e75c58
+*.color9: #b22b31
+
+! green
+*.color2: #00b800
+*.color10: #008100
+
+! yellow
+*.color3: #ebeb00
+*.color11: #d3d300
+
+! blue
+*.color4: #0082ff
+*.color12: #0061c3
+
+! magenta
+*.color5: #d160c4
+*.color13: #a03196
+
+! cyan
+*.color6: #009393
+*.color14: #007e7e
+
+! white
+*.color7: #d2d2d2
+*.color15: #787878
diff --git a/x11/.config/x11/xprofile b/x11/.config/x11/xprofile
index b5169ad..a746216 100644
--- a/x11/.config/x11/xprofile
+++ b/x11/.config/x11/xprofile
@@ -2,10 +2,11 @@
# This file runs when a DM logs you into a graphical session.
# If you use startx/xinit like a Chad, this file will also be sourced.
+ "xrdb ${XDG_CACHE_HOME:-$HOME/.cache}/wal/colors.Xresources"
autostart=(
"xrandr --dpi 96"
- "xrdb ${XDG_CACHE_HOME:-$HOME/.cache}/wal/colors.Xresources"
+ "xrdb $HOME/.Xresources"
"$HOME/.local/bin/setbg"
"$HOME/.local/bin/remaps"
"picom"
@@ -25,5 +26,8 @@ if [ -x /usr/bin/gpg-agent ]; then
eval "$(/usr/bin/gpg-agent --daemon)"
fi
+# generate zathura config with colors from .Xresources
+mkdir -pv $HOME/.config/zathura && $HOME/.local/bin/genzathurarc > $HOME/.config/zathura/zathurarc
+
# Ensure that xrdb has finished running before moving on to start the WM/DE.
[ -n "$xrdbpid" ] && wait "$xrdbpid"