No description
Find a file
Midgard 1215d7270f
[polybar] Improve clock and battery
Make the hands in the font zero-width; now the clock *without* filled
face is independent of font size.

The clock *with* filled face is not. Its elements (face, hands) have to
be in a specific order (hands must come after face), the face would
obscure the hands if it's the other way around. But since the font has
zero-width for the hands, not the face (and this makes the most sense),
the filled-face clock still relies on a hardcoded offset (as before, 27
units are subtracted to move the hands, but now that the hands are
zero-width, we add them back after emitting the hands, to have the rest
of the bar in the correct position). So I think that the hands will be
off-center if you change font size (haven't tested that), but even in
that case it will be less messy now.

Likewise for the battery icon.

In truth, I made the font adjustments a few months ago, and had better
done it in a different way: make the clock faces zero-width, make the
minute hand non-zero-width, and make everything about the battery icon
zero-width and add a separate, transparant "battery width" glyph. I
might fix that later.
2021-12-17 10:55:18 +01:00
.repo-stuff Update screenshots 2018-10-05 23:16:30 +02:00
i3 Improve backlight 2020-10-21 20:04:02 +02:00
ncmpcpp [ncmpcpp] Seek with Ctrl+←→ instead of ←→ 2019-06-13 19:50:24 +02:00
polybar [polybar] Improve clock and battery 2021-12-17 10:55:18 +01:00
rofi [rofi] Make theme fit with current desktop 2018-08-20 02:23:26 +02:00
xfce4-terminal [xfce4] Random change 2019-06-13 20:16:14 +02:00
.gitignore [gitignore] Add .mypy_cache 2019-06-13 19:18:16 +02:00
abcde.conf [abcde] Add vim modeline 2018-11-04 00:15:43 +01:00
beets.config.yaml [beets] Add plugin scrub, more rewrites, misc 2019-03-01 17:35:13 +01:00
compton.conf [compton] Exclude mpv from transparency 2019-03-01 17:37:06 +01:00
dunstrc.ini [dunst] Update icon path 2018-11-04 00:53:36 +01:00
gitignore [gitignore] Add xyzzy 2019-03-01 17:34:27 +01:00
install.sh [install] Clean up, fix beet directory not existing 2019-02-14 14:17:03 +01:00
LICENSE Update license to standard MIT 2019-06-13 18:58:09 +02:00
midgard.zsh-theme [zsh theme] Clean up code 2019-06-13 19:42:35 +02:00
nvim-init.vim [nvim] Disable modelines 2019-06-13 20:10:32 +02:00
profile [profile] Add LEDGER_FILE for plaintext accounting 2019-06-13 19:40:39 +02:00
README.md [terminal] Change to Fira Code 2018-08-18 22:38:55 +02:00
user-dirs.dirs Move XDG directories 2018-07-12 12:53:26 +02:00
xinitrc [xinitrc] Correct path of redshift config 2018-11-04 00:26:19 +01:00

Midgard's dotfiles

Configuration based on elegant pure black.

Screenshots

These screenshots are slightly out of date, since I change my config without updating these each time.

Empty desktop Open Rofi launcher

Background image shown:

Requirements

The Arch Linux package to install is between parentheses.

Installation

You are encouraged to copy stuff you like to your own configuration files. If you want to copy my setup, you can use the script install.sh (that script is normally mostly for myself though).

Create a symlink to a background image in ~/.config/i3/background.

TODO

  • Document more about how to get NeoVim and the plugins up and running.
  • Expand and test the install script.
  • Add my improved battery monitor script.