1
0
forked from extern/nix-config
Commit Graph

47 Commits

Author SHA1 Message Date
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
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
abe2fab50d
bspwm: Use tmux by default in all cases
Since tmux is only a problem when using neofetch with the w3m image
backend, I have instead added a new keybind to handle this use case,
which floats the terminal by default as well.
2018-11-04 15:20:48 -05:00
Donovan Glover
b2c252d82a
meta: Add executable bit to bspwmrc and other scripts
After a considerable amount of research, I finally understand how to use
chmod and what file permissions in linux actually mean.

It turns out that git can commit both regular files (644 permission) and
executable files (755 permission). This is great since changing file
permissions manually after a git clone is no longer needed.

This useful feature is enabled by default, however, it seems like I
disabled it a long time ago. If this is you, simply re-enable it by
setting `filemode` to true in your .git/config.
2018-11-01 20:58:24 -04:00
Donovan Glover
a0e535b2b5
stow: Move bspwm-specific dotfiles to separate directory
Previously I wanted to stow everything at once, but now that I know how
to use Makefiles a bit more, I can still stow everything at once with
multiple directories. Additionally, this allows people (myself included)
to only stow the dotfiles they want, such as only vim or only fish.

Instead of separating *every* file into its own directory, I've opted
instead to group common configs together and only use separate
directories where they make sense (e.g. a vim config).
2018-10-22 15:03:01 -04:00
Donovan Glover
22ef6af42f
Move dotfiles to the dots directory
Now that I've read the man pages for `stow` and actually know how to use
it properly, I can organize my repositiory by using a separate dots
directory specifically for my dotfiles.

Additionally, similar dotfiles are now grouped together. This means less
stow work for me with files that would otherwise only be used in one
environment (e.g. bspwm).

As much as one would like to show off browsing the internet with w3m,
such a setup is highly impractical for daily use. Remembering the
keybindings I set up was also becoming an issue, so I simply removed
them in favor of the defaults, assuming I ever need to use w3m at a
later date (probably not).
2018-09-06 14:07:35 -04:00
Donovan Glover
b6c86f561f
Update bspwmrc 2018-08-31 14:17:22 -04:00
Donovan Glover
520bb800ce
Update config files for polybar, bspwm, and sxhkd
polybar:

- Properly referenced all the xrdb colors
- Decreased the height of the bar to 85 while floating
- Made the border color translucent
- Added line-size (gives line emphasis to modules)

bspwm:

- Decreased window_gap (aka increased the working space)
- Added presel_feedback_color (used when selecting where to open
  new windows)

sxhkd:

- Added super + shift + return to start a new tmux session
- Updated polybar show / hide with new top_padding value
- Added keybind for the private flag
2018-04-11 22:41:57 -04:00
Donovan Glover
8327e48c44
Update .aliases.sh and bspwmrc 2018-03-02 23:58:19 -05:00
Donovan Glover
67f07825fc
Move mpv, feh, and bspwm to stow 2018-02-27 01:23:19 -05:00