~bandali/configs
4 years agobash: slightly simplify prompt
Amin Bandali [Mon, 23 Sep 2019 00:21:32 +0000 (20:21 -0400)]
bash: slightly simplify prompt

no need to colourize the \u, colourizing \$ is enough

4 years agobash: update prompt
Amin Bandali [Mon, 23 Sep 2019 00:20:13 +0000 (20:20 -0400)]
bash: update prompt

4 years agosway: disable mouse warping and use the right ctrl for win
Amin Bandali [Fri, 20 Sep 2019 16:50:45 +0000 (12:50 -0400)]
sway: disable mouse warping and use the right ctrl for win

4 years agoemacs: enable typo-mode in web-mode
Amin Bandali [Fri, 20 Sep 2019 16:50:29 +0000 (12:50 -0400)]
emacs: enable typo-mode in web-mode

4 years agoemacs: gnus: default to my @gnu.org address when for new messages
Amin Bandali [Fri, 20 Sep 2019 16:49:16 +0000 (12:49 -0400)]
emacs: gnus: default to my @gnu.org address when for new messages

4 years agoupdate my uwaterloo addresses, simplify message-dont-reply-to-names
Amin Bandali [Fri, 20 Sep 2019 16:48:39 +0000 (12:48 -0400)]
update my uwaterloo addresses, simplify message-dont-reply-to-names

4 years agoemacs: moody: tweak mode-line colour
Amin Bandali [Fri, 20 Sep 2019 16:47:55 +0000 (12:47 -0400)]
emacs: moody: tweak mode-line colour

4 years agoemacs: update packages and disable emojify
Amin Bandali [Fri, 20 Sep 2019 16:47:22 +0000 (12:47 -0400)]
emacs: update packages and disable emojify

4 years agoemacs: remove exwm-systemtray--refresh call from my theme swithcers
Amin Bandali [Sat, 14 Sep 2019 13:44:43 +0000 (09:44 -0400)]
emacs: remove exwm-systemtray--refresh call from my theme swithcers

4 years agoemacs: update lean-mode
Amin Bandali [Sat, 14 Sep 2019 13:44:14 +0000 (09:44 -0400)]
emacs: update lean-mode

my PR removing (require 'cl) has been merged

4 years agoemacs: tangomod: tweak mode-line colours
Amin Bandali [Sat, 14 Sep 2019 13:43:54 +0000 (09:43 -0400)]
emacs: tangomod: tweak mode-line colours

4 years agodelete vestigial .gitmodules file
Amin Bandali [Fri, 13 Sep 2019 22:55:19 +0000 (18:55 -0400)]
delete vestigial .gitmodules file

4 years agobash: use i-beam cursor in terminals
Amin Bandali [Fri, 13 Sep 2019 22:53:22 +0000 (18:53 -0400)]
bash: use i-beam cursor in terminals

4 years agoemacs: ebdb: enable the pop-up again for now
Amin Bandali [Fri, 13 Sep 2019 22:52:39 +0000 (18:52 -0400)]
emacs: ebdb: enable the pop-up again for now

maybe make this conditional on screen size

4 years agoemacs: update packages, disable exwm for now
Amin Bandali [Fri, 13 Sep 2019 22:52:19 +0000 (18:52 -0400)]
emacs: update packages, disable exwm for now

4 years agonew setup on darrud
Amin Bandali [Fri, 13 Sep 2019 22:51:18 +0000 (18:51 -0400)]
new setup on darrud

4 years agocompton: prevent occasional annoying black/white flashes
Amin Bandali [Thu, 12 Sep 2019 03:45:45 +0000 (23:45 -0400)]
compton: prevent occasional annoying black/white flashes

e.g. when switching workspaces in exwm

4 years agoemacs: exwm: add some rudimentary exwm-randr settings
Amin Bandali [Thu, 12 Sep 2019 03:45:28 +0000 (23:45 -0400)]
emacs: exwm: add some rudimentary exwm-randr settings

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

4 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

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

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

4 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

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

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

4 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

4 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

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

4 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

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

4 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

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

4 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

4 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?)

4 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

4 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)

4 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

4 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

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

4 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 :)

4 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

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

4 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

4 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.

4 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

4 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

4 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.

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

4 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

4 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

4 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)

4 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

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

4 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’)

4 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

4 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

4 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

4 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

4 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

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

4 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

4 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

4 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

4 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

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

4 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

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

4 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)

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

4 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

4 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

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

4 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 [...]

4 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

4 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

4 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

4 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.

4 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

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

4 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

4 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

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

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

4 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

4 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"

4 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

4 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

4 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

4 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

4 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

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

4 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

4 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

4 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.

4 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

4 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)

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

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

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

4 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