1
0
forked from extern/nix-config
Commit Graph

875 Commits

Author SHA1 Message Date
Donovan Glover
938573e03b
Revert "Remove compton"
We actually still need compton (now picom) for screen tearing in bspwm,
so we'll add it back now. In the future it may be useful to keep
dotfiles in the repository even when I no longer use them, since the
configuration itself may still be useful.
2021-11-15 12:38:02 -05:00
Donovan Glover
2cc55ac815
Add fcitx to bspwm config
Note that we're using fcitx5 instead of the older fcitx4 since the new
version supports sway and wayland in general.
2021-11-15 12:34:39 -05:00
Donovan Glover
d59a58b465
starship: Use ASCII characters for everything
This makes it easier to use starship in virtual consoles without
worrying about unsupported characters.
2021-11-15 12:31:34 -05:00
Donovan Glover
622929853b
starship: Use ASCII characters for prompt
Now the prompt looks nice in ttys.
2021-11-15 12:18:21 -05:00
Donovan Glover
0ab7b0fc3f
bspwm: Configure touchpad with sensible defaults
Natural scrolling and tap to click makes the bspwm experience more
pleasurable.
2021-11-14 12:15:22 -05:00
Donovan Glover
9b6bc04931
sway: Add keybind to toggle waybar
Now we can toggle waybar in sway similar to how we can toggle polybar in
bspwm.
2021-11-14 12:11:50 -05:00
Donovan Glover
55b04ac77d
rofi: Update config to 1.7.0
Now the application launcher plays nicely with the newest version of
rofi.
2021-11-14 12:10:23 -05:00
Donovan Glover
8f802d42cc
Add LunarVim
So far my experience with LunarVim has been positive. Although there are
some gotchas and your own configuration may be better in some cases, the
defaults used are pretty nice and should enable developers to get up and
going quickly with neovim.
2021-11-14 12:03:53 -05:00
Donovan Glover
180f676bc8
Revert "Remove dunst"
I actually switch between bspwm, sway, and other desktop environments
depending on how I feel now, and use dunst for bspwm.
2021-11-14 11:27:28 -05:00
Donovan Glover
ce3fde5b1a
meta: Replicate sway workspace functionality in bspwm
I like how sway handles workspaces. This change makes it so bspwm uses
numbers as the workspaces and polybar only shows workspaces that are
being used in the bar.
2021-11-14 11:20:57 -05:00
Donovan Glover
2d46188b02
polybar: Add back battery module
The current machine I use has a battery, so this is needed.
2021-11-14 11:19:17 -05:00
Donovan Glover
ab909d567d
waybar: Add padding to focused workspace
This fixes an issue where the focused workspace would cause the layout
to shift.
2021-11-14 11:16:40 -05:00
Donovan Glover
e9e8edfad3
polybar: Improve battery functionality
Now the battery module is more pleasant to look at.
2021-11-14 11:15:33 -05:00
Donovan Glover
0748f72be9
Add ripgrep config
Now it's possible to use ripgrep without worrying about files with
really long lines taking up the entire screen.
2021-11-14 11:13:42 -05:00
Donovan Glover
21169e1d1f
sxhkd: Add fn keys support
Now these keys will work identical to the way they work in sway.
2021-08-01 15:04:04 -04:00
Donovan Glover
15d0c03809
vim: Update auto-pairs to maintained fork
This fixes an issue where the previous version of auto-pairs would come
across issues when closing parentheses.
2021-08-01 15:02:32 -04:00
Donovan Glover
8b8788b835
Add starship
Note that I initially didn't use starship since I didn't like how it
used multiple lines, although it's fairly easy to configure to your
liking.
2021-07-07 10:22:36 -04:00
Donovan Glover
ed53f56c0d
waybar: Remove id from wifi
This makes the bar more minimal with less potential distractions.
2021-07-07 10:19:51 -04:00
Donovan Glover
ca50b7646c
fish: Remove git branch from prompt
This was cool but it breaks with the latest version of fish. Instead of
trying to fix this I'd rather use a less hacky solution.
2021-07-07 10:15:23 -04:00
Donovan Glover
f125fbde38
gpg: Update keyserver
This is necessary since sks-keyservers is deprecated.
2021-07-07 10:13:11 -04:00
Donovan Glover
ac554b7256
alacritty: Update config for new version
This fixes a warning that showed in new versions of alacritty.
2021-06-21 18:29:57 -04:00
Donovan Glover
d996dcfef2
sway: Exit resize mode the same way it was entered
Now resize mode behaves a little more sane.
2021-06-21 18:28:50 -04:00
Donovan Glover
5a64cc1f1a
sway: Simplify process of killing windows
$mod+q is much easier to press than $mod+shift+q.
2021-06-21 18:27:00 -04:00
Donovan Glover
a4513caab3
sway: Use kitty instead of alacritty
Although alacritty is cool, kitty is also cool and has image support,
ideal for rice screenshots.

This commit also adds $alt for the rofi command in the previous commit.
2021-06-21 18:25:48 -04:00
Donovan Glover
a563bb0850
Use rofi in sway
Note that although there was an issue with window focus, rofi works fine
for the most part and gets the job done.
2021-06-21 18:23:13 -04:00
Donovan Glover
32fad752a9
sway: Remove the default border
Now our windows take up the entire screen.
2021-06-21 18:21:10 -04:00
Donovan Glover
95c53368ca
sway: Set caps lock equal to escape
This change is very important for us vim users.
2021-06-21 18:20:24 -04:00
Donovan Glover
3e60bce07a
sway: Add touchpad config
Scrolling just got a bit more natural.
2021-06-21 18:19:22 -04:00
Donovan Glover
8a95b6fe00
polybar: Update monitor
Have to use eDP now, although waybar is very similar to polybar (and
without the need to specify this).
2021-06-21 18:17:23 -04:00
Donovan Glover
1dac50a70a
sway: Use waybar
Working with sway just became a bit nicer.
2021-06-21 18:15:51 -04:00
Donovan Glover
e1487a5c9c
Add waybar
Note that I also added support for pywal color schemes.
2021-06-21 18:11:15 -04:00
Donovan Glover
f4627139a6
Switch from xz compression to zst
Note that I'll likely change some other stuff at a later date.
2021-06-21 18:04:35 -04:00
Donovan Glover
919178b2d4
vim: Add GraphQL support
Now GraphQL queries look a little nicer.
2021-05-16 14:45:22 -04:00
Donovan Glover
a8660248ea
Switch from vim-jsx to vim-jsx-pretty
Note that vim-jsx is now unmaintained.
2021-05-16 14:42:47 -04:00
Donovan Glover
83a5078368
sway: Change background to one from archlinux-wallpaper
After the contest for archlinux-wallpaper, there are a lot of high
quality backgrounds that one can choose from. Instead of worrying
about choosing an appropriate background for a desktop environment,
one can simply use archlinux-wallpaper instead.
2021-05-14 19:16:42 -04:00
Donovan Glover
23811e56e6
sway: Add fn keys support
Note that F9-F11 currently don't report anything in xev, although we can
program the rest of the keys here.
2021-05-14 19:13:47 -04:00
Donovan Glover
06bd933fa8
fish: Use native hostname variable
$hostname is now defined by default so we don't need to do anything
here. I assume it wasn't always like this since otherwise I wouldn't
have needed to call `hostname` in the first place.
2021-05-14 19:00:12 -04:00
Donovan Glover
dd0b64cac4
tmux: Standardize layout
This admittedly makes our tmux slightly boring in comparison to those
that customize it, but having a consistent layout makes it easier to
work with tmux across different environments.
2021-05-14 17:31:08 -04:00
Donovan Glover
102dd8a0c2
Switch from dog to bat
"dog" was an alternative I used to cat for syntax highlighting. Now that
bat exists (which is written in rust, by the way), there is no need to
use "dog" and I highly recommend anyone interested to use bat instead.
2021-05-14 17:28:36 -04:00
Donovan Glover
40d29b201e
docs: Minor fixes 2021-05-14 17:26:33 -04:00
Donovan Glover
23f6525aff
fish: Don't start X at login
Now we can do some cool stuff in tty1 when we decide to not start a
display manager.
2021-05-14 17:16:58 -04:00
Donovan Glover
bb98444147
sway: Remove warning message when exiting
Now we can exit sway without having to use the mouse.
2021-05-14 17:13:08 -04:00
Donovan Glover
21525cd2a8
sway: Remove arrow key stuff
It's much easier to simply use hjkl, so I'm removing the arrow key
shortcuts to avoid any conflicts.
2021-05-14 17:02:33 -04:00
Donovan Glover
bc3a6de7f5
Add sway
Note that I'm adding sway with the default config first so I can keep a
record of my changes with git.
2021-05-14 16:48:51 -04:00
Donovan Glover
75d66fb6c6
git: Set the default branch to master
I've always loved how the master branch is called master since it's
comparable to mastering a skill or emphasizing the importance of
something.
2021-05-14 16:30:04 -04:00
Donovan Glover
6c7c819f1d
Add vscode-wal note
This is my final goodbye (possibly) to (vs)code users and in this commit
I share the secret to a nice-looking pywal config for the editor.
2021-05-14 16:22:00 -04:00
Donovan Glover
cfbe5b70d5
Add alacritty
It turns out that I don't actually *need* image output in the terminal
(besides being cool). With that aside, I can safely use alacritty
knowing that it's written in Rust and is apparently the fastest terminal
emulator in existence.
2021-05-14 16:17:31 -04:00
Donovan Glover
a42bf287a4
Remove yay stuff from bootstrap script
Note that I need to update the script later or simply provide a series
of instructions so everything isn't dependant on one script.

In the past it was nice to install Arch Linux with minimal if any
console intervention, but the practicality of this is questionable
since you only have to install Arch once. A more specialized script
could be useful for mass installations, although in this case I assume
one would create such a script on-the-spot.
2021-05-14 16:00:29 -04:00
Donovan Glover
b05409a717
Remove make code-extensions
I no longer have an interest in code and am not using these extensions
personally.
2021-05-14 15:56:03 -04:00
Donovan Glover
51751a0233
Add disclaimer on code
For those of you reading this: If possible, you should invest in neo(vim)
instead of (vs)code, as I believe there is a significant difference in
productivity when it comes to not worrying about the user interface that
(vs)code provides.
2021-05-14 15:51:49 -04:00