1
0
forked from extern/nix-config
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Go to file
Donovan Glover 41f46f38f2
polybar: Handle dynamic settings through launch.sh
Since polybar supports include files, we can generate part of the bar
config with launch.sh and store it in $HOME/.cache. Since launch.sh is
a shell script, and since bspc is an interface to bspwm, we can also
change the necessary window manager settings required for different
bars, or even configure the settings for no bar at all.

A future implementation of launch.sh may allow us to change polybar
dimensions based on current resolution and whether the screen is HiDPI
or not, although it probably won't be *too* fancy since I don't need to
support every potential DPI a user may have.

Alternatively, someone could submit a patch for polybar to make it
DPI-aware. This is the ideal solution since the bar would be scaled
naturally based on dpi, instead of having to manually halve things
ourselves.
2018-10-20 20:39:02 -04:00
.config polybar: Handle dynamic settings through launch.sh 2018-10-20 20:39:02 -04:00
.gnupg Increase the gpg-agent cache ttl 2018-10-14 23:03:49 -04:00
.httpie Move dotfiles up to root directory 2018-10-03 13:15:23 -04:00
.icons/default Set default cursor theme to breeze_cursors 2018-10-19 11:01:39 -04:00
.editorconfig Update misc dotfiles 2018-10-07 18:15:44 -04:00
.gitconfig Move dotfiles up to root directory 2018-10-03 13:15:23 -04:00
.gitignore Update misc dotfiles 2018-10-07 18:15:44 -04:00
.mailcap Move dotfiles up to root directory 2018-10-03 13:15:23 -04:00
.stow-local-ignore Add new Makefile 2018-10-15 01:07:09 -04:00
.tmux.conf Use tmux for all termite windows 2018-10-17 01:56:25 -04:00
.vimrc Update lightline config in .vimrc 2018-10-19 10:55:37 -04:00
.xinitrc Update misc dotfiles 2018-10-07 18:15:44 -04:00
.xmodmap Move dotfiles up to root directory 2018-10-03 13:15:23 -04:00
.Xresources Switch from base16 to pywal 2018-10-12 23:13:15 -04:00
LICENSE Relicense under MIT 2018-08-16 17:21:15 -04:00
Makefile Refactor Makefile 2018-10-15 21:37:18 -04:00
README.md Update README 2018-10-15 01:45:05 -04:00

New Start

Vim is my editor, *nix is my IDE.

Usage

I manage my dotfiles with stow. Once you have stow installed, run:

make install

Note

: Some of my config files are optimized for HiDPI (between 180 and 192dpi). Adjust those numbers for your display accordingly, or simply don't stow those files.

If you want to learn how to make your system work for you, see What is GNU/Linux? and What is free software?.