1
0
forked from extern/nix-config
Commit Graph

71 Commits

Author SHA1 Message Date
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
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
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
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
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
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
5f056f9f2e
bspwm: Use left/up/right/down desktops
This was an experiment to see if I could make switching between desktops
easier. Instead of thinking about desktops in terms of their contents or
numbers, we can think about them in terms of gestures used to reveal
them.

The main advantage to this setup is that you can access any of the other
desktops with one keystroke. This is in contrast to having to press
super+tab twice. The other advantage is that the desktops are always at
a predictable location. One swipe to the right will always get you the
desktop on the right, whereas two super+tabs can land on any desktop.
2022-10-23 21:00:54 -04:00
Donovan Glover
19efc3f94c
meta: Remove xcape and xmodmap
These are obsolete technologies that are no longer needed thanks to
dual-function-keys, which I'll add in a future commit. This also fixes
an issue where left control would behave like an escape key when tapped,
which caused a lot of accidental escapes.
2022-09-28 12:54:52 -04:00
Donovan Glover
1023dc4d2f
meta: Replace firefox with librewolf
I am personally not amused by some of the defaults that firefox ships
with and would rather not have to deal with them on new configurations.
Although it's possible to sync settings across devices or simply copy
the profile directory, the advantages of librewolf outweigh the cons for
my individual use case, at least for now.
2022-09-28 11:40:49 -04:00
Donovan Glover
4fb088585d
bspwm: Remove old bspc rules
I no longer use these KDE applications, so having them as bspc rules is
unnecessary.
2022-09-28 11:24:13 -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
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
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
6c84ba914c
bspwm: Set the keyboard to maximum brightness on init
This fixes the issue of having to manually increase brightness on boot.
2022-07-28 10:55:59 -04:00
Donovan Glover
aeb87d3026
bspwm: Use the previous color scheme if present
This makes it possible to keep a preferred color scheme across boots.
2022-07-28 05:19:42 -04:00
Donovan Glover
d4f214f5fb
meta: Set the browser at the window manager level
This fixes an issue where the specified browser wouldn't be used when
dealing with a non-shell environment.
2022-07-28 03:00:49 -04:00
Donovan Glover
762ff7bd15
bspwm: Use a more interesting desktop layout
Since I usually have a browser and terminal emulator open most of the
time, I have placed them back as desktop 1 and 2 by default. I'm used to
the file browser being in 3, and 4 serves as media, which is important
for language immersion in particular.

The other 6 icons are numbers for individuals that know how to read
other languages.
2022-04-11 09:35:29 -04:00
Donovan Glover
e958c6ab5d
bspwm: Use mpv with xsecurelock
This lets us play videos in the background while the screen is locked on
Xorg, taking advantage of all our mpv settings as well.
2022-03-21 11:41:16 -04:00
Donovan Glover
68075e746d
bspwm: Auto-mount partitions with udiskie
One of the conveniences of GNOME is auto-mounting. Although manually
mounting is a good learning exercise, we can improve productivity by
auto-mounting by default.
2022-03-15 08:51:47 -04:00
Donovan Glover
ca32f737a6
bspwm: Start dunst on startup
We removed dunst at some point but now we're adding it back again.
2022-03-13 10:27:56 -04:00
Donovan Glover
323cb92c96
bspwm: Enable touchpad use while typing
Since we rarely (if ever) touch the touchpad by accident while typing,
having the option to use the touchpad and keyboard at the same time is
useful.
2022-03-11 10:10:41 -05:00
Donovan Glover
934a417dfb
bspwm: Auto-hide the mouse cursor when inactive
This makes working with bspwm a lot cooler since the cursor is now
automatically hidden when not in use, making full screen videos and
other applications a lot more immersive.
2022-03-11 09:54:53 -05:00
Donovan Glover
4a58768b9e
bspwm: Make fcitx work with kitty
Note that although it's possible to make fcitx work with alacritty as
well, the current implementation doesn't show what you're typing as
you're typing it, which is inconvenient.

Because of this, I recommend using kitty in all cases if switching input
methods is important for your use case. kitty also has the advantage of
image preview support on both xorg and wayland, since ueberzug does not
have wayland support.

Note that I previously set up a working environment with ibus-mozc
which, although was cool (and better than ibus-anthy), did not offer all
the benefits that fcitx provides. Now that I figured out how to make
fcitx work on both xorg and wayland, as well as in applications like
anki, this is my preferred input method for personal systems.
2022-03-08 12:52:00 -05:00
Donovan Glover
5fa1a0ddb9
meta: Switch cursor theme from breeze to phinger
Using phinger is slightly cooler since it's not as stock as other cursor
themes like breeze.
2022-03-08 12:41:55 -05:00
Donovan Glover
0473e96ca8
bspwm: Make fcitx work universally with exports
This improves the coverage of applications that take advantage of fcitx
under bspwm, such as anki.
2022-03-08 11:22:27 -05:00
Donovan Glover
4becab25c3
meta: Rename compton to picom
Since the project changed names a while ago, we'll update the repository
to reflect this.
2021-11-15 12:42:43 -05:00
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
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
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
4c1be9aec4
Revert "Remove bspwm"
Although I said I was using Sway, it doesn't hurt to keep my bspwm files
in the event that I'd like to use bspwm.
2021-05-14 10:19:19 -04:00
Donovan Glover
66e0c425c6
Remove bspwm
It's the end of an era and I no longer use bspwm. Although the tiling of
bspwm was admittedly cool, at the end of the day most of my time isn't
spent opening new windows so working with the i3-like sway instead works
just fine.
2021-05-13 12:24:14 -04:00
Donovan Glover
6adeb19e2b
Remove compton
Over time compton became unmaintained and a replacement package picom
took its place. After trying out sway for a bit, I realized that it
doesn't need a separate compositor at all like bspwm does, so I might
just switch to it. Note that there is a performance penalty on sway
that I haven't figured out how to solve yet.
2021-05-12 18:10:17 -04:00
Donovan Glover
a8a0055c49
Remove xeventbind
Since I don't change resolutions as often if at all anymore, this
isn't needed.
2021-05-10 10:17:59 -04:00
Donovan Glover
e2ca722963
meta: Miscellaneous updates
I wanted to commit some more stuff for 2020. Better late than never,
right? The most significant change is probably in fish_prompt.fish.
I fixed an edge case where the directory in question could be the
same as the user's username.
2020-12-31 23:56:22 -05:00
Donovan Glover
d8ed02a78f
bspwm: Add code icon 2020-09-07 23:15:29 -04:00
Donovan Glover
0483131b62
bspwm: Run xeventbind in the background if found
This makes it so that the X DPI and other components are
automatically changed on resolution change.
2018-12-22 17:04:01 -05:00
Donovan Glover
dac1e40a2b
bspwm: Set DPI before starting polybar
This change makes it so that DPI is determined when bspwm is started
instead of relying on ~/.Xresources to always have the correct DPI.
2018-12-22 17:01:22 -05:00
Donovan Glover
419aa607a3
bspwm: Set the color scheme to base16-tomorrow-night
As cool as it was to have a random color scheme on boot, setting a
predictable and easy to read one is slightly more practical.
2018-12-22 15:58:50 -05:00
Donovan Glover
476f34f107
bspwm: Change desktop names
It turns out that bspwm desktop names can be anything you want.

They can also include spaces, since they're just strings.
2018-12-06 14:23:50 -05:00
Donovan Glover
9f0809220a
bspwm: Remove toolkit-specific environment variables
Instead of managing these variables at the bspwm level, we can simply
use rofi instead. This means that applications can be launched in other
desktop environments with the correct settings applied through rofi.
2018-11-27 18:51:25 -05:00
Donovan Glover
5679c7092c
bspwm: Add HiDPI support for GTK applications
It turns out that GDK_SCALE and GDK_DPI_SCALE is what you need to add
HiDPI support to GTK applications. Since you probably have .Xresources
adjusted for your HiDPI display, you will need to set both GDK_SCALE and
GDK_DPI_SCALE at the same time to render things properly.

Ironically, I never got this to work before. Maybe because I was always
using 'GTK_SCALE' instead of 'GDK_SCALE', or maybe because I never used
both GDK_SCALE and GDK_DPI_SCALE at the same time.

This gives me full HiDPI support in bspwm, with the exception of a few
applications (polybar, dunst) that don't honor DPI as of this writing.
2018-11-21 21:18:00 -05:00
Donovan Glover
1c44cd55f6
wal: Modularize done.sh
Instead of trying to do everything at once, done.sh will instead call
other scripts for each individual program that needs to be manipulated.
2018-11-19 20:12:22 -05:00
Donovan Glover
58f7581be9
docs: Add READMEs for bspwm, polybar, and rtv 2018-11-18 15:20:14 -05:00
Donovan Glover
c4b7b69f66
stow: Split bspwm into separate packages
It turns out that placing similar config files (i.e. bspwm-related) in
the same directory is not the way to go about handling dotfiles since
each config file (or dotfile) *should* manipulate only a single program.

This was not the case back when I used urxvt (which would require the
old method of .Xresources), but now that I understand more about how
*modern* dotfiles work (with $XDG_CONFIG_HOME), separating dotfiles by
program became the obvious choice.
2018-11-17 14:58:13 -05:00
Donovan Glover
df766c3a48
meta: Remove all references to urxvt and termite
Now that I've learned kitty, other terminal emulators like termite and
urxvt are no longer necessary. Here I remove any config files that were
necessary for either termite or urxvt and change all terminal options
to kitty.

As an added bonus, a global gtk.css file is no longer necessary. This
contradicted a core idea of dotfiles (that every program should have
its own directory in $XDG_CONFIG_HOME) and was in general a weird hack
that also affected non-termite emulators.
2018-11-15 21:06:15 -05:00
Donovan Glover
b8e61965c7
meta: Split zathura config into separate files
This lets me use my zathura config without relying exclusively on
pywal being set up (theme set, done.sh ran, cache not cleared).
2018-11-15 11:44:01 -05:00