From be76c6db0ab38f4c8f3c4209a10b47087610f26f Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 29 Apr 2018 00:59:30 -0400 Subject: [PATCH] [rc/gtk,isync] migrate GTK and isync configs --- gtk/.config/gtk-3.0/settings.ini | 0 gtk/.gtkrc-2.0 | 5 - isync/.config/systemd/user/mbsync.service | 8 -- isync/.config/systemd/user/mbsync.timer | 10 -- isync/.mbsyncrc | 46 -------- rc.org | 123 ++++++++++++++++++++++ 6 files changed, 123 insertions(+), 69 deletions(-) delete mode 100644 gtk/.config/gtk-3.0/settings.ini delete mode 100644 gtk/.gtkrc-2.0 delete mode 100644 isync/.config/systemd/user/mbsync.service delete mode 100644 isync/.config/systemd/user/mbsync.timer delete mode 100644 isync/.mbsyncrc diff --git a/gtk/.config/gtk-3.0/settings.ini b/gtk/.config/gtk-3.0/settings.ini deleted file mode 100644 index e69de29..0000000 diff --git a/gtk/.gtkrc-2.0 b/gtk/.gtkrc-2.0 deleted file mode 100644 index 257919c..0000000 --- a/gtk/.gtkrc-2.0 +++ /dev/null @@ -1,5 +0,0 @@ -gtk-theme-name="Greybird" -gtk-icon-theme-name="Paper" -gtk-font-name="Ubuntu 10" -gtk-menu-images=0 -#gtk-key-theme-name = "Emacs" diff --git a/isync/.config/systemd/user/mbsync.service b/isync/.config/systemd/user/mbsync.service deleted file mode 100644 index e203ca6..0000000 --- a/isync/.config/systemd/user/mbsync.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=mbsync service - -[Service] -Type=oneshot -ExecStart=/usr/bin/mbsync -Va -StandardOutput=syslog -StandardError=syslog diff --git a/isync/.config/systemd/user/mbsync.timer b/isync/.config/systemd/user/mbsync.timer deleted file mode 100644 index bbb8115..0000000 --- a/isync/.config/systemd/user/mbsync.timer +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=mbsync timer - -[Timer] -OnCalendar=*:0/15 -Persistent=true -Unit=mbsync.service - -[Install] -WantedBy=timers.target diff --git a/isync/.mbsyncrc b/isync/.mbsyncrc deleted file mode 100644 index 4bc666d..0000000 --- a/isync/.mbsyncrc +++ /dev/null @@ -1,46 +0,0 @@ -# Global defaults -CopyArrivalDate yes - -###### -IMAPAccount amin -Host nix.aminb.org -User amin@aminb.org -PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/amin.gpg" -SSLType IMAPS - -IMAPStore amin-remote -Account amin - -MaildirStore amin-local -Path ~/mail/amin/ -Inbox ~/mail/amin/Inbox -SubFolders Verbatim - -Channel amin -Master :amin-remote: -Slave :amin-local: -Patterns * !dovecot* -Create Both -SyncState * - -###### -IMAPAccount uwaterloo -Host connect.uwaterloo.ca -User mbandali -PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/uwaterloo.gpg" -SSLType IMAPS - -IMAPStore uwaterloo-remote -Account uwaterloo - -MaildirStore uwaterloo-local -Path ~/mail/uwaterloo/ -Inbox ~/mail/uwaterloo/Inbox -SubFolders Verbatim - -Channel uwaterloo -Master :uwaterloo-remote: -Slave :uwaterloo-local: -Patterns * !dovecot* -Create Both -SyncState * diff --git a/rc.org b/rc.org index 6f76b90..97d7cc9 100644 --- a/rc.org +++ b/rc.org @@ -860,6 +860,129 @@ max-cache-ttl-ssh 10800 # pinentry-program /usr/bin/pinentry-qt #+end_src +** GTK + +*** gtk-2.0 +:PROPERTIES: +:header-args+: :tangle ~/.gtkrc-2.0 +:END: + +#+begin_src conf +gtk-theme-name="Greybird" +gtk-icon-theme-name="Paper" +gtk-font-name="Ubuntu 10" +gtk-menu-images=0 +# gtk-key-theme-name = "Emacs" +#+end_src + +*** gtk-3.0 +:PROPERTIES: +:header-args+: :tangle ~/.config/gtk-3.0/settings.ini +:END: + +#+begin_src conf :tangle no +[Settings] +gtk-icon-theme-name = Paper +# gtk-theme-name = Adwaita + +gtk-theme-name = Greybird +# gtk-theme-name = Arc-Darker +# gtk-theme-name = Numix-ArchBlue + +gtk-font-name = Ubuntu 10 +# gtk-key-theme-name = Emacs +#+end_src + +** isync + +*** mbsyncrc +:PROPERTIES: +:header-args+: :tangle ~/.mbsyncrc +:END: + +#+begin_src conf +# Global defaults +CopyArrivalDate yes + +###### +IMAPAccount amin +Host nix.aminb.org +User amin@aminb.org +PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/amin.gpg" +SSLType IMAPS + +IMAPStore amin-remote +Account amin + +MaildirStore amin-local +Path ~/mail/amin/ +Inbox ~/mail/amin/Inbox +SubFolders Verbatim + +Channel amin +Master :amin-remote: +Slave :amin-local: +Patterns * !dovecot* +Create Both +SyncState * + +###### +IMAPAccount uwaterloo +Host connect.uwaterloo.ca +User mbandali +PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/uwaterloo.gpg" +SSLType IMAPS + +IMAPStore uwaterloo-remote +Account uwaterloo + +MaildirStore uwaterloo-local +Path ~/mail/uwaterloo/ +Inbox ~/mail/uwaterloo/Inbox +SubFolders Verbatim + +Channel uwaterloo +Master :uwaterloo-remote: +Slave :uwaterloo-local: +Patterns * !dovecot* +Create Both +SyncState * +#+end_src + +*** mbsync.service +:PROPERTIES: +:header-args+: :tangle ~/.config/systemd/user/mbsync.service +:END: + +#+begin_src conf :tangle no +[Unit] +Description=mbsync service + +[Service] +Type=oneshot +ExecStart=/usr/bin/mbsync -Va +StandardOutput=syslog +StandardError=syslog +#+end_src + +*** mbsync.timer +:PROPERTIES: +:header-args+: :tangle ~/.config/systemd/user/mbsync.timer +:END: + +#+begin_src conf :tangle no +[Unit] +Description=mbsync timer + +[Timer] +OnCalendar=*:0/15 +Persistent=true +Unit=mbsync.service + +[Install] +WantedBy=timers.target +#+end_src + * Scripts This section contains various useful scripts and the ones used by the -- 2.20.1