~bandali/configs
5 years agobash: fix config in emacs’s ansi-term and GNU Screen
Amin Bandali [Sun, 12 May 2019 00:04:37 +0000 (20:04 -0400)]
bash: fix config in emacs’s ansi-term and GNU Screen

The issue seems to be that ~/.bash_profile isn’t sourced for
interactive non-login shells.  So, might want to try detecting
non-login shells in general rather than fixing only for ansi-term and
screen.

5 years agoscreen: add GNU Screen config
Amin Bandali [Sun, 12 May 2019 00:04:10 +0000 (20:04 -0400)]
screen: add GNU Screen config

5 years agotridactyl and shell: use emacs as default editor
Amin Bandali [Sat, 11 May 2019 13:24:43 +0000 (09:24 -0400)]
tridactyl and shell: use emacs as default editor

5 years agoisync: move mbsyncrc to $XDG_CONFIG_HOME/isync
Amin Bandali [Sat, 11 May 2019 00:00:34 +0000 (20:00 -0400)]
isync: move mbsyncrc to $XDG_CONFIG_HOME/isync

5 years agolatexmk: move config to $XDG_CONFIG_HOME/latexmk
Amin Bandali [Fri, 10 May 2019 23:32:09 +0000 (19:32 -0400)]
latexmk: move config to $XDG_CONFIG_HOME/latexmk

may need a recent version: https://tex.stackexchange.com/a/123438

5 years agogit: move mailmap to ~/.config/git
Amin Bandali [Fri, 10 May 2019 23:29:43 +0000 (19:29 -0400)]
git: move mailmap to ~/.config/git

5 years agoreadline: move inputrc to $XDG_CONFIG_HOME/readline
Amin Bandali [Fri, 10 May 2019 23:20:52 +0000 (19:20 -0400)]
readline: move inputrc to $XDG_CONFIG_HOME/readline

5 years agomsmtp: move config to $XDG_CONFIG_HOME/msmtp
Amin Bandali [Fri, 10 May 2019 23:20:29 +0000 (19:20 -0400)]
msmtp: move config to $XDG_CONFIG_HOME/msmtp

5 years agogit: move global config and ignore to $XDG_CONFIG_HOME/git
Amin Bandali [Fri, 10 May 2019 23:09:15 +0000 (19:09 -0400)]
git: move global config and ignore to $XDG_CONFIG_HOME/git

5 years agogit: use tabs in ~/.gitconfig, also don’t use short status
Amin Bandali [Fri, 10 May 2019 22:58:52 +0000 (18:58 -0400)]
git: use tabs in ~/.gitconfig, also don’t use short status

5 years agombsync: update usernames accordingly
Amin Bandali [Fri, 10 May 2019 20:36:20 +0000 (16:36 -0400)]
mbsync: update usernames accordingly

5 years agoemacs: use .local tld for dovecot usernames for more clarity
Amin Bandali [Fri, 10 May 2019 20:17:12 +0000 (16:17 -0400)]
emacs: use .local tld for dovecot usernames for more clarity

also use shorter machine names for uwaterloo and csclub accounts

5 years agoemacs: add a few useful counsel-related keybindings
Amin Bandali [Fri, 10 May 2019 20:15:43 +0000 (16:15 -0400)]
emacs: add a few useful counsel-related keybindings

5 years agoemacs: delete init.org
Amin Bandali [Fri, 10 May 2019 05:59:46 +0000 (01:59 -0400)]
emacs: delete init.org

5 years agoemacs: divide init.el up into sections and add commentary
Amin Bandali [Fri, 10 May 2019 05:31:49 +0000 (01:31 -0400)]
emacs: divide init.el up into sections and add commentary

5 years agoemacs: add comment macro
Amin Bandali [Fri, 10 May 2019 04:25:12 +0000 (00:25 -0400)]
emacs: add comment macro

5 years agoemacs: remove everything related to byte-compiling init file
Amin Bandali [Fri, 10 May 2019 04:19:39 +0000 (00:19 -0400)]
emacs: remove everything related to byte-compiling init file

5 years agoemacs: slight init.el tweaks
Amin Bandali [Fri, 10 May 2019 04:12:51 +0000 (00:12 -0400)]
emacs: slight init.el tweaks

5 years agoemacs: add {early-,}init.el, as exported from init.org
Amin Bandali [Fri, 10 May 2019 04:07:31 +0000 (00:07 -0400)]
emacs: add {early-,}init.el, as exported from init.org

in preparation for moving to a regular non-literate config

5 years agoemacs: update org and swiper
Amin Bandali [Fri, 10 May 2019 04:06:59 +0000 (00:06 -0400)]
emacs: update org and swiper

5 years agoemacs: use ox-extra
Amin Bandali [Fri, 10 May 2019 04:00:19 +0000 (00:00 -0400)]
emacs: use ox-extra

5 years agoemacs: use ivy’s virtual buffers
Amin Bandali [Fri, 10 May 2019 03:59:40 +0000 (23:59 -0400)]
emacs: use ivy’s virtual buffers

5 years agoemacs: exclude gnus’s home dir from recentf
Amin Bandali [Fri, 10 May 2019 03:57:23 +0000 (23:57 -0400)]
emacs: exclude gnus’s home dir from recentf

5 years agoemacs: exclude straight.el’s build dir from recentf
Amin Bandali [Fri, 10 May 2019 03:57:03 +0000 (23:57 -0400)]
emacs: exclude straight.el’s build dir from recentf

5 years agoemacs: briefly try out helm and auctex
Amin Bandali [Fri, 10 May 2019 03:56:16 +0000 (23:56 -0400)]
emacs: briefly try out helm and auctex

leave the configs in init for now (commented out)

5 years agoemacs: add emacs-slack (temporary) and update swiper
Amin Bandali [Thu, 9 May 2019 15:40:20 +0000 (11:40 -0400)]
emacs: add emacs-slack (temporary) and update swiper

5 years agoemacs: don’t byte-compile init
Amin Bandali [Thu, 9 May 2019 15:35:52 +0000 (11:35 -0400)]
emacs: don’t byte-compile init

going to try a non-byte-compiled init for a while; esp. now that on
emacs master i get a segfault:

-*- mode: compilation; default-directory: "~/.emacs.d/" -*-
Compilation started at Thu May  9 11:38:40

make build-init
Loading Emacs...done (0.004s)
Loading /home/amin/.emacs.d/etc/custom.el (source)...
Loading /home/amin/.emacs.d/etc/secrets...
Fatal error 11: Segmentation fault
Backtrace:
emacs(+0x132cdf)[0x55c6bd232cdf]
emacs(+0x3acdf)[0x55c6bd13acdf]
emacs(+0x3b133)[0x55c6bd13b133]
emacs(+0x131339)[0x55c6bd231339]
emacs(+0x1313ba)[0x55c6bd2313ba]
/usr/lib/libpthread.so.0(+0x124d0)[0x7f6e6c4f34d0]
/bin/sh: line 1: 28103 Segmentation fault      (core dumped) emacs -Q --batch -l init.el --eval '(a/build-init)' 2>&1
make: *** [Makefile:11: build-init] Error 139

Compilation exited abnormally with code 2 at Thu May  9 11:38:42

5 years agosway: move monitor to the right, and some other minor tweaks
Amin Bandali [Thu, 9 May 2019 12:46:01 +0000 (08:46 -0400)]
sway: move monitor to the right, and some other minor tweaks

5 years agoemacs: don’t use my custom message-cite-ctyle
Amin Bandali [Thu, 9 May 2019 12:44:38 +0000 (08:44 -0400)]
emacs: don’t use my custom message-cite-ctyle

to help me avoid top-posting when replying

5 years agoemacs: update packages
Amin Bandali [Sun, 5 May 2019 03:12:03 +0000 (23:12 -0400)]
emacs: update packages

5 years agotridactyl: a few more bindings and tweaks
Amin Bandali [Mon, 29 Apr 2019 15:16:47 +0000 (11:16 -0400)]
tridactyl: a few more bindings and tweaks

5 years agosway: fix light minimum brightness setting
Amin Bandali [Mon, 29 Apr 2019 15:16:28 +0000 (11:16 -0400)]
sway: fix light minimum brightness setting

5 years agoemacs: add tex filter-group for ibuffer
Amin Bandali [Mon, 29 Apr 2019 15:15:57 +0000 (11:15 -0400)]
emacs: add tex filter-group for ibuffer

5 years agoemacs: update packages
Amin Bandali [Mon, 29 Apr 2019 15:15:48 +0000 (11:15 -0400)]
emacs: update packages

5 years agoemacs: custom-file updates
Amin Bandali [Mon, 29 Apr 2019 15:15:32 +0000 (11:15 -0400)]
emacs: custom-file updates

5 years agoemacs: custom-file updates
Amin Bandali [Sat, 27 Apr 2019 00:50:48 +0000 (20:50 -0400)]
emacs: custom-file updates

5 years agoemacs: add org-ref and deps
Amin Bandali [Sat, 27 Apr 2019 00:50:30 +0000 (20:50 -0400)]
emacs: add org-ref and deps

5 years agoemacs: update packages
Amin Bandali [Sat, 27 Apr 2019 00:50:00 +0000 (20:50 -0400)]
emacs: update packages

5 years agoemacs: classify alloy-mode buffers under ‘programming’ in ibuffer
Amin Bandali [Fri, 26 Apr 2019 00:37:48 +0000 (20:37 -0400)]
emacs: classify alloy-mode buffers under ‘programming’ in ibuffer

5 years agoemacs: try out swiper-isearch for a while
Amin Bandali [Fri, 26 Apr 2019 00:37:01 +0000 (20:37 -0400)]
emacs: try out swiper-isearch for a while

https://oremacs.com/2019/04/07/swiper-isearch/

5 years agoemacs: update packages
Amin Bandali [Fri, 26 Apr 2019 00:36:32 +0000 (20:36 -0400)]
emacs: update packages

5 years agoemacs: update emacs-doom-themes, add forgotten debbugs & soap-client
Amin Bandali [Wed, 24 Apr 2019 06:11:09 +0000 (02:11 -0400)]
emacs: update emacs-doom-themes, add forgotten debbugs & soap-client

forgot to run straight-freeze-versions after installing debbugs

5 years agotridactyl: free up C-d and C-u, search through bookmarks with O
Amin Bandali [Wed, 24 Apr 2019 05:00:39 +0000 (01:00 -0400)]
tridactyl: free up C-d and C-u, search through bookmarks with O

5 years agotridactyl: add config
Amin Bandali [Wed, 24 Apr 2019 04:38:25 +0000 (00:38 -0400)]
tridactyl: add config

5 years agoemacs: add debbugs
Amin Bandali [Tue, 23 Apr 2019 23:42:47 +0000 (19:42 -0400)]
emacs: add debbugs

5 years agosway: add binding for focusing child container
Amin Bandali [Tue, 23 Apr 2019 19:07:45 +0000 (15:07 -0400)]
sway: add binding for focusing child container

5 years agomsmtp: update mail’s fingerprint
Amin Bandali [Tue, 23 Apr 2019 19:07:28 +0000 (15:07 -0400)]
msmtp: update mail’s fingerprint

5 years agoemacs: update packages
Amin Bandali [Tue, 23 Apr 2019 19:06:44 +0000 (15:06 -0400)]
emacs: update packages

5 years agoemacs: update magit-repository-directories
Amin Bandali [Sun, 21 Apr 2019 19:24:11 +0000 (15:24 -0400)]
emacs: update magit-repository-directories

dotfiles repo now resides at ~/ rather than ~/.emacs.d/

5 years agoemacs: update packages
Amin Bandali [Sun, 21 Apr 2019 19:23:48 +0000 (15:23 -0400)]
emacs: update packages

5 years agosway: add launch mode
Amin Bandali [Fri, 19 Apr 2019 03:45:02 +0000 (23:45 -0400)]
sway: add launch mode

5 years agosway: putting monitor to the left of my laptop
Amin Bandali [Fri, 19 Apr 2019 03:44:09 +0000 (23:44 -0400)]
sway: putting monitor to the left of my laptop

5 years agoemacs: add M-RET binding in DocView for scrolling up
Amin Bandali [Thu, 18 Apr 2019 23:26:25 +0000 (19:26 -0400)]
emacs: add M-RET binding in DocView for scrolling up

just like in Gnus

5 years agoemacs: update packages
Amin Bandali [Thu, 18 Apr 2019 23:26:04 +0000 (19:26 -0400)]
emacs: update packages

5 years agoemacs: update packages
Amin Bandali [Wed, 17 Apr 2019 03:52:56 +0000 (23:52 -0400)]
emacs: update packages

5 years agomsmtp: update fencepost’s fingerprint
Amin Bandali [Wed, 17 Apr 2019 03:52:28 +0000 (23:52 -0400)]
msmtp: update fencepost’s fingerprint

5 years agoemacs: update packages
Amin Bandali [Tue, 16 Apr 2019 03:38:36 +0000 (23:38 -0400)]
emacs: update packages

5 years agobash: aur(): only try cloning if it doesn’t already exist
Amin Bandali [Sun, 14 Apr 2019 20:56:05 +0000 (16:56 -0400)]
bash: aur(): only try cloning if it doesn’t already exist

5 years agobash: set prompt earlier
Amin Bandali [Sun, 14 Apr 2019 20:53:58 +0000 (16:53 -0400)]
bash: set prompt earlier

5 years agobash: start ssh-agent if not running
Amin Bandali [Sun, 14 Apr 2019 20:52:36 +0000 (16:52 -0400)]
bash: start ssh-agent if not running

5 years agoemacs: remove unused abbrev entries
Amin Bandali [Sun, 14 Apr 2019 20:30:50 +0000 (16:30 -0400)]
emacs: remove unused abbrev entries

5 years agoemacs: update packages
Amin Bandali [Sun, 14 Apr 2019 20:29:35 +0000 (16:29 -0400)]
emacs: update packages

5 years agoemacs: update eshell prompt to match my bash prompt
Amin Bandali [Sun, 14 Apr 2019 20:01:36 +0000 (16:01 -0400)]
emacs: update eshell prompt to match my bash prompt

5 years agobash: various tweaks
Amin Bandali [Sun, 14 Apr 2019 19:36:58 +0000 (15:36 -0400)]
bash: various tweaks

- new include helper for checking if arg is a regular and readable
  file, then sourcing it
- set VISUAL editor
- fix prompt to show an additional character when abbreviated folder’s
  name starts with a dot

5 years agoxdg: lower case public and template dirs
Amin Bandali [Sun, 14 Apr 2019 19:12:57 +0000 (15:12 -0400)]
xdg: lower case public and template dirs

5 years agoreadline: various tweaks
Amin Bandali [Sun, 14 Apr 2019 05:34:18 +0000 (01:34 -0400)]
readline: various tweaks

5 years agoreadline: add .inputrc
Amin Bandali [Sun, 14 Apr 2019 05:16:54 +0000 (01:16 -0400)]
readline: add .inputrc

5 years agobash: history-related tweaks
Amin Bandali [Sun, 14 Apr 2019 05:15:57 +0000 (01:15 -0400)]
bash: history-related tweaks

5 years agorc.org: remove zsh config
Amin Bandali [Sun, 14 Apr 2019 04:54:07 +0000 (00:54 -0400)]
rc.org: remove zsh config

after many years, i’m getting back into bash

5 years agobash: fish-like prompt
Amin Bandali [Sun, 14 Apr 2019 04:52:31 +0000 (00:52 -0400)]
bash: fish-like prompt

5 years agobash: bring over some aliases and customizations from .zshrc
Amin Bandali [Sun, 14 Apr 2019 04:51:50 +0000 (00:51 -0400)]
bash: bring over some aliases and customizations from .zshrc

5 years agobash: add .bash_profile and .bashrc
Amin Bandali [Sun, 14 Apr 2019 04:29:02 +0000 (00:29 -0400)]
bash: add .bash_profile and .bashrc

5 years agosway: switch back to urxvt
Amin Bandali [Sun, 14 Apr 2019 04:27:47 +0000 (00:27 -0400)]
sway: switch back to urxvt

5 years agoalacritty: remove
Amin Bandali [Sun, 14 Apr 2019 04:24:54 +0000 (00:24 -0400)]
alacritty: remove

i find i like urxvt better, at least for now

5 years agoshell: clean up old cruft
Amin Bandali [Sun, 14 Apr 2019 04:21:05 +0000 (00:21 -0400)]
shell: clean up old cruft

5 years agoshell: add .profile (based on .zprofile)
Amin Bandali [Sun, 14 Apr 2019 04:17:24 +0000 (00:17 -0400)]
shell: add .profile (based on .zprofile)

5 years agogit: ignore everything
Amin Bandali [Sun, 14 Apr 2019 01:50:20 +0000 (21:50 -0400)]
git: ignore everything

to help make it safer to use this repo at ~/

caveat: have to force add untracked files

5 years agoemacs: move configuration to .emacs.d
Amin Bandali [Sat, 13 Apr 2019 23:26:19 +0000 (19:26 -0400)]
emacs: move configuration to .emacs.d

5 years agoalacritty: change dimensions and font family and size
Amin Bandali [Sat, 13 Apr 2019 13:14:53 +0000 (09:14 -0400)]
alacritty: change dimensions and font family and size

5 years agoalacritty: add stock config
Amin Bandali [Sat, 13 Apr 2019 13:07:46 +0000 (09:07 -0400)]
alacritty: add stock config

5 years agodelete the long-obsolete README.org
Amin Bandali [Sat, 13 Apr 2019 04:47:36 +0000 (00:47 -0400)]
delete the long-obsolete README.org

May or may not rewrite it some day.  For now, see the comments in each
file, the git log, and also the various lightweight git tags pointing
to snapshots in time before each time this repo underwent drastic
changes.

5 years agoscripts: pull current scripts out of rc.org & clean up
Amin Bandali [Sat, 13 Apr 2019 03:39:24 +0000 (23:39 -0400)]
scripts: pull current scripts out of rc.org & clean up

battery-percentage-time: pull out of rc.org scripts
my-i3status: pull out of rc.org
rofi-light: pull out of rc.org
rofi-remmina: pull out of rc.org
s: pull out of rc.org
sway-ws-util: pull out of rc.org
toggle-presentation-mode: pull out of rc.org
toggle-tablet: pull out of rc.org
volume-info: pull out of rc.org
zathura-sync: pull out of rc.org
remove Scripts

5 years agoconfigs: pull current configs out of rc.org & clean up
Amin Bandali [Sat, 13 Apr 2019 03:19:09 +0000 (23:19 -0400)]
configs: pull current configs out of rc.org & clean up

fontconfig: pull out of rc.org
getmail: pull out of rc.org
gnupg: pull out of rc.org
git: pull out of rc.org
i3status: pull out of rc.org
latexmk: pull out of rc.org
mbsync: pull out of rc.org
msmtp: pull out of rc.org
rofi{,-pass}: pull out of rc.org
sway{,lock}: pull out of rc.org
xdg: pull out of rc.org
xresources: pull out of rc.org
zathura: pull out of rc.org
{compton,dunst,notmuch}: remove configs
{toggle-layout,unlock-def-gk.py,wp,Fun}: remove scripts

5 years ago[emacs/org] (arguably) more convenient s-T binding for org-todo
Amin Bandali [Fri, 12 Apr 2019 23:21:45 +0000 (19:21 -0400)]
[emacs/org] (arguably) more convenient s-T binding for org-todo

5 years ago[emacs] use alloy-mode for als files
Amin Bandali [Fri, 12 Apr 2019 23:21:30 +0000 (19:21 -0400)]
[emacs] use alloy-mode for als files

5 years ago[emacs] disable orgalist for the time being
Amin Bandali [Fri, 12 Apr 2019 23:18:49 +0000 (19:18 -0400)]
[emacs] disable orgalist for the time being

Interacts badly with a recent change in text-mode on emacs master.
See [1] for bug report with more info.

[1]: https://lists.gnu.org/r/emacs-orgmode/2019-04/msg00007.html

5 years ago[emacs] update packages
Amin Bandali [Fri, 12 Apr 2019 23:18:30 +0000 (19:18 -0400)]
[emacs] update packages

5 years ago[emacs] update magit
Amin Bandali [Fri, 12 Apr 2019 03:56:38 +0000 (23:56 -0400)]
[emacs] update magit

5 years ago[emacs] update packages
Amin Bandali [Thu, 11 Apr 2019 19:03:27 +0000 (15:03 -0400)]
[emacs] update packages

5 years ago[emacs] add a/reload-init function for reloading the right init file
Amin Bandali [Thu, 11 Apr 2019 15:00:46 +0000 (11:00 -0400)]
[emacs] add a/reload-init function for reloading the right init file

Based on radian-reload-init:
https://github.com/raxod502/straight.el/tree/aa2f612546815167f87dda835f8efaabf1264c7f#the-transaction-system

5 years ago[emacs] update packages
Amin Bandali [Tue, 9 Apr 2019 22:37:30 +0000 (18:37 -0400)]
[emacs] update packages

5 years ago[emacs/gnus][wip] initial mailing list config
Amin Bandali [Sun, 7 Apr 2019 13:28:34 +0000 (09:28 -0400)]
[emacs/gnus][wip] initial mailing list config

5 years ago[emacs/gnus-msg] tweak posting styles
Amin Bandali [Sun, 7 Apr 2019 13:27:29 +0000 (09:27 -0400)]
[emacs/gnus-msg] tweak posting styles

5 years ago[emacs] update packages
Amin Bandali [Sun, 7 Apr 2019 13:27:09 +0000 (09:27 -0400)]
[emacs] update packages

5 years ago[rc/sway] various tweaks
Amin Bandali [Fri, 5 Apr 2019 23:02:10 +0000 (19:02 -0400)]
[rc/sway] various tweaks

change term to alacritty, tweak colors, set default_border

5 years ago[rc/i3status] some tweaks
Amin Bandali [Fri, 5 Apr 2019 23:01:36 +0000 (19:01 -0400)]
[rc/i3status] some tweaks

5 years ago[rc/sway] config for new u2518d monitor
Amin Bandali [Thu, 4 Apr 2019 23:10:16 +0000 (19:10 -0400)]
[rc/sway] config for new u2518d monitor

above and center of my laptop screen

5 years ago[emacs] update packages
Amin Bandali [Thu, 4 Apr 2019 23:10:06 +0000 (19:10 -0400)]
[emacs] update packages

5 years ago[emacs/gnus] remove gnus-{art,sum} rebindings of r and R
Amin Bandali [Mon, 1 Apr 2019 18:36:34 +0000 (14:36 -0400)]
[emacs/gnus] remove gnus-{art,sum} rebindings of r and R

Don’t override binding of r and R in gnus-{article,summary}-mode-map.
When needed, I now use S L and S w for replying to lists and reply all
respectively.

5 years ago[emacs/org] add org-agenda settings and (tentative?) binding
Amin Bandali [Mon, 1 Apr 2019 18:34:05 +0000 (14:34 -0400)]
[emacs/org] add org-agenda settings and (tentative?) binding

C-c a o a is a bit awkward to type.