diff --git a/.rtorrentrc b/.rtorrentrc new file mode 100644 index 0000000..4d331e1 --- /dev/null +++ b/.rtorrentrc @@ -0,0 +1 @@ +directory = /mnt/media/torrents diff --git a/.xsession b/.xsession new file mode 100755 index 0000000..d9f0ede --- /dev/null +++ b/.xsession @@ -0,0 +1,28 @@ +#!/bin/bash +setxkbmap -option ctrl:swapcaps -option tilde:swapescape +source ~/.profile +picom -b +~/.fehbg +xbindkeys -f $HOME/Source/configs/xbindkeysrc + +mkfifo /tmp/torrents.fifo +# aria2 downloads should be resumed here + +( mru update; mru updatedirs ) & + +# relaunch DWM if the binary changes, otherwise bail +csum=$(sha1sum $(which dwm)) +new_csum="" +while true +do + if [ "$csum" != "$new_csum" ] + then + csum=$new_csum + dwm-statusbar & + dwm + else + exit 0 + fi + new_csum=$(sha1sum $(which dwm)) + sleep 0.5 +done diff --git a/installs b/installs new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/installs @@ -0,0 +1 @@ + diff --git a/mbsyncrc b/mbsyncrc index e24911d..4adc947 100644 --- a/mbsyncrc +++ b/mbsyncrc @@ -8,80 +8,55 @@ Port 993 SSLType IMAPS # SSLVersions TLSv1.2 -IMAPAccount work-immanuel -Host imap.gmail.com -User "immanuel.onyeka@kunin.io" -PassCmd "pass work/gmail.com | head -n 1" -Port 993 -SSLType IMAPS -# SSLVersions TLSv1.2 - # Remote storage IMAPStore mailfence-immanuel-remote Account mailfence-immanuel PathDelimiter / -IMAPStore work-remote -Account work-immanuel -PathDelimiter / - - # Local storage MaildirStore mailfence-immanuel-local -Path ~/mail/personal/ -Inbox ~/mail/personal/INBOX - -MaildirStore work-local -Path ~/mail/work/ -Subfolders Verbatim +Path ~/Mail/personal/ +Inbox ~/Mail/personal/INBOX Channel mailfence-immanuel-inbox -Master :mailfence-immanuel-remote:INBOX -Slave :mailfence-immanuel-local:INBOX -Create Both -Expunge Both - -Channel work -Master :work-remote: -Slave :work-local: -Patterns * +Far :mailfence-immanuel-remote:INBOX +Near :mailfence-immanuel-local:INBOX Create Both Expunge Both - Channel mailfence-immanuel-sent -Master :mailfence-immanuel-remote:Sent -Slave :mailfence-immanuel-local:sent +Far :mailfence-immanuel-remote:Sent +Near :mailfence-immanuel-local:sent Create Both Expunge Both Channel mailfence-immanuel-trash -Master :mailfence-immanuel-remote:Trash -Slave :mailfence-immanuel-local:sent +Far :mailfence-immanuel-remote:Trash +Near :mailfence-immanuel-local:sent Create Both Expunge Both Channel mailfence-immanuel-drafts -Master :mailfence-immanuel-remote:Drafts -Slave :mailfence-immanuel-local:drafts +Far :mailfence-immanuel-remote:Drafts +Near :mailfence-immanuel-local:drafts Create Both Expunge Both Channel mailfence-immanuel-spam -Master :mailfence-immanuel-remote:Spam? -Slave :mailfence-immanuel-local:junk +Far :mailfence-immanuel-remote:Spam? +Near :mailfence-immanuel-local:junk Create Both Expunge Both Channel mailfence-immanuel-archive -Master :mailfence-immanuel-remote:Archive -Slave :mailfence-immanuel-local:archive +Far :mailfence-immanuel-remote:Archive +Near :mailfence-immanuel-local:archive Create Both Expunge Both Channel mailfence-immanuel-junk -Master :mailfence-immanuel-remote:Trash -Slave :mailfence-immanuel-local:trash +Far :mailfence-immanuel-remote:Trash +Near :mailfence-immanuel-local:trash Create Both Expunge Both diff --git a/neomutt/neomuttrc b/neomutt/neomuttrc index 4b7a46b..07887d8 100644 --- a/neomutt/neomuttrc +++ b/neomutt/neomuttrc @@ -1,8 +1,8 @@ -# set mbox = ~/mail +# set mbox = ~/Mail set realname = "Immanuel Onyeka" -set folder = ~/mail +set folder = ~/Mail set mbox_type = Maildir -set mbox = ~/mail +set mbox = ~/Mail set spoolfile = "+personal/INBOX" set sidebar_visible set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S" @@ -49,7 +49,7 @@ set sort_re # Mailboxes to show in the sidebar. mailboxes =ALL-INBOX mailboxes =personal/INBOX =personal/archive =personal/sent =personal/drafts =personal/junk =personal/trash -mailboxes =work/"[Gmail]INBOX" =work/"[Gmail]/Spam" =work/"[Gmail]/Trash" =work/"[Gmail]/All Mail" =work/Reference +# mailboxes =work/"[Gmail]INBOX" =work/"[Gmail]/Spam" =work/"[Gmail]/Trash" =work/"[Gmail]/All Mail" =work/Reference # mailboxes =hussar # mailboxes =hussar/archive =hussar/sent =hussar/drafts =hussar/junk =hussar/trash # set sidebar_short_path diff --git a/xbindkeysrc b/xbindkeysrc index a3575e8..ff60541 100644 --- a/xbindkeysrc +++ b/xbindkeysrc @@ -22,3 +22,6 @@ "prompt search" Mod4 + r + +"prompt pick" + Mod4 + n