Let's Linux #011: Polybar hook modules
budlabs
the files used in this video can be found on github: https://github.com/budlabs/youtube/tree/master/letslinux/010-012-polybar-setup
This is the second in a series of three videos on how to setup polybar.
The goal of the tutorial is to create a module in polybar that displays the title of the active window, but if one clicks (or send a message via a keybinding or terminal) the title it will instead display the class and instance of the title. I will also show how we by right clicking, title/class/instance will get the clicked information in our clipboard.
video info:
color scheme: solarized dark, by Ethan Schoonover terminal font: Fixedsys terminal emulator: URxvt figlet font: 3d.flf, by xero filemanager: thunar icon theme: ePapirus gtk theme: numix (solarized dark)
videos
https://youtu.be/7RNgpvBMua0 - polybar setup https://youtu.be/NZeqsLWcm6o - polybar hooks https://youtu.be/3vQtovcQElY - dynamic title
resources
See github for polybar install instructions:
https://github.com/jaagr/polybar/wiki
Official Polybar wiki:
https://github.com/jaagr/polybar/wiki
i3ipc-python, by acrisci, is needed to use the i3listen.py script.
https://github.com/acrisci/i3ipc-python
lolban is the output of figlet piped through lolcat. I have a video where i show how it works. That video is called: Let's Linux #009: Automatic script creation, and can be found here: https://youtu.be/QGUmMtEnIkI
The figlet font used with lolban is created by xero. It is called: 3d.flf And can be found on github: https://github.com/xero/figlet-fonts ... https://www.youtube.com/watch?v=NZeqsLWcm6o
76557618 Bytes