Commit graph

732 commits

Author SHA1 Message Date
0eddbeba17 nvim: Update packer 2020-11-24 11:57:07 +05:30
515db926ce sway: Switch to using kitty as default terminal
Kitty supports ligatures and seems to have better font rendering. It's
memory consumption seems to be high however, it should allow us to
replace tmux or we can still use tmux with it if required while relying
on the window layouts and tabs feature to prevent us from requiring
spawning any more terminals. Spawning one kitty instance would be
sufficient to take care of everything.
2020-11-24 11:13:58 +05:30
989a76eba7 Add initial kitty configuration 2020-11-24 11:13:23 +05:30
905ffe795d Add configuration for ranger 2020-11-23 20:37:08 +05:30
78522c4699 alacritty: Fix url launcher section
URL launcher was not functional due to being not aligned with the mouse
section.
2020-11-23 13:03:26 +05:30
b861963f9a nvim: Add tmux completion source for completion-nvim 2020-11-21 12:08:25 +05:30
9a2f273a7d nvim: Sync with nvim-highlite upstream 2020-11-21 12:08:25 +05:30
1a88bddf19 nvim: lua: plugins: No need to specify branch anymore
With this commit upstream
a68b21be60

packer can handle finding default branches by itself and does not error
out like earlier for anything named other than master.
2020-11-21 11:13:02 +05:30
50a5d55fe4 nvim: Update for nvim LSP diagnostics
The diagnostic-nvim plugin got merged upstream and as a result the
plugin is not required anymore. LSP diagnostic highlight group names
were also updated.

See the below issues for notes on migration.
https://github.com/neovim/neovim/pull/12655
https://github.com/nvim-lua/diagnostic-nvim/issues/73
2020-11-21 11:05:07 +05:30
a25d54afee nvim: Update packer 2020-11-21 11:04:30 +05:30
a4ef81590a nvim: Update packer 2020-11-20 18:28:12 +05:30
fa3fd17e3e tmux: Start panes with index 1 and allow selecting 10th pane 2020-11-19 18:28:11 +05:30
0109e7fe36 Add configuration for vimiv 2020-11-19 17:30:37 +05:30
fdc059b7df alacritty: Use gruvbox colors 2020-11-19 16:44:50 +05:30
47a52ccbc9 tmux: Use gruvbox dark color scheme
Taken from
https://github.com/egel/tmux-gruvbox
2020-11-19 16:26:31 +05:30
1e1e4b8c77 Add configuration for Zathura 2020-11-19 15:23:31 +05:30
882b4bcc65 tinyirc: Put log files in /tmp/
If this is not specified it just writes all those to the home directory.
2020-11-19 11:08:11 +05:30
24444c8eef tinyirc: Add a configuration for tiny IRC client 2020-11-18 21:07:45 +05:30
e39fdcf39c alacritty: Specify the rest of the styles for font configuration 2020-11-18 13:59:32 +05:30
00bdf7ad8d alacritty: Enabling scrollback buffer 2020-11-18 13:53:29 +05:30
74fbeed89d Consistently set TERM as alacritty
This affects color rendering inside of tmux and also without tmux.
2020-11-18 13:14:08 +05:30
77514eaea0 nvim: Fix loading of git messenger
Relying on lazy loading on command invocation feature seems to not make the
default key bindings of the plugin take effect. Remove it.
2020-11-17 18:36:45 +05:30
7bb5343314 nvim: lua: modules: gitsigns: Add preview hunk feature now available upstream 2020-11-17 18:19:34 +05:30
603aa8bc56 waybar: Switch waybar to SourceCodePro font
We do this as it seems restricting the font to monospace in fontconfig
for JetBrains Mono as done in commit f2b2bed3 affects the spacing and
rendering of unicode icons used in waybar.
2020-11-17 15:18:52 +05:30
6907fff2e2 alacritty: Fix key binding for Paste
We require Ctrl-v for visual selection in neovim, so use a different key
binding for this.
2020-11-17 14:26:04 +05:30
da93717582 fish: Enable wayland support in firefox by default
See https://github.com/swaywm/sway/wiki/Running-programs-natively-under-wayland.
2020-11-17 14:26:04 +05:30
f2b2bed34a fontconfig: Set up fallback fonts
In case a glyph is absent in the default font, st uses font-config and
tries to find them in font cache first. This also seems to work for all
VTE terminals. However, alacritty relies on system configuration and does
not do the above. To fix this, we need specify a fallback font manually.
This also seems good practice in general otherwise.

For reference, see the below links.
https://st.suckless.org/patches/font2/
https://github.com/alacritty/alacritty/issues/3690
https://wiki.archlinux.org/index.php/Fonts#Fallback_font_order
https://eev.ee/blog/2015/05/20/i-stared-into-the-fontconfig-and-the-fontconfig-stared-back-at-me/

Also our use of galaxyline plugin for neovim requires nvim-web-devicons
which in turn requires a patched font like Nerd font.
2020-11-17 14:26:04 +05:30
432cb2c98f nvim: after: ftplugin: txt: Set textwidth to 78 2020-11-17 10:45:51 +05:30
974c399bea nvim: nvim lsp lua module name has changed upstream 2020-11-15 22:39:01 +05:30
1dd213bb04 waybar: Switch to using alacritty on click for cpu & memory block
We missed this in commit d763cc0f.
2020-11-15 22:39:01 +05:30
ed31ccec7a gitignore: Update to ignore some more generated files 2020-11-15 22:39:01 +05:30
715c031ac7 sway: Execute kanshi during start up to configure displays automatically 2020-11-14 19:33:24 +05:30
eb97b4a6f2 kanshi: Fix profile configuration
Profiles need to be mutually exclusive. eDP-1 is for the work laptop and
eDP1 is for the home laptop. Whenever we have our external Samsung
monitor connected, the laptop monitor should be disabled.
2020-11-14 19:28:00 +05:30
d763cc0fbe sway: Switch default terminal to alacritty
While st is awesome, supports ligatures and consume just around 10MB of
memory running it requires having to run Xwayland. For now, switch to
alacritty so we need not run Xwayland or any X clients.

If we find a better terminal later on we can switch to that.
2020-11-14 19:12:47 +05:30
e421b24e16 nvim: Update packer 2020-11-14 19:12:16 +05:30
29596c2c74 kanshi: Add kanshi for handling multiple monitors 2020-11-14 18:41:52 +05:30
f49632b6d2 sway: Let pavucontrol and blueman-manager have floating layout 2020-11-14 13:03:44 +05:30
13edaced57 Revert "tmux: Show battery and timing information in status line"
This reverts commit 888a04424f. This tmux
plugin does not show battery information reliably all the time.
2020-11-14 12:18:07 +05:30
9fa0b71a37 swaylock: Add configuration for swaylock 2020-11-14 12:10:30 +05:30
a465be18e0 mako: Add configuration for mako 2020-11-14 12:10:30 +05:30
c094e4157d sway: Update sway configuration 2020-11-14 12:10:30 +05:30
5594c8c814 waybar: Add config for waybar used on sway 2020-11-14 12:01:27 +05:30
bd7283d7f2 wofi: Add configuration for wofi required on sway 2020-11-13 20:17:54 +05:30
0d0e40eea9 alacritty: Enable background opacity for alacritty 2020-11-13 11:30:58 +05:30
0290391643 mpd: Add initial configuration for mpd 2020-11-13 11:30:58 +05:30
f96c6a729b sway: Add initial sway configuration 2020-11-13 11:30:58 +05:30
224305372d imapfilter: Move mails from bluetooth mailing list to "bluez" label 2020-11-12 12:42:24 +05:30
be594ae121 nvim: Use nvim_command for disabling back ups and swap
Using the vim.o API seems to have no effect for these three options. Set
them via the 'nvim_command' API.
2020-11-11 19:43:18 +05:30
ee6af66c8a nvim: Do not rely on plugins.vim to load plugins
We do not really need to rely on a plugins file in 'plugin' to load the
packages using 'execute luafile'. Just do a 'require plugins' in init.lua.
2020-11-10 21:06:15 +05:30
07739669c5 nvim: modules: gitsigns: Update key map as per upstream changes 2020-11-10 15:47:09 +05:30