Let's Linux #029: polybar magic 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 second of three videos in which I create a dynamic workspace indicator for polybar. The indicator will display the name (icon) of the current workspace and the total number of existing workspaces.
In this second video I add fontawesome icons to indicate which workspace we are currently viewing. I also make a small script that switch to the last active workspace or create a new workspace if only one workspace exist. I try to quickly explain how arrays works in bash.
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=Gpe0kv09vQ0
82207046 Bytes