123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #!/usr/bin/env bash
- set -eu
- TMP_XRESOURCES=$(mktemp --suffix='brewtarget-xresources')
- cat > "$TMP_XRESOURCES" <<OK
- Xft.dpi: 96
- Xft.autohint: 0
- Xft.lcdfilter: lcddefault
- Xft.hintstyle: hintfull
- Xft.hinting: 1
- Xft.antialias: 1
- Xft.rgba: rgb
- #define S_base03 #fdf6e3
- #define S_base02 #eee8d5
- #define S_base01 #93a1a1
- #define S_base00 #839496
- #define S_base0 #657b83
- #define S_base1 #586e75
- #define S_base2 #073642
- #define S_base3 #002b36
- #define S_yellow #b58900
- #define S_orange #cb4b16
- #define S_red #dc322f
- #define S_magenta #d33682
- #define S_violet #6c71c4
- #define S_blue #268bd2
- #define S_cyan #2aa198
- #define S_green #859900
- *background: S_base03
- *foreground: S_base0
- *fading: 40
- *fadeColor: S_base03
- *cursorColor: S_base1
- *pointerColorBackground: S_base01
- *pointerColorForeground: S_base1
- *color0: S_base02
- *color1: S_red
- *color2: S_green
- *color3: S_yellow
- *color4: S_blue
- *color5: S_magenta
- *color6: S_cyan
- *color7: S_base2
- *color8: S_base03
- *color9: S_orange
- *color10: S_base01
- *color11: S_base00
- *color12: S_base0
- *color13: S_violet
- *color14: S_base1
- *color15: S_base3
- OK
- xrdb "$TMP_XRESOURCES"
- /usr/bin/brewtarget "$@" &
- XRDB_OPTIONS=''
- [ -r "$HOME/.hacksrc" ] && . "$HOME/.hacksrc"
- [ -f "$HOME/.Xresources" ] && xrdb $XRDB_OPTIONS "$HOME/.Xresources"
|