~bandali/configs
5 years agoupdate my uwaterloo address
Amin Bandali [Thu, 12 Sep 2019 03:45:03 +0000 (23:45 -0400)]
update my uwaterloo address

5 years agoemacs: add org-pdftools
Amin Bandali [Thu, 12 Sep 2019 03:44:46 +0000 (23:44 -0400)]
emacs: add org-pdftools

for linking to pdf files (and pages) in org

5 years agoemacs: add george-mode hash
Amin Bandali [Thu, 12 Sep 2019 03:38:28 +0000 (23:38 -0400)]
emacs: add george-mode hash

5 years agoemacs: update packages
Amin Bandali [Thu, 12 Sep 2019 03:38:05 +0000 (23:38 -0400)]
emacs: update packages

5 years agoemacs: gnus: update lists.sr.ht mail splitting regexp
Amin Bandali [Tue, 10 Sep 2019 14:00:16 +0000 (10:00 -0400)]
emacs: gnus: update lists.sr.ht mail splitting regexp

[PATCH lists.sr.ht] Fix syntax of List-ID header (RFC 2919):
https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/7995

5 years agoemacs: add george-mode
Amin Bandali [Tue, 10 Sep 2019 03:19:25 +0000 (23:19 -0400)]
emacs: add george-mode

5 years agoemacs: exwm: tweak simulation keys
Amin Bandali [Tue, 10 Sep 2019 02:29:53 +0000 (22:29 -0400)]
emacs: exwm: tweak simulation keys

5 years agoemacs: exwm: improve close/quit -related bindings
Amin Bandali [Mon, 9 Sep 2019 03:26:39 +0000 (23:26 -0400)]
emacs: exwm: improve close/quit -related bindings

5 years agoemacs: exwm: fix s-N workspace switching bindings
Amin Bandali [Mon, 9 Sep 2019 03:25:59 +0000 (23:25 -0400)]
emacs: exwm: fix s-N workspace switching bindings

5 years agocompton: make fades more noticeable
Amin Bandali [Mon, 9 Sep 2019 03:25:22 +0000 (23:25 -0400)]
compton: make fades more noticeable

5 years agoemacs: update packages, use dmenu for s-SPC
Amin Bandali [Sun, 8 Sep 2019 13:45:47 +0000 (09:45 -0400)]
emacs: update packages, use dmenu for s-SPC

and move what was previously bound to s-SPC to S-s-SPC

5 years agocompton: tweak shadow and fade
Amin Bandali [Sun, 8 Sep 2019 13:18:29 +0000 (09:18 -0400)]
compton: tweak shadow and fade

5 years agoemacs,shell: back to tango(mod) and doom-one
Amin Bandali [Sun, 8 Sep 2019 13:18:13 +0000 (09:18 -0400)]
emacs,shell: back to tango(mod) and doom-one

5 years agogtk2,gtk3: add config
Amin Bandali [Sat, 7 Sep 2019 05:23:06 +0000 (01:23 -0400)]
gtk2,gtk3: add config

5 years agoemacs: exwm: add convenient prev/next buffer switching bindings
Amin Bandali [Sat, 7 Sep 2019 05:06:35 +0000 (01:06 -0400)]
emacs: exwm: add convenient prev/next buffer switching bindings

5 years agocompton: tweak config a bit
Amin Bandali [Sat, 7 Sep 2019 05:04:50 +0000 (01:04 -0400)]
compton: tweak config a bit

make fades faster, also using glx seems to better get rid of tearing
while scrolling (better vsync?)

5 years agocompton: add
Amin Bandali [Sat, 7 Sep 2019 05:01:56 +0000 (01:01 -0400)]
compton: add

https://github.com/yshui/compton
02139b7c9f8aa6181686edacd3f11c1f37f80693

sudo apt install libxext-dev libxcb1-dev libxcb-damage0-dev
libxcb-xfixes0-dev libxcb-shape0-dev libxcb-render-util0-dev
libxcb-render0-dev libxcb-randr0-dev libxcb-composite0-dev
libxcb-image0-dev libxcb-present-dev libxcb-xinerama0-dev
libpixman-1-dev libdbus-1-dev libconfig-dev libxdg-basedir-dev
libgl1-mesa-dev libpcre2-dev libevdev-dev uthash-dev libevdev2 cmake

meson --prefix=/data/bandali/usr/local --buildtype=release . build
ninja -C build
ninja -C build install

5 years agorofi,rofi-pass: add back configs for now
Amin Bandali [Sat, 7 Sep 2019 03:33:31 +0000 (23:33 -0400)]
rofi,rofi-pass: add back configs for now

until i get around to implementing an autotype functionality from
within emacs (using xdotool, of course)

5 years agoemacs: exwm: add bindings for switching, swapping, resizing windows
Amin Bandali [Sat, 7 Sep 2019 03:19:59 +0000 (23:19 -0400)]
emacs: exwm: add bindings for switching, swapping, resizing windows

5 years agoemacs: erc: make erc-track info visible when using minions
Amin Bandali [Sat, 7 Sep 2019 03:18:50 +0000 (23:18 -0400)]
emacs: erc: make erc-track info visible when using minions

5 years agourxvt: use solarized light
Amin Bandali [Sat, 7 Sep 2019 01:22:49 +0000 (21:22 -0400)]
urxvt: use solarized light

5 years agoemacs: take solarized for a spin
Amin Bandali [Sat, 7 Sep 2019 01:06:50 +0000 (21:06 -0400)]
emacs: take solarized for a spin

been so long :)

5 years agoemacs: update straight.el’s version file
Amin Bandali [Sat, 7 Sep 2019 00:33:09 +0000 (20:33 -0400)]
emacs: update straight.el’s version file

5 years agoemacs: add exwm-edit
Amin Bandali [Sat, 7 Sep 2019 00:30:09 +0000 (20:30 -0400)]
emacs: add exwm-edit

5 years agoemacs: exwm: add smooth-scrolling with C-p and C-n when in zathura
Amin Bandali [Fri, 6 Sep 2019 22:06:55 +0000 (18:06 -0400)]
emacs: exwm: add smooth-scrolling with C-p and C-n when in zathura

5 years agoemacs: erc: remove my temporary fix for erc-lurker
Amin Bandali [Fri, 6 Sep 2019 19:32:21 +0000 (15:32 -0400)]
emacs: erc: remove my temporary fix for erc-lurker

my patch landed on master yesterday:
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=ff0f4c731231b03d73cc35de9e042d1fc1b75f4e

i’m currently back on emacs master so i don’t see any reasons for
keeping this around anymore.

5 years agoemacs,shell: start xfce4-notifyd until i fix eosd’s build
Amin Bandali [Fri, 6 Sep 2019 19:30:22 +0000 (15:30 -0400)]
emacs,shell: start xfce4-notifyd until i fix eosd’s build

5 years agoemacs: exwm: add C-c C-c and C-c C-u simulation keys for urxvt
Amin Bandali [Fri, 6 Sep 2019 19:29:59 +0000 (15:29 -0400)]
emacs: exwm: add C-c C-c and C-c C-u simulation keys for urxvt

5 years agoRevert "shell: add ~/.Xmodmap file"
Amin Bandali [Fri, 6 Sep 2019 17:54:50 +0000 (13:54 -0400)]
Revert "shell: add ~/.Xmodmap file"

This reverts commit cf88804f394b5489ff6e743a2d7eb7ffd5647f01.

5 years agoshell: add ~/.Xmodmap file
Amin Bandali [Fri, 6 Sep 2019 17:52:04 +0000 (13:52 -0400)]
shell: add ~/.Xmodmap file

5 years agoemacs: better simulation keys for abrowser, fix s-N bindings
Amin Bandali [Fri, 6 Sep 2019 17:50:50 +0000 (13:50 -0400)]
emacs: better simulation keys for abrowser, fix s-N bindings

5 years agoexwm: add local simulation keys for urxvt and abrowser
Amin Bandali [Fri, 6 Sep 2019 17:22:45 +0000 (13:22 -0400)]
exwm: add local simulation keys for urxvt and abrowser

note: it seems that some composite keys (e.g. C-S-w) don’t work when
pressing the caps that was remapped to ctrl using setxkbmap or xmodmap

5 years agoemacs: refresh exwm systemtray after changing theme
Amin Bandali [Fri, 6 Sep 2019 16:15:10 +0000 (12:15 -0400)]
emacs: refresh exwm systemtray after changing theme

(to have the tray’s background colour match the theme’s)

5 years agoemacs: try out dmenu, report some bugs
Amin Bandali [Fri, 6 Sep 2019 16:13:21 +0000 (12:13 -0400)]
emacs: try out dmenu, report some bugs

- Duplicated entries:
  https://github.com/lujun9972/el-dmenu/issues/7

- Be smarter about saving history
  https://github.com/lujun9972/el-dmenu/issues/8

TODO: remove setting dmenu-history-size to 0 once the bug is fixed

5 years agoemacs: revamp/rearrange exwm config
Amin Bandali [Fri, 6 Sep 2019 16:12:48 +0000 (12:12 -0400)]
emacs: revamp/rearrange exwm config

5 years agoshell: tweak X settings, add ~/.xsession for starting emacs (exwm)
Amin Bandali [Fri, 6 Sep 2019 16:10:01 +0000 (12:10 -0400)]
shell: tweak X settings, add ~/.xsession for starting emacs (exwm)

- set cursor from the default ugly “x” to a left pointer
- disable bell
- remove annoying one pixel border around emacs (using ‘-ib 0’)

5 years agoemacs: ebdb: use :demand instead of require, disable mua popup
Amin Bandali [Fri, 6 Sep 2019 16:07:55 +0000 (12:07 -0400)]
emacs: ebdb: use :demand instead of require, disable mua popup

5 years agoemacs: remove delight and simply use minions
Amin Bandali [Thu, 5 Sep 2019 23:47:34 +0000 (19:47 -0400)]
emacs: remove delight and simply use minions

5 years agoemacs: exwm: rearrange and enable some bindings
Amin Bandali [Thu, 5 Sep 2019 20:24:20 +0000 (16:24 -0400)]
emacs: exwm: rearrange and enable some bindings

5 years agoemacs: various exwm tweaks
Amin Bandali [Thu, 5 Sep 2019 20:20:13 +0000 (16:20 -0400)]
emacs: various exwm tweaks

TODO: fix/improve key bindings

5 years agourxvt: small tweaks; most importantly, don’t run as login shell
Amin Bandali [Thu, 5 Sep 2019 19:26:26 +0000 (15:26 -0400)]
urxvt: small tweaks; most importantly, don’t run as login shell

5 years agoemacs: :demand time and battery
Amin Bandali [Thu, 5 Sep 2019 17:09:44 +0000 (13:09 -0400)]
emacs: :demand time and battery

5 years agoemacs: exwm: don’t hardcode 10 for s-N bindings, use # of workspaces
Amin Bandali [Thu, 5 Sep 2019 16:05:03 +0000 (12:05 -0400)]
emacs: exwm: don’t hardcode 10 for s-N bindings, use # of workspaces

5 years agoemacs: ibuffer: show longer buffer names, add exwm filter group
Amin Bandali [Thu, 5 Sep 2019 16:04:23 +0000 (12:04 -0400)]
emacs: ibuffer: show longer buffer names, add exwm filter group

5 years agoemacs: battery: remove %b, sml uses colour codes to differentiate
Amin Bandali [Thu, 5 Sep 2019 16:03:24 +0000 (12:03 -0400)]
emacs: battery: remove %b, sml uses colour codes to differentiate

5 years agoemacs: display time and battery in mode-line
Amin Bandali [Thu, 5 Sep 2019 13:30:33 +0000 (09:30 -0400)]
emacs: display time and battery in mode-line

5 years agoswitch to exwm
Amin Bandali [Thu, 5 Sep 2019 12:30:15 +0000 (08:30 -0400)]
switch to exwm

5 years agoemacs: magit: set magit-diff-refine-hunk
Amin Bandali [Thu, 5 Sep 2019 12:29:39 +0000 (08:29 -0400)]
emacs: magit: set magit-diff-refine-hunk

5 years agoemacs: untabify init.el
Amin Bandali [Thu, 5 Sep 2019 03:21:31 +0000 (23:21 -0400)]
emacs: untabify init.el

5 years agoemacs: update packages, experiment with doom-modeline a bit
Amin Bandali [Thu, 5 Sep 2019 01:17:12 +0000 (21:17 -0400)]
emacs: update packages, experiment with doom-modeline a bit

also disable multi-term (haven’t really been using it)

5 years agoemacs: improve init-related messages
Amin Bandali [Tue, 3 Sep 2019 16:28:47 +0000 (12:28 -0400)]
emacs: improve init-related messages

5 years agoemacs: fix overlapping crux and counsel bindings
Amin Bandali [Tue, 3 Sep 2019 16:09:52 +0000 (12:09 -0400)]
emacs: fix overlapping crux and counsel bindings

5 years agoemacs: improve tex-mode list workflows
Amin Bandali [Tue, 3 Sep 2019 16:07:06 +0000 (12:07 -0400)]
emacs: improve tex-mode list workflows

type ‘o’ followed by space for enumerate (ordered list), and ‘u’
folloewd by space for itemize (unordered list); insert new \item with
M-RET

5 years agoemacs: update packages
Amin Bandali [Tue, 3 Sep 2019 16:06:50 +0000 (12:06 -0400)]
emacs: update packages

5 years agoemacs: remove newlines around message-elide-ellipsis’s [...]
Amin Bandali [Tue, 3 Sep 2019 02:36:45 +0000 (22:36 -0400)]
emacs: remove newlines around message-elide-ellipsis’s [...]

5 years agoemacs: customize mm-uu-diff-groups-regexp for diff highlighting
Amin Bandali [Tue, 3 Sep 2019 01:31:30 +0000 (21:31 -0400)]
emacs: customize mm-uu-diff-groups-regexp for diff highlighting

i had stumbled upon this by accident a while ago, while using the
gnu.* prefix for my group names

5 years agoemacs: add note for gnus-article-treat-patch and white backgrounds
Amin Bandali [Tue, 3 Sep 2019 01:31:26 +0000 (21:31 -0400)]
emacs: add note for gnus-article-treat-patch and white backgrounds

5 years agoemacs: add back my last exwm config, disabled for now
Amin Bandali [Tue, 3 Sep 2019 00:47:49 +0000 (20:47 -0400)]
emacs: add back my last exwm config, disabled for now

5 years agoemacs: don’t set initial-major-mode to text-mode
Amin Bandali [Tue, 3 Sep 2019 00:46:35 +0000 (20:46 -0400)]
emacs: don’t set initial-major-mode to text-mode

lisp-interaction-mode is fine.  i do recall, however, that at some
point *scratch* used fundamental-mode though; not sure.

5 years agognus-article-treat-patch.el: update from upstream
Amin Bandali [Mon, 2 Sep 2019 05:15:38 +0000 (01:15 -0400)]
gnus-article-treat-patch.el: update from upstream

Frank kindly added a license header so we all could use
gnus-article-treat-patch.el in freedom :)

https://www.0x50.de/fterbeck/emacs/commit/1f96ab989980287bd2c5e8b02e1a2be57dcef7de

5 years agoemacs: update packages
Amin Bandali [Mon, 2 Sep 2019 05:12:37 +0000 (01:12 -0400)]
emacs: update packages

5 years agozathura: tweak some settings and bindings
Amin Bandali [Mon, 2 Sep 2019 04:35:11 +0000 (00:35 -0400)]
zathura: tweak some settings and bindings

5 years agoemacs: ebdb: just set ebdb-gnus-window-size
Amin Bandali [Mon, 2 Sep 2019 01:00:14 +0000 (21:00 -0400)]
emacs: ebdb: just set ebdb-gnus-window-size

5 years agoemacs: tweak some bindings
Amin Bandali [Mon, 2 Sep 2019 01:00:00 +0000 (21:00 -0400)]
emacs: tweak some bindings

5 years agoshell: set INFOPATH properly
Amin Bandali [Mon, 2 Sep 2019 00:57:56 +0000 (20:57 -0400)]
shell: set INFOPATH properly

5 years agoemacs: theme: forgot to uncomment load-theme for the dark theme
Amin Bandali [Sat, 31 Aug 2019 23:06:35 +0000 (19:06 -0400)]
emacs: theme: forgot to uncomment load-theme for the dark theme

5 years agoemacs: change footnote prefix from "C-c f" to "C-c f n"
Amin Bandali [Sat, 31 Aug 2019 18:44:02 +0000 (14:44 -0400)]
emacs: change footnote prefix from "C-c f" to "C-c f n"

5 years agoemacs: fix typos, add no-littering version, update my znc.el fork
Amin Bandali [Sat, 31 Aug 2019 17:48:26 +0000 (13:48 -0400)]
emacs: fix typos, add no-littering version, update my znc.el fork

znc.el update for supressing (require 'cl) deprecation warning

5 years agoemacs: gnus: more granular thread sorting
Amin Bandali [Sat, 31 Aug 2019 17:24:14 +0000 (13:24 -0400)]
emacs: gnus: more granular thread sorting

5 years agoemacs: add gnus-article-treat-patch (leave it disabled)
Amin Bandali [Sat, 31 Aug 2019 17:00:50 +0000 (13:00 -0400)]
emacs: add gnus-article-treat-patch (leave it disabled)

TODO: figure out why it adds a whole bunch of blank lines to the top

5 years agoemacs: remove znc.el subproject now that i'm back on straight.el
Amin Bandali [Sat, 31 Aug 2019 15:56:56 +0000 (11:56 -0400)]
emacs: remove znc.el subproject now that i'm back on straight.el

5 years agoemacs: rearrange and regroup early init settings a bit
Amin Bandali [Sat, 31 Aug 2019 15:36:18 +0000 (11:36 -0400)]
emacs: rearrange and regroup early init settings a bit

5 years agoemacs: use no-littering
Amin Bandali [Sat, 31 Aug 2019 14:40:55 +0000 (10:40 -0400)]
emacs: use no-littering

5 years agoemacs,gnupg: do pinentry outside emacs
Amin Bandali [Sat, 31 Aug 2019 14:02:50 +0000 (10:02 -0400)]
emacs,gnupg: do pinentry outside emacs

5 years agoemacs: adapt use-package-font-lock-keywords for use-feature
Amin Bandali [Sat, 31 Aug 2019 05:45:31 +0000 (01:45 -0400)]
emacs: adapt use-package-font-lock-keywords for use-feature

5 years agoemacs: use straight.el for package management again
Amin Bandali [Sat, 31 Aug 2019 05:42:59 +0000 (01:42 -0400)]
emacs: use straight.el for package management again

it seems easier/cleaner to use straight rather than going through all
of guix. not sure; might end up using guix again for it at some point.

also, fork lean-mode and remove runtime requiring of cl, and use the
fork. should submit PR and switch back to upstream once it’s merged.

5 years agoemacs: pdf-tools: convenient history bindings, more gentle resizing
Amin Bandali [Fri, 30 Aug 2019 22:58:13 +0000 (18:58 -0400)]
emacs: pdf-tools: convenient history bindings, more gentle resizing

5 years agoemacs: add some tex-mode hooks for better editing experience
Amin Bandali [Fri, 30 Aug 2019 22:55:10 +0000 (18:55 -0400)]
emacs: add some tex-mode hooks for better editing experience

enable:
- auto-fill-mode
- flyspell-mode

disable:
- electric-indent-mode (locally)

5 years agoemacs: add some convenient bindings
Amin Bandali [Fri, 30 Aug 2019 22:54:26 +0000 (18:54 -0400)]
emacs: add some convenient bindings

5 years agoemacs: yasnippet: "fix" cite
Amin Bandali [Fri, 30 Aug 2019 22:53:21 +0000 (18:53 -0400)]
emacs: yasnippet: "fix" cite

5 years agoemacs: update custom-file
Amin Bandali [Fri, 30 Aug 2019 22:52:38 +0000 (18:52 -0400)]
emacs: update custom-file

5 years agoemacs: yasnippet: don’t expand on SPC in git-commit-mode
Amin Bandali [Tue, 27 Aug 2019 05:34:03 +0000 (01:34 -0400)]
emacs: yasnippet: don’t expand on SPC in git-commit-mode

guix provides snippets like ‘add’ [0] which would get auto-expanded in
git-commit-mode with SPC, super annoying.

[0]: https://git.savannah.gnu.org/cgit/guix.git/tree/etc/snippets/text-mode/guix-commit-message-add-package

5 years agoemacs: yasnippet: add some convenience snippets for latex-mode
Amin Bandali [Tue, 27 Aug 2019 04:46:57 +0000 (00:46 -0400)]
emacs: yasnippet: add some convenience snippets for latex-mode

5 years agoemacs: magit: don’t show ignored files for now
Amin Bandali [Tue, 27 Aug 2019 04:45:35 +0000 (00:45 -0400)]
emacs: magit: don’t show ignored files for now

5 years agoemacs: magit: add magit-insert-ignored-files, use C-c g
Amin Bandali [Tue, 27 Aug 2019 04:41:44 +0000 (00:41 -0400)]
emacs: magit: add magit-insert-ignored-files, use C-c g

5 years agoemacs: disable typo-mode in tex-mode
Amin Bandali [Tue, 27 Aug 2019 04:18:43 +0000 (00:18 -0400)]
emacs: disable typo-mode in tex-mode

5 years agoemacs: yasnippet: bind SPC to yas-maybe-expand in yas-minor-mode-map
Amin Bandali [Tue, 27 Aug 2019 03:48:44 +0000 (23:48 -0400)]
emacs: yasnippet: bind SPC to yas-maybe-expand in yas-minor-mode-map

5 years agoemacs: overhaul bindings to be more C-based rather than s-based
Amin Bandali [Tue, 27 Aug 2019 03:34:45 +0000 (23:34 -0400)]
emacs: overhaul bindings to be more C-based rather than s-based

5 years agoemacs: ivy: properly ignore erc-, magit-, and dired-mode buffers
Amin Bandali [Mon, 26 Aug 2019 23:43:09 +0000 (19:43 -0400)]
emacs: ivy: properly ignore erc-, magit-, and dired-mode buffers

5 years agoemacs: add reftex
Amin Bandali [Mon, 26 Aug 2019 23:42:37 +0000 (19:42 -0400)]
emacs: add reftex

5 years agoemacs: better buffer-switching bindings
Amin Bandali [Mon, 26 Aug 2019 23:42:19 +0000 (19:42 -0400)]
emacs: better buffer-switching bindings

5 years agoemacs: gnus: fix se212 folder name in split rules
Amin Bandali [Mon, 26 Aug 2019 23:41:37 +0000 (19:41 -0400)]
emacs: gnus: fix se212 folder name in split rules

5 years agomsmtp: update shemshak tls fingerprint
Amin Bandali [Sun, 25 Aug 2019 18:14:18 +0000 (14:14 -0400)]
msmtp: update shemshak tls fingerprint

5 years agoemacs: temporary fix for org-link-email-description-format
Amin Bandali [Sun, 25 Aug 2019 04:10:47 +0000 (00:10 -0400)]
emacs: temporary fix for org-link-email-description-format

5 years agoemacs: update custom, fix haskell-cafe directory name
Amin Bandali [Sun, 25 Aug 2019 04:10:15 +0000 (00:10 -0400)]
emacs: update custom, fix haskell-cafe directory name

5 years agoguix: bump guix to latest master
Amin Bandali [Thu, 22 Aug 2019 05:05:02 +0000 (01:05 -0400)]
guix: bump guix to latest master

5 years agoemacs: gnus: fix regexp for lists.sr.ht lists
Amin Bandali [Thu, 22 Aug 2019 00:18:14 +0000 (20:18 -0400)]
emacs: gnus: fix regexp for lists.sr.ht lists

omitting one dot if present.  e.g.,

    ~sircmpwn/sr.ht-dev@lists.sr.ht
 =>
    l.~sircmpwn.srht-dev

5 years agoemacs: erc: fix for erc lurker (bug#36843)
Amin Bandali [Wed, 21 Aug 2019 22:54:04 +0000 (18:54 -0400)]
emacs: erc: fix for erc lurker (bug#36843)

https://bugs.gnu.org/36843

5 years agoemacs: gnus: fix gnu regexp, add ‘list’ to nnmail-split-abbrev-alist
Amin Bandali [Wed, 21 Aug 2019 22:51:33 +0000 (18:51 -0400)]
emacs: gnus: fix gnu regexp, add ‘list’ to nnmail-split-abbrev-alist

5 years agoemacs: gnus: fix gnewsense-users typo
Amin Bandali [Wed, 21 Aug 2019 22:51:12 +0000 (18:51 -0400)]
emacs: gnus: fix gnewsense-users typo