Let's Linux #028: polybar and workspaces
budlabs
The files used in this video can be found on github: https://github.com/budlabs/youtube/tree/master/letslinux/028-030-polybar-workspaces
This is the first of three videos where I create a dynamic workspace indicator that displays the name (icon) of the current workspace and the total number of existing workspaces.
In this first video, we create a new hook module and create the first version of the script that will output the workspace information.
!!! The getpid script on github is a fixed version. The reason i got multiple pids was because it returned the pid of the getpid script it self.
video info:
color scheme: eighties terminal font: Inconsolata terminal emulator: URxvt figlet font: 3d.flf, by xero wallpaper: pauls-boutique
videos
https://youtu.be/NAf2-ibuJyk #028 workspaces https://youtu.be/Gpe0kv09vQ0 #029 magic workspaces https://youtu.be/8GuBukWex-c #030 wallpapers https://youtu.be/DK6aun1FbhM #019 fontawesome https://youtu.be/NZeqsLWcm6o #011 hook modules
files
- polybar-config
- i3config
- scripts/autoscript (to create scripts)
- scripts/getpid
- scripts/polybarstart (start bar and listener)
- scripts/i3listen.py (listener script)
- scripts/pbwsindi (prints workspace info)
- scripts/prevws (switch/create workspace)
- scripts/setwp (sets wallpaper, and store path)
- scripts/wswpswitcher (sets wallpaper)
resources
https://github.com/jaagr/polybar/wiki/Inter-process-messaging https://github.com/jaagr/polybar/wiki/Module:-ipc
https://github.com/wstam88/rofi-fontawesome
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=NAf2-ibuJyk
83575917 Bytes