Commit graph

77 commits

Author SHA1 Message Date
Midgard
1b5972ac10
[polybar] Add transparency
And change font for MPD progress to one that renders the bar better
2022-08-30 02:11:28 +02:00
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
Midgard
c23dc7af91
[polybar] Change log file name 2019-06-13 20:01:06 +02:00
Midgard
87a7224a9d
[polybar] Add font for clock and battery 2019-06-13 19:12:06 +02:00
M1dgard
1f34902135
[polybar] Disable mouse on workspace switcher 2019-03-01 18:01:57 +01:00
M1dgard
0f2d1939de
[clock.py] Option to fill the watch face
Nowadays I prefer the clock face black.
2019-03-01 17:58:32 +01:00
M1dgard
9b1d6cc020
[polybar] Update config with my latest changes 2018-11-08 11:07:27 +01:00
M1dgard
13073c64c1
Update screenshots 2018-10-05 23:16:30 +02:00
M1dgard
2fea2ba9f8
[polybar] Stop spamming log dirs 2018-08-22 23:58:43 +02:00
M1dgard
67b60c84e0
[terminal] Switch back to xfce4-terminal
st is waaaaay to laggy in its rendering to my taste. cmatrix doesn't even
run on it well.

It was a great learning experience however. For instance I learned how
the terminal title is determined and could improve it to make my
terminal.sh work more reliably.
2018-08-22 17:27:22 +02:00
M1dgard
78d1658acf
[polybar] Make clock bigger 2018-08-21 01:28:36 +02:00
M1dgard
27437c9342
[polybar] Tweak appearance
Also: unify colour notation
2018-08-20 15:50:59 +02:00
M1dgard
9cae0b5b48
[polybar] Reorder, make more stuff clickable 2018-08-20 03:23:59 +02:00
M1dgard
318fa288ff
[clock.py] Action for analog clockface
Because it seems there aren't that much analog clocks, I went with just
yet another tty-clock config.
2018-08-20 03:22:41 +02:00
M1dgard
f90a236516
[polybar] Make volume and battery more compact 2018-08-20 03:08:39 +02:00
M1dgard
cb9bc04f25
[clock.py] Add actions to open khal and tty-clock 2018-08-20 03:07:18 +02:00
M1dgard
a3fd0ba7a7
Fixes for launching terminal and misc 2018-08-19 16:48:28 +02:00
M1dgard
4f45e2f9ab
[clock.py] Fix colours 2018-08-19 01:54:30 +02:00
M1dgard
a37b5a117b
[polybar] Swap RAM and CPU 2018-08-18 22:33:31 +02:00
M1dgard
0a6d43755b
[polybar] Add throttle settings
Should be easier on my battery
2018-08-18 22:32:21 +02:00
M1dgard
9228ff539b
[polybar] Remove consumption 2018-08-18 22:31:46 +02:00
M1dgard
93c51ec75e
[polybar] Change to %temperature-c%
%temperature% is now deprecated
2018-08-18 22:30:13 +02:00
M1dgard
54600f7ca2
[i3/polybar] Launch nmtui on wlan icon click
Instead of launching nm-applet with i3. It looked bad.
2018-08-18 22:28:46 +02:00
M1dgard
15c095dd69
[polybar] Getting tired of the timezones 2018-08-06 20:23:14 +02:00
M1dgard
9aaf7ee212
[polybar] Update config to new Polybar version 2018-07-24 12:40:51 +02:00
M1dgard
702c793814
[polybar] Add local MPD, make it fancier 2018-07-12 00:55:43 +02:00
M1dgard
dabfe404d9
[polybar] rm MPD, use workspace names, hide SSID
MPD is sending network requests all the time

Use workspace names because I have bound a workspace to each key, and
use that key as the name (will commit that soon)

Hide the SSID because in the end that's just clutter
2018-07-09 12:31:35 +02:00
M1dgard
5ee4aa6205
[polybar] Correct battery ramp 2018-05-29 12:26:09 +02:00
M1dgard
69736aebb9
Adjust used wlan glyphs for new icon font 2018-05-29 12:26:09 +02:00
M1dgard
f4d78b7ce8
Draw attention to full battery, loader should be unplugged 2018-05-29 12:26:09 +02:00
M1dgard
4e13e22dee
Actually a digital readout is useful 2018-05-29 12:26:09 +02:00
M1dgard
385ea67efd
Add battery ramps and detailed clocks
Like the wlan strength icons, the clocks and battery ramps draw multiple
glyphs at the same location to create multi-coloured icons. For them to
show up, you need my Bar Material Supplement font, which isn't published
yet because I haven't decided on a license nor on a way to host it.
2018-05-29 12:26:09 +02:00
M1dgard
717b208a94
Add analog clock faces 2018-05-29 12:26:09 +02:00
M1dgard
ed5ea4c2ab
Write small custom clock script for bar
Polybar doesn't support time zones yet, so I wrote my own date
displaying script. I think I'll keep it, it is more accurate: 0.02s
instead of up to 5s (configurable but higher frequency means more
CPU power used) latency.
2018-05-29 12:26:09 +02:00
M1dgard
c2de9a36a4
Window title is more useful than typing speed 2018-05-29 12:26:09 +02:00
M1dgard
cb88dd4f41
Fix secondary bar launched for empty monitor name 2018-05-29 12:26:09 +02:00
M1dgard
98d2d6d05e
Tweak secondary Polybar 2018-05-29 12:26:09 +02:00
M1dgard
35b6d40c8b
Remove bspwm Polybar config 2018-05-29 12:26:09 +02:00
M1dgard
2655b1b1d8
Secondary monitors for Polybar, yeah! 2018-05-29 12:26:09 +02:00
M1dgard
6dbb4515ec
Add logging 2018-05-29 12:26:09 +02:00
M1dgard
8434aab26f
Dissatisfied with my wlan ramp, too insensitive 2018-05-29 12:26:09 +02:00
M1dgard
c3fe218274
Remove unused icon
Oops
2018-05-29 12:26:09 +02:00
M1dgard
21b0ddab32
Add an ad-hoc screen switching system
Write a script to switch monitors, and make Polybar play nice with it
2018-05-29 12:26:09 +02:00
M1dgard
1c33cbc2db
Fix off-by-one-pixel 2018-05-29 12:26:09 +02:00
M1dgard
4b33768fef
Juggle with my MPD module again 2018-05-29 12:26:09 +02:00
M1dgard
15dbd7a545
Add MPD again, add spaces to force width 2018-05-29 12:26:09 +02:00
M1dgard
36a6b55cc5
Move clock font 1 down, add font comments 2018-05-29 12:26:09 +02:00
M1dgard
72bd74b176
Icons for RAM and system temperature 2018-05-29 12:26:09 +02:00
M1dgard
56e876712c
Fix colours of CPU bar 2018-05-29 12:26:09 +02:00
M1dgard
661c7fd084
No more MPD for now 2018-05-29 12:26:09 +02:00