forked from extern/nix-config
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
41f46f38f2
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. |
||
---|---|---|
.config | ||
.gnupg | ||
.httpie | ||
.icons/default | ||
.editorconfig | ||
.gitconfig | ||
.gitignore | ||
.mailcap | ||
.stow-local-ignore | ||
.tmux.conf | ||
.vimrc | ||
.xinitrc | ||
.xmodmap | ||
.Xresources | ||
LICENSE | ||
Makefile | ||
README.md |
New Start
Vim is my editor, *nix is my IDE.
- Window manager: bspwm with
XDG_CURRENT_DESKTOP=KDE
- Bar: polybar
- Launcher: rofi
- Icons: Papirus
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?.