1
0
forked from extern/nix-config
Commit Graph

1122 Commits

Author SHA1 Message Date
Donovan Glover
a358f5fe56
starship: Add date and time
This makes it easier to keep track of what date and time it is when
using kitty in fullscreen mode.
2022-12-15 11:45:11 -05:00
Donovan Glover
eec27882da
vim: Allow saving in directories that don't exist
Now those directories will be automatically created as needed.
2022-12-15 11:41:49 -05:00
Donovan Glover
5158c66c28
paru: Use BottomUp strategy
This makes it easier to see the most relevant results first without
having to scroll up, assuming there are enough results where scrolling
up was necessary.
2022-12-15 11:36:10 -05:00
Donovan Glover
96f687abd0
kitty: Show window decorations on GNOME
Thanks to an extension called pixel-saver, it's possible to take
advantage of window decorations in GNOME and maximize screen estate
at the same time.
2022-12-15 11:33:51 -05:00
Donovan Glover
90d230885d
dunst: Increase icon size
This made mpd notifications look great at the expense of all
notifications having large icons.
2022-12-15 11:31:56 -05:00
Donovan Glover
7fab3e4707
dunst: Use transparency option
This made dunst notifications look slightly nicer.
2022-12-15 11:30:51 -05:00
Donovan Glover
6e3a3fd1eb
bspwm: Add crossfade effect with mpc
As far as I know, this setting cannot be set through a configuration
file, so setting it at startup was necessary.
2022-12-15 11:21:56 -05:00
Donovan Glover
0e158e36b2
bspwm: Start tint2 in bspwmrc
This added a toggleable bar similar to polybar, except this time it
showed the open applications at the bottom. I eventually switched to
GNOME, which is able to achieve this and much more with dash-to-panel,
an extension that has been steadily improving over the years.
2022-12-15 11:19:50 -05:00
Donovan Glover
d548dd0c3b
dunst: Increase width of notifications
Since I use GNOME now, dunst isn't needed, although I feel like the
dunst notifications looked cooler than the GNOME ones since they also
followed the color scheme of the environment.
2022-12-15 11:16:50 -05:00
Donovan Glover
3a2dc47362
feh: Remove save image key
I never used this key and I don't think I ever will. feh is a great
image viewer that's simple, fast, and anti-aliases things properly,
although I believe there's a high probability that another image viewer
is out there that nails all the boxes and then some.
2022-12-15 11:09:45 -05:00
Donovan Glover
43507caee1
picom: Add dual_kawase blur
I personally found this to be a stunning blur that I would love to use
in GNOME, however I am okay with using GNOME without it due to the many
benefits GNOME provides.
2022-12-15 11:09:09 -05:00
Donovan Glover
6a850cafb9
bspwm: Add ksuperkey
Although it was cute that I was the only one that knew how to use my
computer, standard keybinds is a pretty neat thing to have. This was
another change I programmed before deciding to use GNOME instead.
2022-12-15 11:06:24 -05:00
Donovan Glover
9062ef8e9a
mpv: Use tmp directory for total playtime
The /tmp/ directory is quite useful.
2022-12-15 11:04:06 -05:00
Donovan Glover
cc59ab4c58
bspwm: Fix tint2 showing above fullscreen programs
Although I am glad I eventually found a fix for this, it's much easier
to simply use GNOME with extensions and not have to worry about hacks
like these. If by chance such GNOME extensions are as hacky as the
solution in this commit, I'd argue that the convenience of those hacks
being abstracted away from the user outweighs fixing things manually.
2022-12-15 11:01:53 -05:00
Donovan Glover
4f5a891280
rofi: Make launch.sh a toggle script
This lets us set the super key to launch.sh, which handles both opening
rofi and closing it if it's already open.
2022-12-15 10:57:50 -05:00
Donovan Glover
ff4eddace5
bspwm: Increase desktop count
Instead of restricting myself to 4 desktops, I eventually decided on a
setup where desktops would be dynamically created as applications were
opened. I then realized what I was doing was replicating the GNOME
desktop environment in a much less efficient way, and eventually
switched from bspwm to GNOME.
2022-12-15 10:54:10 -05:00
Donovan Glover
7de7763817
bspwm: Start picom with experimental-backends
Note that this is no longer needed; this commit only exists to
document when it was needed in the past.
2022-12-15 10:53:41 -05:00
Donovan Glover
6e8d4a543e
sxhkd: Halve gaps differential
This change simply made it easier to fine-tune gaps in a more precise
way, although admittedly I am not interested in this as much as I used
to be.
2022-12-15 09:58:05 -05:00
Donovan Glover
208de5adea
sxhkd: Add keybind to reload libinput-gestures
At some point I added libinput-gestures to my setup to replicate the
touchpad gestures I loved so much on GNOME. Although this was cute, such
gestures lacked the animations from GNOME and would even stop working
entirely from time to time. It is for this reason that I created a keybind
specifically to reload libinput-gestures.
2022-12-15 09:52:45 -05:00
Donovan Glover
db8ef8646d
wal: Restart tint2 with new color scheme
For history's sake, I'm including how I changed the color scheme of
tint2 with wal. Note that I don't use tint2 anymore since I realized
that what I was trying to do with tint2 can already be achieved much
easier and much more polished with GNOME extensions.
2022-12-15 09:48:49 -05:00
Donovan Glover
924e3fe2ee
chromium: Remove https everywhere
This extension is no longer needed since it is now possible to achieve
https everywhere with a setting in chromium.
2022-12-15 09:44:29 -05:00
Donovan Glover
c42529c640
picom: Make tint2 and thunar translucent
These are old changes I made while I was still using bspwm. Although
bspwm is an amazing window manager, I feel like the simplicity of GNOME,
as well as how customizable it can be, negates any potential benefits
one can achieve with bspwm and its vast configuration possibilities.

As one example, alttab is a cool piece of software that brings the
concept of alt-tabbing to window managers like bspwm, however, GNOME is
already capable of doing this and does so in a more elegant way, showing
views of the windows you're alt-tabbing between.
2022-12-15 09:42:14 -05:00
Donovan Glover
503c7c95ae
neofetch: Remove block range
This is no longer needed after switching to pywal_16.
2022-12-15 09:34:13 -05:00
Donovan Glover
77d9e7f3fc
Revert "meta: Remove rofi"
Some programs expect rofi to be installed. Although dmenu is nice, rofi
is more customizable and has the potential to look nicer overall.
2022-11-11 15:12:16 -05:00
Donovan Glover
ba0ad5b142
sxhkd: Add ability to dynamically adjust gaps/borders
This lets us use bspwm and occasionally make it look completely
different without having to worry about manually typing things out in a
terminal.
2022-11-03 11:45:52 -04:00
Donovan Glover
d41321b427
sxhkd: Remove clipboard to browser
Although this was cute and allowed us to open links in any browser from
anywhere on the computer, in practice this "ability" wasn't that useful.
In the event that looking up words is needed, it's easier to open or
switch to qutebrowser and use its search feature instead of trying to
remember which keybinding is which.

One solution for the future would be to synchronize qutebrowser search
engines with a rofi/dmenu-like selection screen, which would solve the
problem of not remembering which keybind is which. Frequently used
search engines would be higher on the list and would require less or no
typing beyond <CR> after the initial prompt.
2022-11-03 11:37:39 -04:00
Donovan Glover
0a087452a1
vim: Add vim-devicons
Now it's easier to take a glance at NERDTree and see the different kinds
of files in a directory.
2022-11-03 11:28:43 -04:00
Donovan Glover
143dab4c27
fish: Add ranger abbreviation
This makes using ranger much more convenient.
2022-11-02 21:03:51 -04:00
Donovan Glover
e32645caf8
vim: Disable middle button click
This helps prevent accidentally pasting things.
2022-11-02 21:02:29 -04:00
Donovan Glover
0406de2ad6
feh: Remove delete keybind
This helps prevent accidents. In the event that we need to delete
images, ranger with image previews should work equally well.
2022-11-02 18:48:22 -04:00
Donovan Glover
128d3180cc
gtk: Disable recent files
This prevents nautilus from showing a recent files section in the file
browser.
2022-11-02 18:45:23 -04:00
Donovan Glover
e1da315eaa
starship: Make battery more noticeable
This makes it easier to predict how much time we have left before the
battery runs out when developing without a charger.
2022-11-02 18:41:44 -04:00
Donovan Glover
b366e2445b
fish: Use single instance for ranger kitty terminals
This should slightly improve performance when an existing kitty instance
is already available.
2022-11-02 18:40:03 -04:00
Donovan Glover
4916f47a77
bspwm: Remove borderless/gapless monocle
Since we often use non-monocle layouts without borders or gaps, having a
separate borderless/gapless monocle mode was often confusing since we
didn't know which layout we were in. When using a status indicator with
bars like polybar, knowing the current layout required a separate script
and was overall hacky, with its state not being updated until certain
bspc events occurred.
2022-11-02 18:31:30 -04:00
Donovan Glover
b46cda8cfd
meta: Change default browser from librewolf to qutebrowser
Browsers were always a pain point for me due to the manual intervention
they often required to get extensions configured properly across
separate user profiles. qutebrowser has improved significantly since the
last time I tried it (around 2017) and supports modern browsing due to
its usage of Chromium 102 with QtWebEngine 6.4.0.
2022-11-02 18:27:50 -04:00
Donovan Glover
68d1cbb9fe
meta: Remove rofi
rofi was cute, however I no longer have a desire to run an external
interface for simply starting programs. This can be achieved in many
different ways through a shell, and without the disadvantages (such as
having all items listed by default) that rofi came with.
2022-10-26 10:40:22 -04:00
Donovan Glover
3728607f28
rofi: Show current focused desktop
This was cute, however knowing which desktop we're on may be irrelevant
in a future workspace implementation. Adding this information to the
fish prompt with starship may also be an option.
2022-10-25 22:13:37 -04:00
Donovan Glover
d2883d0cb9
rofi: Show window on focused monitor
This makes rofi work nicely with multi-monitor setups, however I was
planning to remove rofi since I can do everything that rofi can do with
a simple shell, and without having to worry about its inconveniences,
such as unreadable default wal color themes.
2022-10-25 22:08:47 -04:00
Donovan Glover
ded1649cea
meta: Use alttab
alttab <https://github.com/sagb/alttab> is a cool alternative to the
more traditional ways of managing windows in bspwm that lets us focus on
the currently open windows instead of which desktop they're on.
2022-10-25 14:05:07 -04:00
Donovan Glover
83ee31d1a5
sxhkd: Add desktop bouncing functionality
Note that I originally used this as a test to see how useful it would
be, however I quickly realized that having unpredictable desktop states
is not ideal, especially when not using a status bar like polybar.

The code was shared as a solution to a post on r/bspwm. Credits to the
original author, however I plan to ditch this solution for more
predictable desktop management.
2022-10-25 13:59:56 -04:00
Donovan Glover
69be5bcc2b
bspwm: Add authentication agent
I don't remember exactly why I needed this, however it should be useful
for certain programs that require it.
2022-10-25 13:30:16 -04:00
Donovan Glover
d7a940a4d0
bspwm: Remove polybar execution
This is no longer needed since we no longer use polybar.
2022-10-25 12:42:47 -04:00
Donovan Glover
45ae547379
meta: Remove polybar
It turns out polybar was bloat and I don't actually need one, at least
that's my current thought process. In particular the advantage of
fullscreen windows without having to worry about whether polybar is
visible or not should outweigh when I temporarily show the bar with a
keybind.

Note that while I was exploring taking advantage of bspwm's monocle
layout more, I went through a point where borders would only be visible
when multiple windows were present, which required me to use the single
monocle config variable and implement the solution proposed in the
GitHub issue below:

https://github.com/polybar/polybar/issues/1880#issuecomment-674518936
2022-10-25 12:32:48 -04:00
Donovan Glover
7b3ac9d5df
meta: Add thunar
I used thunar for a while and it was a great experience with few
exceptions, however I will likely remove it in favor of a more command
line-based experience. Using thunar was a valuable learning exercise and
it helped me understand more about what file browsers actually do, and I
realized that I can replicate this experience fairly trivially while
giving me the benefits of my existing configuration.
2022-10-25 11:34:03 -04:00
Donovan Glover
620c1ac7c8
bspwm: Don't float mpv by default
This makes it easier to manage mpv windows like all other windows, which
lets us take advantage of watching 16:9 videos with mpv tiled while
working on other things.
2022-10-24 17:09:37 -04:00
Donovan Glover
5b9b59073d
sxhkd: Use pamixer instead of pactl
This prevents us from setting the volume above 100%.
2022-10-24 17:07:33 -04:00
Donovan Glover
c816942ec3
git: Change editor from vim to neovim
Neovim has some nice additions like honoring the blinking cursor from
kitty when in insert mode. I don't remember why I used vim instead of
neovim here, but neovim is mature enough that it should be an excellent
choice to use for many years to come.
2022-10-24 17:05:10 -04:00
Donovan Glover
ef3f21ecfd
gtk: Use flat color theme and icons
I originally made this change to take advantage of wpgtk, and although I
was successful and wpgtk was a cool experience, I am not that interested
in updating all my config files to use wpgtk instead of wal.

Since this was mainly useful for thunar and nautilus, and since I'm
considering using ranger only and writing my own scripts for additional
functionality, I may change this to a simpler theme in the future.
2022-10-24 17:03:02 -04:00
Donovan Glover
f615fbc4d0
bspwm: Increase pointer_motion_interval
In the theoretical scenario that I use bspwm on a high refresh rate
monitor, this change makes it so resizing windows won't be limited to
60Hz.
2022-10-24 12:30:14 -04:00
Donovan Glover
3321d30827
polybar: Decrease height
This makes polybar less obtrusive, however I've been considering
removing it in the long-term to maximize screen estate. Although polybar
is cute, I don't *need* to know everything in the bar every second I use
the computer. Having specialized commands or keybinds that show certain
information seems more useful in this case.

Some information, such as the date and time, could become a part of the
wallpaper itself, making blank desktops more useful than they are now.
Although widgets are also an option, I have not verified how well these
work under my current setup yet.
2022-10-24 12:25:03 -04:00