User:Ubone/stuff

From ArchWiki
Jump to navigation Jump to search

(configs and such)

i3wm

.config/i3/config

bindsym button1 nop
workspace_layout tabbed
hide_edge_borders both

colors

base16 80s (broken)

console

45,242,153,255,102,204,102,211,242,153,255,102,204,102,211,242
45,119,204,204,153,153,204,208,119,204,204,153,153,204,208,240
45,122,153,102,204,204,204,200,122,153,102,204,204,204,200,236

ordered

45,249,153,255,102,204,102,204,153,249,57,81,180,224,163,255
45,145,204,204,153,153,204,204,153,145,57,81,183,224,104,255
45,87,153,102,204,204,204,204,153,87,57,81,180,224,90,255

setvtrgb [1]

45,242,153,255,102,204,102,211,116,242,153,255,102,204,102,242
45,119,204,204,153,153,204,208,115,119,204,204,153,153,204,240
45,122,153,102,204,204,204,200,105,122,153,102,204,204,204,236

st

order

## broken

"#2d2d2d",
"#f2777a",
"#99cc99",
"#ffcc66",
"#6699cc",
"#cc99cc",
"#66cccc",
"#ccc",
"#999",
"#f99157",
"#393939",
"#515151",
"#b4b7b4",
"#e0e0e0",
"#a3685a",
"#fff",

http://terminal.sexy

"#2d2d2d",
"#f2777a",
"#99cc99",
"#ffcc66",
"#6699cc",
"#cc99cc",
"#66cccc",
"#d3d0c8",
"#747369",
"#f2777a",
"#99cc99",
"#ffcc66",
"#6699cc",
"#cc99cc",
"#66cccc",
"#f2f0ec",

fontconfig

fonts.conf aliases:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>

  <!-- Put custom global fontconfig settings in this file. -->

  <!-- Setting to 72 here makes the px to pt conversions work better -->
  <match target="pattern">
		<edit name="dpi" mode="assign">
			<double>72</double>
		</edit>
  </match>

  <!-- ## Base rendering settings ## -->
  <match target="font">
    <edit name="rgba" mode="assign">
      <const>rgb</const>
    </edit>
    <edit name="hinting" mode="assign">
      <bool>true</bool>
    </edit>
    <edit name="hintstyle" mode="assign">
      <const>hintslight</const>
    </edit>
    <edit name="autohint" mode="assign">
      <bool>false</bool>
    </edit>
    <edit name="antialias" mode="assign">
      <bool>true</bool>
    </edit>
    <edit name="lcdfilter" mode="assign">
      <const>lcdlight</const>
    </edit>
  </match>

  <!-- Use this file to define your custom font substitutions.
       For each font to be replaced, duplicate the template below
       and fill in with appropriate font names. -->

  <!--
  <match target="font">
    <test name="family">
      <string>FONT TO REPLACE 1</string>
    </test>
    <edit name="family" mode="assign">
      <string>REPLACEMENT FONT 1</string>
    </edit>
  </match>
  <match target="pattern">
    <test name="family">
      <string>FONT TO REPLACE 1</string>
    </test>
    <edit name="family" mode="prepend" binding="strong">
      <string>REPLACEMENT FONT 1</string>
    </edit>
  </match>
  -->

  <match target="pattern">
    <test name="family">
      <string>helvetica</string>
    </test>
    <edit name="family" mode="assign" binding="same">
      <string>helvetica lt std</string>
    </edit>
  </match>

  <!-- You can define alternative default aliases, too. -->

  <!-- ## serif ## -->
  <alias>
    <family>serif</family>
    <prefer>
      <family>Heuristica</family>
      <family>Liberation Serif</family>
      <family>Nimbus Roman</family>
      <family>Tinos</family>
      <family>TeX Gyre Termes</family>
      <family>FreeSerif</family>
    </prefer>
  </alias>

  <!-- ## sans-serif ## -->
  <alias>
    <family>sans-serif</family>
    <prefer>
      <family>Liberation Sans</family>
      <family>Nimbus Sans</family>
      <family>Arimo</family>
      <family>TeX Gyre Heros</family>
      <family>FreeSans</family>
    </prefer>
  </alias>

  <!-- ## monospace ## -->
  <alias>
    <family>monospace</family>
    <prefer>
      <family>Liberation Mono</family>
      <family>Nimbus Mono</family>
      <family>Cousine</family>
      <family>TeX Gyre Cursor</family>
      <family>FreeMono</family>
    </prefer>
  </alias>

  <!-- ## fantasy ## -->
  <alias>
    <family>fantasy</family>
    <prefer>
      <family>Signika</family>
    </prefer>
  </alias>

  <!-- ## cursive ## -->
  <alias>
    <family>cursive</family>
    <prefer>
      <family>TeX Gyre Chorus</family>
      <family>Chancery URW</family>
      <family>Quintessential</family>
    </prefer>
  </alias>

  <alias>
    <family>arial narrow</family>
    <prefer>
      <family>Liberation Sans Narrow</family>
      <family>Nimbus Sans Narrow</family>
      <family>TeX Gyre Heros Cn</family>
    </prefer>
  </alias>

  <alias>
    <family>georgia</family>
    <prefer>
      <family>Gelasio</family>
    </prefer>
  </alias>

  <alias>
    <family>Wingdings</family>
    <prefer>
      <family>URWDings</family>
      <family>New Dingbats</family>
    </prefer>
  </alias>

  <alias>
    <family>Calibri</family>
    <prefer>
      <family>Carlito</family>
    </prefer>
  </alias>

  <alias>
    <family>Cambria</family>
    <prefer>
      <family>Caladea</family>
    </prefer>
  </alias>

  <alias>
    <family>Century Gothic</family>
    <prefer>
      <family>TeX Gyre Adventor</family>
      <family>URW Gothic</family>
    </prefer>
  </alias>

  <alias>
    <family>Bookman Old Style</family>
    <prefer>
      <family>TeX Gyre Bonum</family>
      <family>URW Bookman</family>
    </prefer>
  </alias>

  <alias>
    <family>Monotype Corsiva</family>
    <prefer>
      <family>TeX Gyre Chorus</family>
      <family>URW Chancery</family>
    </prefer>
  </alias>

  <alias>
    <family>Palatino Linotype</family>
    <prefer>
      <family>TeX Gyre Pagella</family>
      <family>URW Palladio</family>
    </prefer>
  </alias>

  <alias>
    <family>Book Antiqua</family>
    <prefer>
      <family>TeX Gyre Pagella</family>
      <family>URW Palladio</family>
    </prefer>
  </alias>

  <alias>
    <family>Century Schoolbook</family>
    <prefer>
      <family>TeX Gyre Schola</family>
      <family>URW Century SchoolBook</family>
    </prefer>
  </alias>

  <alias>
    <family>verdana</family>
    <prefer>
      <family>liberation sans</family>
      <family>Nimbus Sans</family>
      <family>Arimo</family>
      <family>TeX Gyre Heros</family>
      <family>FreeSans</family>
    </prefer>
  </alias>

</fontconfig>

<!--
https://wiki.archlinux.org/index.php/Metric-compatible_fonts
https://github.com/bohoomil/fontconfig-ultimate/issues/191#issuecomment-289799221
-->

postfix

main.cf

virtual_alias_maps = hash:/etc/postfix/virtual
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = site.com
smtp_tls_security_level = may
smtp_header_checks = regexp:/etc/postfix/smtp_header_checks
smtpd_client_restrictions = reject_rbl_client dnsbl.sorbs.net

mutt

color           attachment              green           black
color           status                  green           black
color           indicator               black           green
color           hdrdefault              black           green
set             reverse_name            = yes
set             reverse_realname        = no
set             edit_headers            = yes
set             use_envelope_from       = yes

ytdl

-f bestvideo[ext=mp4][height<800]+bestaudio[ext=m4a]/bestvideo[ext=webm][height<800]+bestaudio[ext=webm]/bestvideo[height<800]+bestaudio/best[height<800]/best
-o ~/ytdl/%(ext)s/%(title)s\ %(id)s.%(ext)s
--ignore-errors
--external-downloader aria2c
--external-downloader-args "-c -x 5 -k 1M"

# --hls-prefer-native
# --external-downloader-args "-c -j 8 -x 8 -s 8 -k 1M"
# --proxy socks5://127.0.0.1:9050/
# --default-search "ytsearch9"
# --no-playlist

aria

## bittorrent
seed-time=720
max-overall-upload-limit=1M
dir=/home/me/Downloads
log=/tmp/aria
#console-log-level=info
#enable-peer-exchange=false
#enable-dht=false
#enable-dht6=false
disable-ipv6=true
dht-listen-port=6939
listen-port=6939