1
0
forked from extern/nix-config
Commit Graph

1256 Commits

Author SHA1 Message Date
Donovan Glover
ad28ef8dcf
fish: Add wav2flac
This used to be a separate script in my ~/.local/bin, however the script
is short enough that it doesn't need to be a separate file, and I don't
use it outside of the shell anyway.
2022-07-30 10:35:00 -04:00
Donovan Glover
bd83212581
sxhkd: Add clipboard to browser
This makes it easy to search for text without having to worry about
browser extensions or even being in the browser itself.
2022-07-30 10:21:08 -04:00
Donovan Glover
5a3b02add8
sxhkd: Add option to save selection screenshots 2022-07-30 08:50:48 -04:00
Donovan Glover
233cb01510
mpv: Disable the default osc
Now the thumbnail osc will be used instead.
2022-07-30 08:37:18 -04:00
Donovan Glover
4f74b1fb48
mpv: Add mpv_thumbnail_script
This is version 0.4.9 and should work out of the box without any
modifications. Note that the mpv config must be edited to support
this script, which I'll add in the next commit.
2022-07-30 08:32:04 -04:00
Donovan Glover
c050cede4a
fish: Add abbreviation for japanese locale 2022-07-30 08:24:45 -04:00
Donovan Glover
89361ae0af
fish: Add abbreviation for ansible-playbook
Note that right now abbreviations are only added once to improve startup
time, although the difference may be negligible on modern hardware.
2022-07-30 08:15:06 -04:00
Donovan Glover
3a189b31f6
sxhkd: Prioritize color scheme over background
In the future it may be nice to automatically add a selection of
backgrounds that can be rotated through, or support getting those
images from an external source.
2022-07-30 08:02:18 -04:00
Donovan Glover
9bc5d45278
mpv: Automatically make playlists from directories
This makes it easier to play a series of files without worrying about
starting mpv with those specific files.
2022-07-30 07:50:47 -04:00
Donovan Glover
1de898c54b
mpv: Add total_playtime.lua
Currently this script works by getting the total play time of the
playlist when pressing F12. Time will tell if I decide to improve upon
it later, although it already does a good job at what it's supposed to
do.
2022-07-30 07:42:08 -04:00
Donovan Glover
d23080a789
mpv: Don't use titles from file metadata
This fixes an issue where some files would have incorrect metadata,
although it may be more useful to overwrite the metadata on those files
instead.
2022-07-30 01:18:03 -04:00
Donovan Glover
e1cd81f9b4
vim: Add Caddyfile support 2022-07-30 01:04:28 -04:00
Donovan Glover
f223c6c2f6
fish: Add du abbreviation 2022-07-30 00:33:25 -04:00
Donovan Glover
2fa0d928ef
fish: Add vagrant abbreviations 2022-07-30 00:32:46 -04:00
Donovan Glover
a06b1d06cb
fish: Replace youtube-dl with yt-dlp 2022-07-30 00:30:37 -04:00
Donovan Glover
6db6521e7c
fish: Add docker abbreviations 2022-07-29 21:08:21 -04:00
Donovan Glover
ae900bda97
meta: Replace ripgrep config with alias
Stowing an entire config directory for one line was too funny to not
change, so I converted it to an alias instead.
2022-07-29 17:56:38 -04:00
Donovan Glover
917e50c37f
meta: Replace httpie config with fish functions
This simplifies our dotfiles a bit since we no longer need to worry
about stowing a separate httpie config.
2022-07-29 17:18:12 -04:00
Donovan Glover
9fe88d0039
meta: Remove alacritty
Although alacritty is an amazing terminal emulator, I am not interested
in maintaining configuration files for it at this time.

The current config works and is an excellent replica of the current
kitty config. If you have a desire to use alacritty, you can use the
files in this commit to get amazing support for things like pywal.

The reason alacritty is being removed is because it doesn't fully
support fcitx. Currently "inline input" doesn't work in Xorg, and it's
impossible to see input under GNOME Wayland.

For simplicity, only the terminal emulator that works the best for me
will be officially supported, since I've never had a reason to use
alacritty anyway.

Source: https://github.com/alacritty/alacritty/issues/1613
2022-07-29 15:44:01 -04:00
Donovan Glover
79f38a0ed0
alacritty: Make cursor shape beam by default
Now alacritty functions similar to kitty when showing the cursor, so
much so that they're nearly identical.
2022-07-29 15:11:34 -04:00
Donovan Glover
ec24d1cc71
docs: Update README
This is a huge README update that is unfortunately WIP. I'll eventually
finish it, but for now I'm committing what's currently done.
2022-07-29 14:14:17 -04:00
Donovan Glover
7078dcbe67
fish: Add utf16 conversion support
Similar to the previous commit, this makes dealing with files from Japan
easier.
2022-07-29 13:30:18 -04:00
Donovan Glover
6aae63d66f
fish: Add shift_jis conversion support
A lot of files from Japan are encoded in the shift_jis character
encoding. This abbreviation makes it easy to change those files to utf8.
2022-07-29 13:27:44 -04:00
Donovan Glover
bb3e448fa6
mpv: Add autoload.conf
This config is used for automatically making playlists based on the
current files in a directory.
2022-07-29 13:20:55 -04:00
Donovan Glover
19c8624061
picom: Exclude polybar from fading in
This likely fixes an issue I had earlier, although I don't remember what
it was. In any case, this change is a positive one since toggling the
bar is now instantaneous as well.
2022-07-29 13:08:41 -04:00
Donovan Glover
768f54ac8e
bspwm: Start mullvad notifications
Although mullvad has an auto-start option, notifications won't be
displayed until the application is explicitly started at least once.
2022-07-29 13:06:18 -04:00
Donovan Glover
7c46e40399
picom: Make some applications translucent
This is purely for visuals and makes using the environment slightly
cooler.
2022-07-29 12:57:44 -04:00
Donovan Glover
42ffa37ace
fcitx: Add unicode settings
The purpose of this commit is to remove any possible keybinds for
unicode-related things in fcitx.
2022-07-29 12:31:01 -04:00
Donovan Glover
d116679385
picom: Increase fade out step
Truthfully I don't remember why I did this, however I am probably used
to it now and I must have did it for a reason, which is why this commit
exists.
2022-07-29 11:53:27 -04:00
Donovan Glover
bd4ea96bec
alacritty: Fix formatting
A quick and easy fix for a small formatting issue.
2022-07-29 11:52:13 -04:00
Donovan Glover
9e3416070d
zathura: Don't recolor documents by default
Although recoloring documents is great for rice screenshots, most of the
time we want to see a pdf in its original form before deciding to
recolor it. Most of the time recolors occur when a "dark mode" is
necessary, which zathura does a good job with.
2022-07-29 11:48:08 -04:00
Donovan Glover
4a2d8ad1e6
picom: Halve shadow opacity
Decreasing the shadow opacity here makes it less noticeable when dealing
with side-by-side windows.
2022-07-29 11:40:15 -04:00
Donovan Glover
d2caea6684
neofetch: Simplify cpu output
This fixes an issue where the neofetch cpu output would be too long for
a typical 1920x1080 display, with one terminal occupying 50% of the
screen.
2022-07-29 11:37:09 -04:00
Donovan Glover
93e55359ed
bspwm: Only disable power saving on virtual machines
Now physical machines still get power saving, and virtual machines don't
since power saving is automatically handled by the host.
2022-07-29 11:06:39 -04:00
Donovan Glover
750fb7a2ba
vim(ale): Fix linting with standardjs
Previously ale would show an error message when dealing with JavaScript
files without an .eslintrc. That has now been fixed and standardjs works
as intended.
2022-07-29 10:38:32 -04:00
Donovan Glover
c887d1823d
vim: Update ale location 2022-07-29 10:34:55 -04:00
Donovan Glover
ebc3d2440e
vim: Remove vim-toml
As of Neovim 0.6 and Vim 8.2.3519, vim-toml is now included in the
vanilla software, so using this plugin is no longer necessary.
2022-07-29 09:56:16 -04:00
Donovan Glover
49579a2ab2
picom: Remove shadow from polybar
As far as I remember, this change was done to improve the appearance of
polybar with lower opacity as a visual effect instead.
2022-07-29 06:05:08 -04:00
Donovan Glover
b64845ebe2
fcitx: Add clipboard settings
This shouldn't do much besides prevent fcitx from assigning a keyboard
shortcut for the clipboard.
2022-07-29 06:02:25 -04:00
Donovan Glover
991185c2ce
bspwm: Make xsecurelock compatible with picom
This fixes an issue where an "incompatible compositor" message would
display previously.
2022-07-29 05:59:32 -04:00
Donovan Glover
c09cada5e2
archlinux: Remove gnome config
This is no longer needed since I plan to focus fully on bspwm instead.
Note that I may still use GNOME on multi-monitor setups and other
devices where having the convenience of bspwm and sxhkd isn't necessary.
2022-07-29 04:54:20 -04:00
Donovan Glover
3185a27739
sxhkd: Replace alt keybinds with super
This prevents us from having keybinds that conflict with other keybinds.
2022-07-29 04:30:49 -04:00
Donovan Glover
8be958c051
meta: Remove waybar
Since I've decided to ditch sway, I no longer have to deal with waybar
either, which is nice. Although waybar is nice-looking, there isn't much
of a difference between it and polybar in day-to-day usage, and other
factors such as ease of maintenance are far more important.
2022-07-29 03:55:31 -04:00
Donovan Glover
e35c497013
meta: Remove sway
Although using a Wayland window manager was cute, Sway always felt like
a gimped version of bspwm to me. This is likely due to many of the bspwm
features I use, as well as certain X applications not working well under
Wayland (such as feh).

I am also not interested in maintaining the config for Sway, and prefer
bspwm's approach where it's configured through bspc and shell scripting.

In summary, "after all these years", Sway is still more trouble than
it's worth for me personally, and I'd rather invest that time focusing
on my existing bspwm setup, which has always been pleasant to use.
2022-07-29 03:51:29 -04:00
Donovan Glover
c68102a825
sway: Add screenshot keybind
At some point I added this but never committed it. Might as well do
that now before I remove sway entirely.
2022-07-29 03:25:34 -04:00
Donovan Glover
3ad971ebaa
meta: Remove swayidle + swaylock
This was cute, but I personally don't want to deal with the
inconvenience of debugging C code and using a fork for improved
functionality.
2022-07-29 03:00:47 -04:00
Donovan Glover
433e15ba0c
sway: Use super instead of alt for keybinds
Similar to bspwm, all keybinds are now handled with super to avoid
conflicts with other applications. In the future it may be useful to
replicate the rest of the bspwm environment under sway.
2022-07-29 02:00:59 -04:00
Donovan Glover
bfe979d702
meta: Remove code
I've been trying to like vscode for years, especially since it was
widely regarded as one of the best editors of all time. As cool as VS
Code is, however, I always ended up using neovim and a terminal since
it's simply easier for me to get things done that way.
2022-07-29 01:14:47 -04:00
Donovan Glover
51c65432b3
meta: Remove mpd
Although using mpd was a cute experience, I am not interested in
maintaining mpd on my systems anymore since navidrome does the job just
as well and has more useful features.
2022-07-29 00:55:42 -04:00
Donovan Glover
42e3ebbe73
meta: Remove ncmpcpp
Although using ncmpcpp was an interesting experience, I now value the
convenience of software like navidrome more than the minimalist traits
of ncmpcpp. Realistically I should never encounter a time where
listening to music within a terminal interface is mandatory, and simply
using a web interface with optional apps drastically simplifies things.
2022-07-29 00:37:46 -04:00