diff options
author | Nicholas <nbnoll@eml.cc> | 2021-11-07 16:09:20 -0800 |
---|---|---|
committer | Nicholas <nbnoll@eml.cc> | 2021-11-07 16:09:20 -0800 |
commit | cb1c67fad17d8304d4aba2e380132d13af0cf1b1 (patch) | |
tree | d57f6c5605bcfd5dedfb81fb80be4572f38e294c | |
parent | 2633a2938486c97dfbaeeddcd278ab52ffddf102 (diff) |
update framework
-rw-r--r-- | .config/offlineimap/config | 53 | ||||
-rwxr-xr-x | .config/offlineimap/func.py | 6 | ||||
-rwxr-xr-x | .config/offlineimap/grabmail | 28 | ||||
-rw-r--r-- | .config/picom/config | 7 |
4 files changed, 3 insertions, 91 deletions
diff --git a/.config/offlineimap/config b/.config/offlineimap/config deleted file mode 100644 index 737a7a4..0000000 --- a/.config/offlineimap/config +++ /dev/null @@ -1,53 +0,0 @@ -[general] -ui = ttyui -accounts = main, kitp, gmail -pythonfile = ~/.config/offlineimap/func.py - -[Account main] -localrepository = main-local -remoterepository = main-remote - -[Repository main-local] -type = Maildir -localfolders = ~/mail/main - -[Repository main-remote] -type = IMAP -remotehost = imap.fastmail.com -remoteport = 993 -remoteuser = nbnoll@eml.cc -remotepasseval = get_pass("~/.config/password/fastmail.gpg") -maxconnections = 3 -sslcacertfile = /etc/ssl/certs/ca-certificates.crt - -[Account gmail] -localrepository = gmail-local -remoterepository = gmail-remote - -[Repository gmail-local] -type = GmailMaildir -localfolders = ~/mail/gmail - -[Repository gmail-remote] -type = Gmail -remoteuser = nnoll523@gmail.com -remotepasseval = get_pass("~/.config/password/gmail.gpg") -folderfilter = lambda folder: folder in ['INBOX', '[Gmail]/Drafts', '[Gmail]/Sent Mail', '[Gmail]/Store', '[Gmail]/Trash'] -maxconnections = 3 -sslcacertfile = /etc/ssl/certs/ca-certificates.crt - -[Account kitp] -localrepository = kitp-local -remoterepository = kitp-remote - -[Repository kitp-local] -type = GmailMaildir -localfolders = ~/mail/kitp - -[Repository kitp-remote] -type = Gmail -remoteuser = nnoll@ucsb.edu -remotepasseval = get_pass("~/.config/password/ucsb.gpg") -folderfilter = lambda folder: folder in ['INBOX', '[Gmail]/Drafts', '[Gmail]/Sent Mail', '_Archive', '[Gmail]/Trash'] -maxconnections = 3 -sslcacertfile = /etc/ssl/certs/ca-certificates.crt diff --git a/.config/offlineimap/func.py b/.config/offlineimap/func.py deleted file mode 100755 index 250f769..0000000 --- a/.config/offlineimap/func.py +++ /dev/null @@ -1,6 +0,0 @@ -#! /usr/bin/python2 -from subprocess import check_output - -def get_pass(path): - print path - return check_output("gpg -dq " + path, shell=True).strip("\n") diff --git a/.config/offlineimap/grabmail b/.config/offlineimap/grabmail deleted file mode 100755 index a76b9a2..0000000 --- a/.config/offlineimap/grabmail +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash - -# Check every ten seconds if the process identified as $1 is still -# running. After 5 checks (~60 seconds), kill it. Return non-zero to -# indicate something was killed. -monitor() { - local pid=$1 i=0 - - while ps $pid &>/dev/null; do - if (( i++ > 5 )); then - echo "Max checks reached. Sending SIGKILL to ${pid}..." >&2 - kill -9 $pid; return 1 - fi - - sleep 10 - done - - return 0 -} - -read -r pid < ~/.offlineimap/pid - -if ps $pid &>/dev/null; then - echo "Process $pid already running. Exiting..." >&2 - exit 1 -fi - -offlineimap -o -u quiet & monitor $! diff --git a/.config/picom/config b/.config/picom/config index 09db736..c085565 100644 --- a/.config/picom/config +++ b/.config/picom/config @@ -4,13 +4,12 @@ backend = "glx"; glx-no-stencil = true; -glx-swap-method = 2; refresh-rate = 0; vsync = true; dbe = false; -xrender-sync-fence = false; mark-ovredir-focused = false; +xrender-sync-fence = true; # ------------------------------------------------------------------------ # fading @@ -27,7 +26,7 @@ shadow = true; shadow-radius = 5; shadow-offset-x = -5; shadow-offset-y = -5; -shadow-opacity = 0.5; +shadow-opacity = 1.0; shadow-exclude = [ "class_g = 'dwm'", ] @@ -59,7 +58,7 @@ inactive-opacity = 0.90; active-opacity = 0.98; frame-opacity = 1.00; detect-client-opacity = false; -inactive-opacity-override = true; +inactive-opacity-override = false; opacity-rule = [ "99:class_g = 'qutebrowser'", |