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