Deleting stuff. fees good
This commit is contained in:
32
Xresources
32
Xresources
@@ -1,32 +0,0 @@
|
|||||||
! rofi
|
|
||||||
rofi.font: Iosevka Nerd Font Regular 8
|
|
||||||
rofi.padding: 12
|
|
||||||
rofi.separator-style: none
|
|
||||||
rofi.bw: 2
|
|
||||||
rofi.color-enabled: true
|
|
||||||
rofi.color-window: #dd000000, #66aaff
|
|
||||||
rofi.color-normal: #00000000, #ffffff, #22000000, #88ffffff, #000000
|
|
||||||
rofi.color-active: #44000000, #ffffff, #66000000, #44000000, #ffffff
|
|
||||||
rofi.hide-scrollbar: true
|
|
||||||
rofi.combi-modi: window,run,ssh
|
|
||||||
! rofi.run-command: fish -c '{cmd}'
|
|
||||||
|
|
||||||
! urxvt
|
|
||||||
urxvt*internalBorder: 12
|
|
||||||
urxvt*borderColor: #00000000
|
|
||||||
urxvt*loginShell: true
|
|
||||||
urxvt*scrollBar: false
|
|
||||||
urxvt*secondaryScroll: true
|
|
||||||
urxvt*saveLines: 65535
|
|
||||||
urxvt*cursorBlink: false
|
|
||||||
urxvt*urgentOnBell: true
|
|
||||||
urxvt*urlLauncher: firefox
|
|
||||||
urxvt*termName: rxvt-unicode-256color
|
|
||||||
urxvt*font: xft:Iosevka Nerd Font:Regular:size=8,xft:Siji:Regular:size=8
|
|
||||||
urxvt*boldFont: xft:Iosevka Nerd Font:Bold:size=8,xft:Siji:Regular:size=8
|
|
||||||
|
|
||||||
! Colors
|
|
||||||
urxvt*depth: 32
|
|
||||||
urxvt*foreground: #ffffff
|
|
||||||
urxvt*transparent: true
|
|
||||||
urxvt*shading: 10
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
#!/usr/bin/env /usr/local/bin/node
|
|
||||||
const bitbar = require('bitbar');
|
|
||||||
const exec = require('child_process').exec;
|
|
||||||
|
|
||||||
let cmd = `/usr/local/bin/mu find flag:unread AND NOT flag:trashed AND \\(maildir:/Fastmail/INBOX OR maildir:/IOCOM/INBOX\\) --fields \"l f s\"`;
|
|
||||||
|
|
||||||
exec(cmd, function(error, stdout, stderr) {
|
|
||||||
|
|
||||||
let mails = stderr.match(/no matches/)
|
|
||||||
? []
|
|
||||||
: stdout.trim().split("\n").map(parseMailString);
|
|
||||||
|
|
||||||
bitbar([
|
|
||||||
':envelope: ' + mails.length || "",
|
|
||||||
bitbar.sep,
|
|
||||||
...mails
|
|
||||||
]);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
function parseMailString(m) {
|
|
||||||
const MAX = 80;
|
|
||||||
|
|
||||||
let matches = m.match(/([^\s]+)\s(.*)/);
|
|
||||||
|
|
||||||
let filename = matches[1];
|
|
||||||
let text = matches[2].substring(0, MAX) + (matches[2].length > MAX ? "..." : "");
|
|
||||||
|
|
||||||
return {
|
|
||||||
text,
|
|
||||||
bash: "/usr/local/bin/emacsclient -n " + filename,
|
|
||||||
terminal: false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
17
ghci.conf
17
ghci.conf
@@ -1,17 +0,0 @@
|
|||||||
import Control.Applicative
|
|
||||||
import Control.Monad
|
|
||||||
|
|
||||||
import Data.String
|
|
||||||
import Data.Char
|
|
||||||
import Data.List
|
|
||||||
import Data.Monoid
|
|
||||||
|
|
||||||
:set -XDataKinds
|
|
||||||
:set -XGADTs
|
|
||||||
:set -XKindSignatures
|
|
||||||
|
|
||||||
:set prompt "λ: "
|
|
||||||
:set -fno-warn-unused-imports
|
|
||||||
|
|
||||||
:def hlint const . return $ ":! hlint \"src\""
|
|
||||||
:def hoogle \s -> return $ ":! hoogle --count=15 \"" ++ s ++ "\""
|
|
||||||
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "vim";
|
EDITOR = "vim";
|
||||||
|
MANPAGER = "sh -c 'col -bx | bat -l man -p'";
|
||||||
|
|
||||||
P4USER = "dswan";
|
P4USER = "dswan";
|
||||||
P4PORT = "humu.iocom.com:1666";
|
P4PORT = "humu.iocom.com:1666";
|
||||||
@@ -118,10 +119,8 @@
|
|||||||
};
|
};
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
l = "ls -la";
|
l = "ls -la";
|
||||||
n = "nnn -isl";
|
n = "nnn";
|
||||||
ta = "tmux attach -d";
|
ta = "tmux attach -d";
|
||||||
e = "emacsclient -a \"\" -t -nw";
|
|
||||||
weather = "curl http://wttr.in";
|
|
||||||
er = "rm -rf logs; unzip -o";
|
er = "rm -rf logs; unzip -o";
|
||||||
srsync = "rsync --rsync-path='sudo rsync'";
|
srsync = "rsync --rsync-path='sudo rsync'";
|
||||||
};
|
};
|
||||||
@@ -181,16 +180,15 @@
|
|||||||
|
|
||||||
programs.msmtp.enable = true;
|
programs.msmtp.enable = true;
|
||||||
programs.offlineimap.enable = true;
|
programs.offlineimap.enable = true;
|
||||||
|
programs.emacs.enable = true;
|
||||||
programs.neovim = { # neovim build broken on Mac
|
programs.neovim = {
|
||||||
# programs.vim = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
withNodeJs = true;
|
withNodeJs = true;
|
||||||
withPython3 = true;
|
withPython3 = true;
|
||||||
# unimpaired endwise textobj-word-column MatchTag vim-matchmaker vim-vertical-move stdtabs matchit splitjoin vimade floaterm coc-nvim
|
# unimpaired endwise textobj-word-column MatchTag vim-matchmaker vim-vertical-move stdtabs matchit splitjoin vimade floaterm coc-nvim
|
||||||
plugins = with pkgs.vimPlugins; [ nord-vim vim-airline vim-airline-themes vim-sensible vim-repeat vim-surround vim-fugitive vim-speeddating jdaddy-vim ale vim-snippets fzf-vim vim-tmux-navigator vim-multiple-cursors vim-easymotion vim-sneak nerdcommenter nerdtree emmet-vim undotree vim-signature vim-easy-align vim-better-whitespace vim-signify vim-expand-region vim-exchange argtextobj-vim goyo vim-orgmode vim-polyglot vim-devicons vim-startify vim-abolish vim-peekaboo ];
|
plugins = with pkgs.vimPlugins; [ nord-vim vim-airline vim-airline-themes vim-sensible vim-repeat vim-surround vim-fugitive vim-speeddating jdaddy-vim ale vim-snippets fzf-vim vim-tmux-navigator vim-multiple-cursors vim-easymotion vim-sneak nerdcommenter emmet-vim undotree vim-signature vim-easy-align vim-better-whitespace vim-signify vim-expand-region vim-exchange argtextobj-vim goyo vim-orgmode vim-polyglot vim-devicons vim-startify vim-abolish vim-peekaboo vim-table-mode tabular vim-markdown ];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set expandtab
|
set expandtab
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
@@ -220,12 +218,14 @@
|
|||||||
" let g:nord_italic_comments = 1
|
" let g:nord_italic_comments = 1
|
||||||
let g:nord_underline = 1
|
let g:nord_underline = 1
|
||||||
colorscheme nord
|
colorscheme nord
|
||||||
|
highlight Folded cterm=italic,bold ctermbg=0 ctermfg=12 guibg=#3B4252 guifg=#81A1C1
|
||||||
|
|
||||||
|
let g:org_indent = 1
|
||||||
|
|
||||||
nnoremap <silent><leader>p4 :! p4 edit %<cr>
|
nnoremap <silent><leader>p4 :! p4 edit %<cr>
|
||||||
nnoremap <silent><leader>/ :noh<cr>
|
nnoremap <silent><leader>/ :noh<cr>
|
||||||
nnoremap <leader>v <c-w>v<c-w>l
|
nnoremap <leader>v <c-w>v<c-w>l
|
||||||
nnoremap <leader>s <c-w>s<c-w>j
|
nnoremap <leader>s <c-w>s<c-w>j
|
||||||
nnoremap <leader>t :NERDTreeToggle<cr>
|
|
||||||
nnoremap <leader>u :UndotreeToggle<cr>
|
nnoremap <leader>u :UndotreeToggle<cr>
|
||||||
xmap ga <Plug>(EasyAlign)
|
xmap ga <Plug>(EasyAlign)
|
||||||
nmap ga <Plug>(EasyAlign)
|
nmap ga <Plug>(EasyAlign)
|
||||||
@@ -269,7 +269,6 @@
|
|||||||
programs.htop.enable = true;
|
programs.htop.enable = true;
|
||||||
programs.mpv.enable = true;
|
programs.mpv.enable = true;
|
||||||
programs.jq.enable = true;
|
programs.jq.enable = true;
|
||||||
programs.emacs.enable = true;
|
|
||||||
programs.keychain = {
|
programs.keychain = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
|||||||
@@ -3,17 +3,45 @@
|
|||||||
{
|
{
|
||||||
home.file.aerc-accounts = {
|
home.file.aerc-accounts = {
|
||||||
target = ".config/aerc/accounts.conf";
|
target = ".config/aerc/accounts.conf";
|
||||||
# source = ./aerc-accounts.conf;
|
|
||||||
text = ''[FastMail]
|
text = ''[FastMail]
|
||||||
source = maildir://~/Mail/FastMail
|
source = maildir://~/Mail/FastMail
|
||||||
from = "Dustin Swan <dustin@dustinswan.com>"
|
from = "Dustin Swan <dustin@dustinswan.com>"
|
||||||
outgoing = ${builtins.getEnv "HOME"}/.nix-profile/bin/msmtp --read-envelope-from
|
outgoing = ${builtins.getEnv "HOME"}/.nix-profile/bin/msmtp --read-envelope-from
|
||||||
|
'';
|
||||||
|
# text = ''[FastMail]
|
||||||
|
# source = imaps://dustinswan%40fastmail.com@mail.messagingengine.com:993
|
||||||
|
# from = "Dustin Swan <dustin@dustinswan.com>"
|
||||||
|
# outgoing = ${builtins.getEnv "HOME"}/.nix-profile/bin/msmtp --read-envelope-from
|
||||||
|
# sourc-cred-cmd = "gpg -dq ${builtins.getEnv "HOME"}/.dustinswan@fastmail.com-password.gpg"
|
||||||
|
# '';
|
||||||
|
};
|
||||||
|
|
||||||
[Visionable]
|
home.file.khard = {
|
||||||
source = maildir://~/Mail/Visionable
|
target = ".config/khard/config";
|
||||||
from = "Dustin Swan <dswan@visionable.com>"
|
text = ''[addressbooks]
|
||||||
outgoing = ${builtins.getEnv "HOME"}/.nix-profile/bin/msmtp --read-envelope-from'';
|
[[contacts]]
|
||||||
executable = false;
|
path = ~/Contacts/Default'';
|
||||||
|
};
|
||||||
|
|
||||||
|
home.file.khal = {
|
||||||
|
target = ".config/khal/config";
|
||||||
|
text = ''[calendars]
|
||||||
|
[[Fastmail]]
|
||||||
|
path = ~/Calendars/*
|
||||||
|
type = discover
|
||||||
|
|
||||||
|
[locale]
|
||||||
|
timeformat = %H:%M
|
||||||
|
dateformat = %Y-%m-%d
|
||||||
|
longdateformat = %Y-%m-%d
|
||||||
|
datetimeformat = %Y-%m-%d %H:%M
|
||||||
|
longdatetimeformat = %Y-%m-%d %H:%M'';
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.neomutt = {
|
||||||
|
enable = true;
|
||||||
|
sidebar.enable = true;
|
||||||
|
sort = "reverse-threads";
|
||||||
};
|
};
|
||||||
|
|
||||||
accounts.email = {
|
accounts.email = {
|
||||||
@@ -47,62 +75,6 @@ outgoing = ${builtins.getEnv "HOME"}/.nix-profile/bin/msmtp --read-envelope-from
|
|||||||
showSignature = "append";
|
showSignature = "append";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
Visionable = {
|
|
||||||
address = "dswan@visionable.com";
|
|
||||||
aliases= "dswan@iocom.com";
|
|
||||||
realName = "Dustin Swan";
|
|
||||||
folders = {
|
|
||||||
inbox = "INBOX";
|
|
||||||
drafts = "Drafts";
|
|
||||||
sent = "Sent Items";
|
|
||||||
trash = "Deleted Items";
|
|
||||||
};
|
|
||||||
userName = "dswan@visionable.com";
|
|
||||||
imap.host = "outlook.office365.com";
|
|
||||||
smtp.host = "smtp.office365.com";
|
|
||||||
passwordCommand = "gpg -dq ${builtins.getEnv "HOME"}/.dswan@visionable.com-password.gpg";
|
|
||||||
offlineimap = {
|
|
||||||
enable = true;
|
|
||||||
extraConfig.remote = {
|
|
||||||
folderfilter = ''lambda folder: folder not in [
|
|
||||||
'Calendar',
|
|
||||||
'Calendar/Birthdays',
|
|
||||||
'Calendar/IOCOM Holidays',
|
|
||||||
'Calendar/United States holidays',
|
|
||||||
'Contacts',
|
|
||||||
'Contacts/Sub Folder 1',
|
|
||||||
'Contacts/Sub Folder 2',
|
|
||||||
'Contacts/Skype for Business Contacts',
|
|
||||||
'Deleted Items',
|
|
||||||
'Drafts',
|
|
||||||
'Journal',
|
|
||||||
'Junk Email',
|
|
||||||
'Notes',
|
|
||||||
'Outbox',
|
|
||||||
'Sync Issues',
|
|
||||||
'Sync Issues/Conflicts',
|
|
||||||
'Sync Issues/Local Failures',
|
|
||||||
'Sync Issues/Server Failures',
|
|
||||||
'Tasks',
|
|
||||||
'Tasks/Sub Folder 1',
|
|
||||||
'Tasks/Sub Folder 2'
|
|
||||||
]
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
msmtp.enable = true;
|
|
||||||
neomutt.enable = true;
|
|
||||||
signature = {
|
|
||||||
text = ''
|
|
||||||
Dustin Swan, Software Developer
|
|
||||||
Visionable Ltd | https://visionable.com
|
|
||||||
dswan@visionable.com
|
|
||||||
'';
|
|
||||||
showSignature = "append";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
for id in `xinput --list|grep 'MX Master 2S'|perl -ne 'while (m/id=(\d+)/g){print "$1\n";}'`; do
|
|
||||||
xinput set-prop $id "Device Accel Velocity Scaling" 1
|
|
||||||
xinput set-prop $id "Device Accel Constant Deceleration" 0.8
|
|
||||||
xinput set-prop $id "Evdev Scrolling Distance" -1 -1 -1
|
|
||||||
# xinput set-button-map $id 1 2 3 5 4 # "natural" scrolling
|
|
||||||
done
|
|
||||||
70
mailcap
70
mailcap
@@ -1,70 +0,0 @@
|
|||||||
# Example mailcap file for Reddit Terminal Viewer
|
|
||||||
# https://github.com/michael-lazar/rtv/
|
|
||||||
#
|
|
||||||
# Copy the contents of this file to {HOME}/.mailcap, or point to it using $MAILCAPS
|
|
||||||
# Then launch RTV using the --enable-media flag. All shell commands defined in
|
|
||||||
# this file depend on external programs that must be installed on your system.
|
|
||||||
#
|
|
||||||
# HELP REQUESTED! If you come up with your own commands (especially for OS X)
|
|
||||||
# and would like to share, please post an issue on the GitHub tracker and we
|
|
||||||
# can get them added to this file as references.
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# Mailcap 101
|
|
||||||
# - The first entry with a matching MIME type will be executed, * is a wildcard
|
|
||||||
# - %s will be replaced with the image or video url
|
|
||||||
# - Add ``test=test -n "$DISPLAY"`` if your command opens a new window
|
|
||||||
# - Add ``needsterminal`` for commands that use the terminal
|
|
||||||
# - Add ``copiousoutput`` for commands that dump text to stdout
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
# Commands below this point will open media in a separate window without
|
|
||||||
# pausing execution of RTV.
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
# Feh is a simple and effective image viewer
|
|
||||||
# Note that rtv returns a list of urls for imgur albums, so we don't put quotes
|
|
||||||
# around the `%s`
|
|
||||||
image/x-imgur-album; feh -g 640x480 %s; test=test -n "$DISPLAY"
|
|
||||||
image/gif; mpv '%s' --autofit 640x480 --loop=inf; test=test -n "$DISPLAY"
|
|
||||||
image/*; feh -g 640x480 '%s'; test=test -n "$DISPLAY"
|
|
||||||
|
|
||||||
# Youtube videos are assigned a custom mime-type, which can be streamed with
|
|
||||||
# vlc or youtube-dl.
|
|
||||||
# video/x-youtube; vlc '%s' --width 640 --height 480; test=test -n "$DISPLAY"
|
|
||||||
video/x-youtube; mpv --ytdl-format=best '%s' --autofit 640x480; test=test -n "$DISPLAY"
|
|
||||||
|
|
||||||
# Mpv is a simple and effective video streamer
|
|
||||||
video/*; mpv '%s' --autofit 640x480 --loop=inf; test=test -n "$DISPLAY"
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
# Commands below this point will attempt to display media directly in the
|
|
||||||
# terminal when a desktop is not available (e.g. inside of an SSH session)
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
# View images directly in your terminal with iTerm2
|
|
||||||
# curl -L https://iterm2.com/misc/install_shell_integration_and_utilities.sh | bash
|
|
||||||
# image/*; curl -s %s | ~/.iterm2/imgcat && read -n 1; needsterminal
|
|
||||||
|
|
||||||
# View true images in the terminal, supported by rxvt-unicode, xterm and st
|
|
||||||
# Requires the w3m-img package
|
|
||||||
# image/*; w3m -o 'ext_image_viewer=off' '%s'; needsterminal
|
|
||||||
|
|
||||||
# Don't have a solution for albums yet
|
|
||||||
image/x-imgur-album; echo
|
|
||||||
|
|
||||||
# 256 color images using half-width unicode characters
|
|
||||||
# Much higher quality that img2txt, but must be built from source
|
|
||||||
# https://github.com/rossy/img2xterm
|
|
||||||
image/*; curl -s '%s' | convert -resize 80x80 - jpg:/tmp/rtv.jpg && img2xterm /tmp/rtv.jpg; needsterminal; copiousoutput
|
|
||||||
|
|
||||||
# Display images in classic ascii using img2txt and lib-caca
|
|
||||||
image/*; curl -s '%s' | convert - jpg:/tmp/rtv.jpg && img2txt -f utf8 /tmp/rtv.jpg; needsterminal; copiousoutput
|
|
||||||
|
|
||||||
# Full motion videos - requires a framebuffer to view
|
|
||||||
video/x-youtube; mpv -vo drm -quiet '%s'; needsterminal
|
|
||||||
video/*; mpv -vo drm -quiet '%s'; needsterminal
|
|
||||||
|
|
||||||
# Ascii videos
|
|
||||||
# video/x-youtube; youtube-dl -q -o - '%s' | mplayer -cache 8192 -vo caca -quiet -; needsterminal
|
|
||||||
# video/*; wget '%s' -O - | mplayer -cache 8192 -vo caca -quiet -; needsterminal
|
|
||||||
8
ncmpcpp
8
ncmpcpp
@@ -1,8 +0,0 @@
|
|||||||
visualizer_fifo_path = "/tmp/mpd.fifo"
|
|
||||||
visualizer_output_name = "my_fifo"
|
|
||||||
visualizer_sync_interval = "30"
|
|
||||||
visualizer_in_stereo = "yes"
|
|
||||||
#visualizer_type = "wave" (spectrum/wave)
|
|
||||||
#visualizer_type = "spectrum" (spectrum/wave)
|
|
||||||
mpd_music_dir = "/Users/dustinswan/Music"
|
|
||||||
user_interface = alternative
|
|
||||||
@@ -1,336 +0,0 @@
|
|||||||
nord = {
|
|
||||||
# Polar Night
|
|
||||||
'nord0': '#2e3440',
|
|
||||||
'nord1': '#3b4252',
|
|
||||||
'nord2': '#434c5e',
|
|
||||||
'nord3': '#4c566a',
|
|
||||||
# Snow Storm
|
|
||||||
'nord4': '#d8dee9',
|
|
||||||
'nord5': '#e5e9f0',
|
|
||||||
'nord6': '#eceff4',
|
|
||||||
# Frost
|
|
||||||
'nord7': '#8fbcbb',
|
|
||||||
'nord8': '#88c0d0',
|
|
||||||
'nord9': '#81a1c1',
|
|
||||||
'nord10': '#5e81ac',
|
|
||||||
# Aurora
|
|
||||||
'nord11': '#bf616a',
|
|
||||||
'nord12': '#d08770',
|
|
||||||
'nord13': '#ebcb8b',
|
|
||||||
'nord14': '#a3be8c',
|
|
||||||
'nord15': '#b48ead',
|
|
||||||
}
|
|
||||||
|
|
||||||
## Background color of the completion widget category headers.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.completion.category.bg = nord['nord0']
|
|
||||||
|
|
||||||
## Bottom border color of the completion widget category headers.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.completion.category.border.bottom = nord['nord0']
|
|
||||||
|
|
||||||
## Top border color of the completion widget category headers.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.completion.category.border.top = nord['nord0']
|
|
||||||
|
|
||||||
## Foreground color of completion widget category headers.
|
|
||||||
## Type: QtColor
|
|
||||||
c.colors.completion.category.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Background color of the completion widget for even rows.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.completion.even.bg = nord['nord1']
|
|
||||||
|
|
||||||
## Background color of the completion widget for odd rows.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.completion.odd.bg = nord['nord1']
|
|
||||||
|
|
||||||
## Text color of the completion widget.
|
|
||||||
## Type: QtColor
|
|
||||||
c.colors.completion.fg = nord['nord4']
|
|
||||||
|
|
||||||
## Background color of the selected completion item.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.completion.item.selected.bg = nord['nord3']
|
|
||||||
|
|
||||||
## Bottom border color of the selected completion item.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.completion.item.selected.border.bottom = nord['nord3']
|
|
||||||
|
|
||||||
## Top border color of the completion widget category headers.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.completion.item.selected.border.top = nord['nord3']
|
|
||||||
|
|
||||||
## Foreground color of the selected completion item.
|
|
||||||
## Type: QtColor
|
|
||||||
c.colors.completion.item.selected.fg = nord['nord6']
|
|
||||||
|
|
||||||
## Foreground color of the matched text in the completion.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.completion.match.fg = nord['nord13']
|
|
||||||
|
|
||||||
## Color of the scrollbar in completion view
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.completion.scrollbar.bg = nord['nord1']
|
|
||||||
|
|
||||||
## Color of the scrollbar handle in completion view.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.completion.scrollbar.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Background color for the download bar.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.downloads.bar.bg = nord['nord0']
|
|
||||||
|
|
||||||
## Background color for downloads with errors.
|
|
||||||
## Type: QtColor
|
|
||||||
c.colors.downloads.error.bg = nord['nord11']
|
|
||||||
|
|
||||||
## Foreground color for downloads with errors.
|
|
||||||
## Type: QtColor
|
|
||||||
c.colors.downloads.error.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Color gradient stop for download backgrounds.
|
|
||||||
## Type: QtColor
|
|
||||||
c.colors.downloads.stop.bg = nord['nord15']
|
|
||||||
|
|
||||||
## Color gradient interpolation system for download backgrounds.
|
|
||||||
## Type: ColorSystem
|
|
||||||
## Valid values:
|
|
||||||
## - rgb: Interpolate in the RGB color system.
|
|
||||||
## - hsv: Interpolate in the HSV color system.
|
|
||||||
## - hsl: Interpolate in the HSL color system.
|
|
||||||
## - none: Don't show a gradient.
|
|
||||||
c.colors.downloads.system.bg = 'none'
|
|
||||||
|
|
||||||
## Background color for hints. Note that you can use a `rgba(...)` value
|
|
||||||
## for transparency.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.hints.bg = nord['nord13']
|
|
||||||
|
|
||||||
## Font color for hints.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.hints.fg = nord['nord0']
|
|
||||||
|
|
||||||
## Font color for the matched part of hints.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.hints.match.fg = nord['nord10']
|
|
||||||
|
|
||||||
## Background color of the keyhint widget.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.keyhint.bg = nord['nord1']
|
|
||||||
|
|
||||||
## Text color for the keyhint widget.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.keyhint.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Highlight color for keys to complete the current keychain.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.keyhint.suffix.fg = nord['nord13']
|
|
||||||
|
|
||||||
## Background color of an error message.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.messages.error.bg = nord['nord11']
|
|
||||||
|
|
||||||
## Border color of an error message.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.messages.error.border = nord['nord11']
|
|
||||||
|
|
||||||
## Foreground color of an error message.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.messages.error.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Background color of an info message.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.messages.info.bg = nord['nord8']
|
|
||||||
|
|
||||||
## Border color of an info message.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.messages.info.border = nord['nord8']
|
|
||||||
|
|
||||||
## Foreground color an info message.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.messages.info.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Background color of a warning message.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.messages.warning.bg = nord['nord12']
|
|
||||||
|
|
||||||
## Border color of a warning message.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.messages.warning.border = nord['nord12']
|
|
||||||
|
|
||||||
## Foreground color a warning message.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.messages.warning.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Background color for prompts.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.prompts.bg = nord['nord2']
|
|
||||||
|
|
||||||
# ## Border used around UI elements in prompts.
|
|
||||||
# ## Type: String
|
|
||||||
c.colors.prompts.border = '1px solid ' + nord['nord0']
|
|
||||||
|
|
||||||
## Foreground color for prompts.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.prompts.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Background color for the selected item in filename prompts.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.prompts.selected.bg = nord['nord3']
|
|
||||||
|
|
||||||
## Background color of the statusbar in caret mode.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.caret.bg = nord['nord15']
|
|
||||||
|
|
||||||
## Foreground color of the statusbar in caret mode.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.caret.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Background color of the statusbar in caret mode with a selection.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.caret.selection.bg = nord['nord15']
|
|
||||||
|
|
||||||
## Foreground color of the statusbar in caret mode with a selection.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.caret.selection.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Background color of the statusbar in command mode.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.command.bg = nord['nord2']
|
|
||||||
|
|
||||||
## Foreground color of the statusbar in command mode.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.command.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Background color of the statusbar in private browsing + command mode.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.command.private.bg = nord['nord2']
|
|
||||||
|
|
||||||
## Foreground color of the statusbar in private browsing + command mode.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.command.private.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Background color of the statusbar in insert mode.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.insert.bg = nord['nord14']
|
|
||||||
|
|
||||||
## Foreground color of the statusbar in insert mode.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.insert.fg = nord['nord1']
|
|
||||||
|
|
||||||
## Background color of the statusbar.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.normal.bg = nord['nord0']
|
|
||||||
|
|
||||||
## Foreground color of the statusbar.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.normal.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Background color of the statusbar in passthrough mode.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.passthrough.bg = nord['nord10']
|
|
||||||
|
|
||||||
## Foreground color of the statusbar in passthrough mode.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.passthrough.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Background color of the statusbar in private browsing mode.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.private.bg = nord['nord3']
|
|
||||||
|
|
||||||
## Foreground color of the statusbar in private browsing mode.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.private.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Background color of the progress bar.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.progress.bg = nord['nord5']
|
|
||||||
|
|
||||||
## Foreground color of the URL in the statusbar on error.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.url.error.fg = nord['nord11']
|
|
||||||
|
|
||||||
## Default foreground color of the URL in the statusbar.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.url.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Foreground color of the URL in the statusbar for hovered links.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.url.hover.fg = nord['nord8']
|
|
||||||
|
|
||||||
## Foreground color of the URL in the statusbar on successful load
|
|
||||||
## (http).
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.url.success.http.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Foreground color of the URL in the statusbar on successful load
|
|
||||||
## (https).
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.url.success.https.fg = nord['nord14']
|
|
||||||
|
|
||||||
## Foreground color of the URL in the statusbar when there's a warning.
|
|
||||||
## Type: QssColor
|
|
||||||
c.colors.statusbar.url.warn.fg = nord['nord12']
|
|
||||||
|
|
||||||
## Background color of the tab bar.
|
|
||||||
## Type: QtColor
|
|
||||||
c.colors.tabs.bar.bg = nord['nord3']
|
|
||||||
|
|
||||||
## Background color of unselected even tabs.
|
|
||||||
## Type: QtColor
|
|
||||||
c.colors.tabs.even.bg = nord['nord3']
|
|
||||||
|
|
||||||
## Foreground color of unselected even tabs.
|
|
||||||
## Type: QtColor
|
|
||||||
c.colors.tabs.even.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Color for the tab indicator on errors.
|
|
||||||
## Type: QtColor
|
|
||||||
c.colors.tabs.indicator.error = nord['nord11']
|
|
||||||
|
|
||||||
## Color gradient start for the tab indicator.
|
|
||||||
## Type: QtColor
|
|
||||||
# c.colors.tabs.indicator.start = nord['violet']
|
|
||||||
|
|
||||||
## Color gradient end for the tab indicator.
|
|
||||||
## Type: QtColor
|
|
||||||
# c.colors.tabs.indicator.stop = nord['orange']
|
|
||||||
|
|
||||||
## Color gradient interpolation system for the tab indicator.
|
|
||||||
## Type: ColorSystem
|
|
||||||
## Valid values:
|
|
||||||
## - rgb: Interpolate in the RGB color system.
|
|
||||||
## - hsv: Interpolate in the HSV color system.
|
|
||||||
## - hsl: Interpolate in the HSL color system.
|
|
||||||
## - none: Don't show a gradient.
|
|
||||||
c.colors.tabs.indicator.system = 'none'
|
|
||||||
|
|
||||||
## Background color of unselected odd tabs.
|
|
||||||
## Type: QtColor
|
|
||||||
c.colors.tabs.odd.bg = nord['nord3']
|
|
||||||
|
|
||||||
## Foreground color of unselected odd tabs.
|
|
||||||
## Type: QtColor
|
|
||||||
c.colors.tabs.odd.fg = nord['nord5']
|
|
||||||
|
|
||||||
# ## Background color of selected even tabs.
|
|
||||||
# ## Type: QtColor
|
|
||||||
c.colors.tabs.selected.even.bg = nord['nord0']
|
|
||||||
|
|
||||||
# ## Foreground color of selected even tabs.
|
|
||||||
# ## Type: QtColor
|
|
||||||
c.colors.tabs.selected.even.fg = nord['nord5']
|
|
||||||
|
|
||||||
# ## Background color of selected odd tabs.
|
|
||||||
# ## Type: QtColor
|
|
||||||
c.colors.tabs.selected.odd.bg = nord['nord0']
|
|
||||||
|
|
||||||
# ## Foreground color of selected odd tabs.
|
|
||||||
# ## Type: QtColor
|
|
||||||
c.colors.tabs.selected.odd.fg = nord['nord5']
|
|
||||||
|
|
||||||
## Background color for webpages if unset (or empty to use the theme's
|
|
||||||
## color)
|
|
||||||
## Type: QtColor
|
|
||||||
# c.colors.webpage.bg = 'white'
|
|
||||||
106
qutebrowser.py
106
qutebrowser.py
@@ -1,106 +0,0 @@
|
|||||||
# Autogenerated config.py
|
|
||||||
# Documentation:
|
|
||||||
# qute://help/configuring.html
|
|
||||||
# qute://help/settings.html
|
|
||||||
|
|
||||||
# Uncomment this to still load settings configured via autoconfig.yml
|
|
||||||
# config.load_autoconfig()
|
|
||||||
|
|
||||||
# This setting can be used to map keys to other keys. When the key used
|
|
||||||
# as dictionary-key is pressed, the binding for the key used as
|
|
||||||
# dictionary-value is invoked instead. This is useful for global
|
|
||||||
# remappings of keys, for example to map Ctrl-[ to Escape. Note that
|
|
||||||
# when a key is bound (via `bindings.default` or `bindings.commands`),
|
|
||||||
# the mapping is ignored.
|
|
||||||
# Type: Dict
|
|
||||||
c.bindings.key_mappings = {'<Ctrl-6>': '<Ctrl-^>', '<Ctrl-Enter>': '<Ctrl-Return>', '<Ctrl-J>': '<Return>', '<Ctrl-M>': '<Return>', '<Ctrl-[>': '<Escape>', '<Enter>': '<Return>', '<Shift-Enter>': '<Return>', '<Shift-Return>': '<Return>'}
|
|
||||||
|
|
||||||
# Background color of unselected even tabs.
|
|
||||||
# Type: QtColor
|
|
||||||
c.colors.tabs.even.bg = 'black'
|
|
||||||
|
|
||||||
# Background color of unselected odd tabs.
|
|
||||||
# Type: QtColor
|
|
||||||
c.colors.tabs.odd.bg = 'black'
|
|
||||||
|
|
||||||
# Background color of selected even tabs.
|
|
||||||
# Type: QtColor
|
|
||||||
c.colors.tabs.selected.even.bg = '#66aaff'
|
|
||||||
|
|
||||||
# Foreground color of selected even tabs.
|
|
||||||
# Type: QtColor
|
|
||||||
c.colors.tabs.selected.even.fg = 'black'
|
|
||||||
|
|
||||||
# Background color of selected odd tabs.
|
|
||||||
# Type: QtColor
|
|
||||||
c.colors.tabs.selected.odd.bg = '#66aaff'
|
|
||||||
|
|
||||||
# Foreground color of selected odd tabs.
|
|
||||||
# Type: QtColor
|
|
||||||
c.colors.tabs.selected.odd.fg = 'black'
|
|
||||||
|
|
||||||
# Background color for webpages if unset (or empty to use the theme's
|
|
||||||
# color)
|
|
||||||
# Type: QtColor
|
|
||||||
c.colors.webpage.bg = 'white'
|
|
||||||
|
|
||||||
# Font used in the completion categories.
|
|
||||||
# Type: Font
|
|
||||||
c.fonts.completion.category = 'bold 9pt monospace'
|
|
||||||
|
|
||||||
# Font used in the completion widget.
|
|
||||||
# Type: Font
|
|
||||||
c.fonts.completion.entry = '9pt monospace'
|
|
||||||
|
|
||||||
# Font used for the debugging console.
|
|
||||||
# Type: QtFont
|
|
||||||
c.fonts.debug_console = '9pt monospace'
|
|
||||||
|
|
||||||
# Font used for the downloadbar.
|
|
||||||
# Type: Font
|
|
||||||
c.fonts.downloads = '9pt monospace'
|
|
||||||
|
|
||||||
# Font used for the hints.
|
|
||||||
# Type: Font
|
|
||||||
c.fonts.hints = 'bold 9pt monospace'
|
|
||||||
|
|
||||||
# Font used in the keyhint widget.
|
|
||||||
# Type: Font
|
|
||||||
c.fonts.keyhint = '9pt monospace'
|
|
||||||
|
|
||||||
# Font used for error messages.
|
|
||||||
# Type: Font
|
|
||||||
c.fonts.messages.error = '9pt monospace'
|
|
||||||
|
|
||||||
# Font used for info messages.
|
|
||||||
# Type: Font
|
|
||||||
c.fonts.messages.info = '9pt monospace'
|
|
||||||
|
|
||||||
# Font used for warning messages.
|
|
||||||
# Type: Font
|
|
||||||
c.fonts.messages.warning = '9pt monospace'
|
|
||||||
|
|
||||||
# Default monospace fonts. Whenever "monospace" is used in a font
|
|
||||||
# setting, it's replaced with the fonts listed here.
|
|
||||||
# Type: Font
|
|
||||||
c.fonts.monospace = 'Iosevka Nerd Font'
|
|
||||||
|
|
||||||
# Font used for prompts.
|
|
||||||
# Type: Font
|
|
||||||
c.fonts.prompts = '8pt sans-serif'
|
|
||||||
|
|
||||||
# Font used in the statusbar.
|
|
||||||
# Type: Font
|
|
||||||
c.fonts.statusbar = '9pt monospace'
|
|
||||||
|
|
||||||
# Font used in the tab bar.
|
|
||||||
# Type: QtFont
|
|
||||||
c.fonts.tabs = '9pt monospace'
|
|
||||||
|
|
||||||
# Open new tabs (middleclick/ctrl+click) in the background.
|
|
||||||
# Type: Bool
|
|
||||||
c.tabs.background = True
|
|
||||||
|
|
||||||
# Padding around text for tabs
|
|
||||||
# Type: Padding
|
|
||||||
c.tabs.padding = {'bottom': 5, 'left': 5, 'right': 5, 'top': 5}
|
|
||||||
19
spacemacs
19
spacemacs
@@ -600,29 +600,14 @@ before packages are loaded."
|
|||||||
(mu4e-refile-folder . "/FastMail/INBOX.Archive")
|
(mu4e-refile-folder . "/FastMail/INBOX.Archive")
|
||||||
(mu4e-trash-folder . "/FastMail/INBOX.Trash")))
|
(mu4e-trash-folder . "/FastMail/INBOX.Trash")))
|
||||||
|
|
||||||
,(make-mu4e-context
|
))
|
||||||
:name "IOCOM"
|
|
||||||
:enter-func (lambda () (mu4e-message "Switch to the IOCOM context"))
|
|
||||||
;; leave-fun not defined
|
|
||||||
:match-func (lambda (msg)
|
|
||||||
(when msg
|
|
||||||
(string-match-p (regexp-quote "IOCOM") (mu4e-message-field msg :maildir))))
|
|
||||||
:vars '((user-mail-address . "dswan@visionable.com")
|
|
||||||
(mu4e-sent-messages-behavior . sent)
|
|
||||||
(mu4e-sent-folder . "/IOCOM/Sent Items")
|
|
||||||
(mu4e-drafts-folder . "/IOCOM/Drafts")
|
|
||||||
(mu4e-refile-folder . "/IOCOM/INBOX.Archive") ;; Exchange is broken I think.. I can't move this
|
|
||||||
(mu4e-trash-folder . "/IOCOM/Deleted Items")))))
|
|
||||||
|
|
||||||
(setq mu4e-context-policy 'pick-first)
|
(setq mu4e-context-policy 'pick-first)
|
||||||
|
|
||||||
(setq mu4e-maildir "~/Mail"
|
(setq mu4e-maildir "~/Mail"
|
||||||
user-full-name "Dustin Swan"
|
user-full-name "Dustin Swan"
|
||||||
mu4e-user-mail-address-list '("dustin@dustinswan.com"
|
mu4e-user-mail-address-list '("dustin@dustinswan.com"
|
||||||
"dustinswan@gmail.com"
|
"dustinswan@gmail.com")
|
||||||
"dswan@visionable.com"
|
|
||||||
"dswan@iocom.com"
|
|
||||||
"dswan@insors.com")
|
|
||||||
mu4e-get-mail-command "offlineimap -q"
|
mu4e-get-mail-command "offlineimap -q"
|
||||||
mu4e-update-interval 180
|
mu4e-update-interval 180
|
||||||
mu4e-compose-signature-auto-include nil
|
mu4e-compose-signature-auto-include nil
|
||||||
|
|||||||
18
symlinks.sh
18
symlinks.sh
@@ -1,18 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
mkdir ~/.ghc; ln -sf ~/dotfiles/ghci.conf ~/.ghc/ghci.conf
|
|
||||||
mkdir -p ~/.config/khal; ln -sf ~/dotfiles/khal.conf ~/.config/khal/config
|
|
||||||
mkdir ~/.config/vdirsyncer; ln -sf ~/dotfiles/vdirsyncer/config ~/.config/vdirsyncer/config
|
|
||||||
# mkdir ~/.gnupg; ln -sf ~/dotfiles/gpg-agent.conf ~/.gnupg/gpg-agent.conf
|
|
||||||
mkdir -p ~/.config/khard; ln -sf ~/dotfiles/khard.conf ~/.config/khard/khard.conf
|
|
||||||
mkdir -p ~/.config/qutebrowser; ln -sf ~/dotfiles/qutebrowser.py ~/.config/qutebrowser/config.py
|
|
||||||
mkdir -p ~/.config/rtv; ln -sf ~/dotfiles/rtv.cfg ~/.config/rtv/rtv.cfg
|
|
||||||
ln -sf ~/dotfiles/mailcap ~/.mailcap
|
|
||||||
|
|
||||||
ln -sf ~/dotfiles/muttrc ~/.muttrc
|
|
||||||
ln -sf ~/dotfiles/mutt ~/.mutt
|
|
||||||
|
|
||||||
# Emacs
|
|
||||||
# mv ~/.emacs.d ~/.emacs.bak
|
|
||||||
# git clone --recursive http://github.com/syl20bnr/spacemacs ~/.emacs.d
|
|
||||||
# ln -sf ~/dotfiles/spacemacs ~/.spacemacs
|
|
||||||
Reference in New Issue
Block a user