diff options
| author | Peter Son Struschka <me@peter-struschka.com> | 2020-05-30 11:27:16 +0800 |
|---|---|---|
| committer | Peter Son Struschka <me@peter-struschka.com> | 2020-05-30 11:48:52 +0800 |
| commit | e67864e295552040310304957590a82bc734dc9b (patch) | |
| tree | e3b16d4c4d48465e5d58e9460d66236e6ef98f9a /x/.config | |
| parent | 0902ce59971bf8c75c7e6544d4956e4164c66990 (diff) | |
| download | dotfiles-e67864e295552040310304957590a82bc734dc9b.tar.gz dotfiles-e67864e295552040310304957590a82bc734dc9b.tar.bz2 dotfiles-e67864e295552040310304957590a82bc734dc9b.tar.lz dotfiles-e67864e295552040310304957590a82bc734dc9b.tar.xz dotfiles-e67864e295552040310304957590a82bc734dc9b.tar.zst dotfiles-e67864e295552040310304957590a82bc734dc9b.zip | |
X: reorganise into XDG_CONFIG_DIR
Diffstat (limited to 'x/.config')
| -rwxr-xr-x | x/.config/X11/Xresources | 13 | ||||
| -rw-r--r-- | x/.config/X11/gruvbox-dark.xresources | 36 | ||||
| -rwxr-xr-x | x/.config/X11/xprofile | 20 |
3 files changed, 69 insertions, 0 deletions
diff --git a/x/.config/X11/Xresources b/x/.config/X11/Xresources new file mode 100755 index 0000000..5b0defc --- /dev/null +++ b/x/.config/X11/Xresources @@ -0,0 +1,13 @@ +#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=12 diff --git a/x/.config/X11/gruvbox-dark.xresources b/x/.config/X11/gruvbox-dark.xresources new file mode 100644 index 0000000..5beeba2 --- /dev/null +++ b/x/.config/X11/gruvbox-dark.xresources @@ -0,0 +1,36 @@ +! ----------------------------------------------------------------------------- +! File: gruvbox-dark.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: #1d2021 +*background: #282828 +! soft contrast: *background: #32302f +*foreground: #ebdbb2 +! Black + DarkGrey +*color0: #282828 +*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 diff --git a/x/.config/X11/xprofile b/x/.config/X11/xprofile new file mode 100755 index 0000000..214a253 --- /dev/null +++ b/x/.config/X11/xprofile @@ -0,0 +1,20 @@ +#!/bin/sh + +# set keyboard +setxkbmap -layout us,us -variant ,dvp -option grp:shifts_toggle +xset r rate 300 50 + +# set wallpaper +xwallpaper --zoom ${XDG_DATA_HOME}/images/wallpaper.jpg + +# load Xresources +userresources=${XDG_CONFIG_HOME}/X/Xresources +[ -f $userresources ] && xrdb -load $userresources + +# systemd user +systemctl --user import-environment DISPLAY XAUTHORITY + +if command -v dbus-update-activation-environment >/dev/null 2>&1; then + dbus-update-activation-environment DISPLAY XAUTHORITY +fi + |
