For those who asked for waybar
▲ 80 r/waybar+1 crossposts

For those who asked for waybar

Custom Icon Font for Waybar

My Waybar config is unlikely to work out of the box for you. It depends on a full set of shell scripts written for my specific environment. Once you understand the approach, though, you can adapt the same idea to your own setup.

Step 1: Build a custom icon font from SVGs

The first (and most important) step is to create application icons from SVG files you find online and compile them into your own icon font.

I used a small Python script with the fontTools package to do this, but you don’t have to. Plenty of GUI typography tools make the process easier if you prefer a visual workflow.

The figure shows the method I created two-color icons for waybar. I have 2 SVGs for the same icon, the first one is the background, pay attention to "advance 0", GTK will overlap the foreground on top without shifting.

I mapped the icons starting at U+100000 (Plane 16). This range is reserved for private use in Unicode, so it’s ideal for custom Waybar icons.

Step 2: Installation & CSS setup

  1. Place the resulting font file (waybar_icon_font.ttf) in: ~/.local/share/fonts/
  2. In ~/.config/waybar/style.css, set the font stack like this: CSSfont-family: "My Icons", "JetBrains Mono", "Font Awesome 7 Free";

Even though the custom font only contains a dozen or so icons, the full Nerd Fonts set (and Font Awesome) remain available as fallbacks.

u/cortexist — 9 days ago
▲ 34 r/swaywm

Sometimes floating window is what you want

We forked Sigma File Manager and extended it specifically for Sway. One of our first additions is a floating file picker—something that may seem at odds with a tiling window manager. Enable it under Settings → Experimental for use in all apps (VS Code is shown in the screenshot). https://github.com/cortexist/sigma-file-manager

u/cortexist — 10 days ago
▲ 6 r/sffpc+1 crossposts

Will a custom water block fits RTX Pro 4500 into mini-ITX enclosure?

I've never designed a water block. This could be my first attempt.

I found these RTX Pro 4500 Blackwell photos online. I measured the dimensions, it seems the dimension of the PCB is close to the 170x170 mm mini-ITX footprint. The 2nd photo shows there is barely anything but some wires behind the blower. Will a 170x100mm single slot custom water block handle the 200W power power consumption?

u/cortexist — 24 days ago