Email setup, cleanup provisioning scripts
This commit is contained in:
parent
c340bbd9c3
commit
3b2bca60b4
5 changed files with 71 additions and 45 deletions
|
@ -5,6 +5,10 @@ set from = "daniel@lytedev.io"
|
|||
set use_from = yes
|
||||
set envelope_from = yes
|
||||
|
||||
set sidebar_visible
|
||||
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
|
||||
set mail_check_stats
|
||||
|
||||
set smtp_url = 'smtps://wraithx2@gmail.com@smtp.gmail.com:465/'
|
||||
set smtp_pass = `pass google-app-password | head -n 1`
|
||||
set imap_user = 'wraithx2@gmail.com'
|
||||
|
@ -15,19 +19,42 @@ set mbox="imaps://imap.gmail.com/[Gmail]/All Mail"
|
|||
set ssl_force_tls = yes
|
||||
set folder = imaps://imap.gmail.com/
|
||||
set spoolfile = +INBOX
|
||||
set record = "+[Gmail]/Sent Mail"
|
||||
# set record = "+[Gmail]/Sent Mail"
|
||||
set postponed = "+[Gmail]/Drafts"
|
||||
set editor = "nvim"
|
||||
set timeout = 30
|
||||
|
||||
mailboxes =INBOX "=[Gmail]/All Mail" =[Gmail]/Sent\ Mail =[Gmail]/Drafts =[Gmail]/Spam =[Gmail]/Trash
|
||||
|
||||
set sort=reverse-date
|
||||
|
||||
bind index,pager \CD sync-mailbox
|
||||
bind index,pager \CP sidebar-prev
|
||||
bind index,pager \CN sidebar-next
|
||||
bind index,pager \CI sidebar-open
|
||||
bind index,pager \CB sidebar-toggle-visible
|
||||
|
||||
bind pager g top
|
||||
bind pager G top
|
||||
|
||||
bind attach,index g first-entry
|
||||
bind attach,index G last-entry
|
||||
|
||||
set header_cache = "~/.cache/mutt/headers"
|
||||
set message_cachedir = "~/.cache/mutt/bodies"
|
||||
|
||||
macro index,pager A s><return>y
|
||||
|
||||
# G to get mail
|
||||
bind index G imap-fetch-mail
|
||||
bind index \CR imap-fetch-mail
|
||||
|
||||
macro index ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
|
||||
macro index gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
|
||||
macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
|
||||
macro index gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages"
|
||||
macro index gt "<change-folder>=[Gmail]/Trash<enter>" "Go to trash"
|
||||
macro index,pager d "<save-message>=[Gmail]/Trash<enter><enter>" "Trash"
|
||||
macro index,pager y "<save-message>=[Gmail]/All Mail<enter><enter>" "Archive"
|
||||
# bind index g noop
|
||||
# macro index ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
|
||||
# macro index gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
|
||||
# macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
|
||||
# macro index gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages"
|
||||
# macro index gt "<change-folder>=[Gmail]/Trash<enter>" "Go to trash"
|
||||
# macro index,pager d "<save-message>=[Gmail]/Trash<enter><enter>" "Trash"
|
||||
# macro index,pager y "<save-message>=[Gmail]/All Mail<enter><enter>" "Archive"
|
||||
|
||||
set record=""
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# TODO: this script is out of date!
|
||||
|
||||
# installs pacaur on a fresh arch install
|
||||
|
||||
# install the dependencies
|
||||
sudo pacman -S git curl openssl perl expac yajl --noconfirm
|
||||
|
||||
# receive cower's gpg key
|
||||
gpg --recv-keys 1EB2638FF56C0C53
|
||||
# gpg --recv-keys 1EB2638FF56C0C53
|
||||
|
||||
# setup a temporary place to install the packages from
|
||||
REPOSITORY_PATH="/tmp/provisioning"
|
||||
|
|
|
@ -1,62 +1,59 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# TODO: install alacritty
|
||||
|
||||
pacaur --needed -S \
|
||||
neomutt `# Email Client` \
|
||||
weechat `# IRC Client` \
|
||||
aria2 `# Downloads Manager` \
|
||||
tree `# Handy Filesystem Viewing Utility` \
|
||||
rofi `# Application Launcher` \
|
||||
the_silver_searcher ripgrep `# Code Search Utilities` \
|
||||
alsa-utils `# Audio Utilities` \
|
||||
ripgrep `# Code Search Utilities` \
|
||||
fd `# File Search` \
|
||||
fzf `# Fuzzy File Finder` \
|
||||
htop `# Process Management and System Resources Monitoring` \
|
||||
openssh `# Remote Access` \
|
||||
openssl `# Crypto` \
|
||||
elixir `# Elixir Language` \
|
||||
ruby `# Language` \
|
||||
nodejs npm yarn `# Language` \
|
||||
python python-pip `# Python 3 Language` \
|
||||
python2 python2-pip `# Language` \
|
||||
pass `# Password Management` \
|
||||
firefox-developer-edition `# Default Web Browser` \
|
||||
bash-completion `# Handy Scripts for Tab-Completion in Bash` \
|
||||
fzf `# Fuzzy File Finder` \
|
||||
rsync `# File Transfer` \
|
||||
alsa-utils `# Audio Utilities` \
|
||||
alsa-plugins `# Plugins for ALSA` \
|
||||
pulseaudio pavucontrol `# Audio Backend and Controls` \
|
||||
pulseaudio-ctl `# CLI Utility for Pulseaudio` \
|
||||
neovim vim `# Text Editors` \
|
||||
unzip `# Handy Utility for ZIP Files` \
|
||||
xsel `# Manage X Selection` \
|
||||
xclip `# Manage X Clipboards` \
|
||||
xclip xsel `# X Selection & Clipboard Management` \
|
||||
autocutsel `# Clipboard Helper` \
|
||||
tmux `# Terminal Multiplexer` \
|
||||
rxvt-unicode-pixbuf `# Terminal with PixBuf Patches` \
|
||||
xorg-xinit xorg-server xorg-xrdb `# X.org Display Server` \
|
||||
xorg-drivers `# Video Drivers for X?` \
|
||||
xcb-util xcb-util-keysyms xcb-util-wm xorg-xrandr xdotool feh xorg-xprop `# X Utilties` \
|
||||
pulseaudio-ctl `# CLI Utility for Pulseaudio` \
|
||||
alsa-plugins `# Plugins for ALSA` \
|
||||
kitty `# Almost Better Terminal Emulator` \
|
||||
xorg-xinit xorg-server xorg-xrdb `# X Display Server` \
|
||||
xorg-drivers `# Video Drivers for X` \
|
||||
xcb-util xcb-util-keysyms xcb-util-wm xorg-xrandr xdotool xorg-xprop `# X Utilties` \
|
||||
feh `# Image Viewer & Wallpaper Manager` \
|
||||
unclutter-xfixes-git `# Hides cursor after no use for a time` \
|
||||
gtk-engine-murrine xorg-server-devel `# GTK Theme Base and Headers?` \
|
||||
bspwm-git sxhkd-git xdo-git `# Window Manager and Tools for its use` \
|
||||
wlroots-git sway-git `# Wayland Compositor` \
|
||||
terminus-font ttf-iosevka-pack `# Primary Fonts` \
|
||||
ttf-freefont `# Font` \
|
||||
ttf-monaco `# Font` \
|
||||
ttf-font-awesome `# Icon Font` \
|
||||
autocutsel `# Clipboard Helper` \
|
||||
curl `# HTTP Utility` \
|
||||
w3m `# Viewing Images in Terminals` \
|
||||
jq `# CLI for Interacting with JSON` \
|
||||
bash-completion `# Handy Scripts for Tab-Completion in Bash` \
|
||||
--noconfirm --noedit
|
||||
|
||||
# install text editor utilities and other python packages
|
||||
sudo pip3 install neovim jedi mistune psutil setproctitle
|
||||
sudo pip2 install neovim
|
||||
|
||||
# shortcut for browser
|
||||
sudo ln -s /usr/bin/google-chrome-unstable /usr/bin/chrome
|
||||
|
||||
# install patched fonts
|
||||
mkdir -p "$HOME/.fonts/OTF"
|
||||
curl -L -o "$HOME/.fonts/OTF/monaco_powerline_nerd_font.otf" https://github.com/taohex/font/raw/master/Monaco%20for%20Powerline%20Nerd%20Font%20Complete.otf
|
||||
fc-cache -vf
|
||||
sudo pip3 install \
|
||||
neovim `# Text Editor Plugin Integration` \
|
||||
jedi `# Text Editor Intelligence Helper` \
|
||||
mistune `# Markdown Parser` \
|
||||
psutil `# Process Utilities` \
|
||||
setproctitle `# Good Name` \
|
||||
httpie `# HTTP CLI Utility`
|
||||
|
||||
# install rxvt-unicode script for resizing font on-the-fly
|
||||
mkdir -p "$HOME/.urxvt/ext"
|
||||
curl -L -o "$HOME/.urxvt/ext/resize-font" https://raw.githubusercontent.com/simmel/urxvt-resize-font/master/resize-font
|
||||
curl -L -o "$HOME/.urxvt/ext/resize-font" https://raw.githubusercontent.com/lytedev/urxvt-resize-font/master/resize-font
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
gpg --recv-keys 0FC3042E345AD05D
|
||||
|
||||
pacaur --needed -S \
|
||||
arc-gtk-theme-git `# GTK Theme` \
|
||||
elementary-icon-theme `# GUI File Explorer Icons` \
|
||||
thunar thunar-volman gvfs `# GUI File Explorer + Volume Management/Auto-Mount Disks)` \
|
||||
samba `# Sharing Files with other (Windows) PCs` \
|
||||
gvfs-smb `# Auto-Detect Samba Shares` \
|
||||
ttf-opensans ttf-dejavu ttf-liberation `# Fonts` \
|
||||
avr-libc avr-gcc dfu-programmer dfu-util `# Keyboard Programming Utilities` \
|
||||
|
@ -13,20 +12,18 @@ pacaur --needed -S \
|
|||
gimp inkscape krita `# Image/Vector Editing Applications` \
|
||||
audacity `# Audio Editing Application` \
|
||||
cmake `# Cross-Platform Make` \
|
||||
irssi `# IRC Client` \
|
||||
accountsservice `# Mainly for User Avatars with LightDM` \
|
||||
deluge `# GUI Torrent Client` \
|
||||
lightdm lightdm-gtk-greeter `# Nice User Login` \
|
||||
polybar-git `# Bar` \
|
||||
php \
|
||||
php `# PHP Language` \
|
||||
nginx `# Web Server` \
|
||||
postgresql pgcli `# RDBMS` \
|
||||
urxvt-perls-git urxvt-resize-font-git `# rxvt-unicode scripts` \
|
||||
samba `# Sharing Files with other PCs` \
|
||||
neofetch `# swag` \
|
||||
cloc `# For counting lines of code` \
|
||||
ttf-noto-fonts-simple ttf-noto-fonts-ib noto-fonts-emoji `# Emoji` \
|
||||
siji-git gohufont artwiz-fonts phallus-fonts-git `# Bitmap Fonts` \
|
||||
autorandr `# Monitor Helper` \
|
||||
keybase keybase-gui kbfs `# Keybase Applications` \
|
||||
discord `# Chat Application` \
|
||||
--noconfirm --noedit
|
||||
|
|
|
@ -94,3 +94,6 @@ alias lsteam="LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/
|
|||
# override the man commands with vim
|
||||
alias _man="\\man"
|
||||
alias man="vman"
|
||||
|
||||
# neomutt is better
|
||||
alias mutt="neomutt"
|
||||
|
|
Reference in a new issue