
Discovered Some Cool Stuff In Spectrwm and Qtile DistroTube
video description
Date: 2022-03-30
Related videos
Comments and reviews: 10
conceptrat
With that output from the qtile command for display keybindings is essentially something you'd pass to a custom script to reformat it his you'd like. Same as you did for SpectrWM with -baraction.sh-. So something like -qtile-showkb.sh- and this would run the qtile-cmd pipe the output to AWK which can interpret that as the CSV, which is what that show keybindings command is producing. And then you can output your own customised version of it with Unicode border characters, shell colours or even render it to as a DocBook, PDF or HTML (via Surf) if you wanted something graphical.
reply
With that output from the qtile command for display keybindings is essentially something you'd pass to a custom script to reformat it his you'd like. Same as you did for SpectrWM with -baraction.sh-. So something like -qtile-showkb.sh- and this would run the qtile-cmd pipe the output to AWK which can interpret that as the CSV, which is what that show keybindings command is producing. And then you can output your own customised version of it with Unicode border characters, shell colours or even render it to as a DocBook, PDF or HTML (via Surf) if you wanted something graphical.
reply
M-ty-s
Hey DT!
Great video as always. I just wanted to let you know that in spectrwm you can specify a 'backup' font for Unicode characters with the following line:
bar_font_pua =
For example:
bar_font_pua = Font Awesome:size=9
sets your backup font to Font Awesome so that you don't have to add all those '+-fn=n's into your config/baraction script.
Hope this helps!
Peace! \w/
reply
Hey DT!
Great video as always. I just wanted to let you know that in spectrwm you can specify a 'backup' font for Unicode characters with the following line:
bar_font_pua =
For example:
bar_font_pua = Font Awesome:size=9
sets your backup font to Font Awesome so that you don't have to add all those '+-fn=n's into your config/baraction script.
Hope this helps!
Peace! \w/
reply
Shubham
Hey derek, if you're going to code in python a lot for qtile, they I would highly recommend using a plug-in like YouCompleteMe or Coc for python completion. What this will do, is whenever you are hovering inside a function it will show you all the available options(parameters) for that function.
This will have your life very easy while working with qtile configs
reply
Hey derek, if you're going to code in python a lot for qtile, they I would highly recommend using a plug-in like YouCompleteMe or Coc for python completion. What this will do, is whenever you are hovering inside a function it will show you all the available options(parameters) for that function.
This will have your life very easy while working with qtile configs
reply
it_industry
Actually formatting the output of display_kb shouldn't be too hard, doesn't need to be python if you are more comfortable and familiar with bash scripting, otherwise a small python script would be easy also(probably easier than bash script) just loop through each list item removing the white space and -/n-
reply
Actually formatting the output of display_kb shouldn't be too hard, doesn't need to be python if you are more comfortable and familiar with bash scripting, otherwise a small python script would be easy also(probably easier than bash script) just loop through each list item removing the white space and -/n-
reply
conceptrat
-DistroTube Hey DT just a thought. In your -baraction.sh- wouldn't it be less confusing, and possibly more configurable, if you put the short codes for font setting and colours into the variable for each block. In other words inside the echo statements in each of the functions like cpu()?
reply
-DistroTube Hey DT just a thought. In your -baraction.sh- wouldn't it be less confusing, and possibly more configurable, if you put the short codes for font setting and colours into the variable for each block. In other words inside the echo statements in each of the functions like cpu()?
reply
Tom
Thanks for the tip on vim as man viewer.
I noticed in your dmenu config you had a dmenu-trading shell script. Is this for stock trading? What programs?
Also, I find myself opening calculator for simple math I would do in the launcher on my work Mac, is there a way to do math in dmenu?
reply
Thanks for the tip on vim as man viewer.
I noticed in your dmenu config you had a dmenu-trading shell script. Is this for stock trading? What programs?
Also, I find myself opening calculator for simple math I would do in the launcher on my work Mac, is there a way to do math in dmenu?
reply
Alexandre
Again a very good video! And looking into QTile code I found something I didn't find in the manual: in the LaunchBar widget If you pass an absolute path to a PNG file instead of program name ('thunderbird' and 'logout' in the manual example) it will show an icon instead of text
reply
Again a very good video! And looking into QTile code I found something I didn't find in the manual: in the LaunchBar widget If you pass an absolute path to a PNG file instead of program name ('thunderbird' and 'logout' in the manual example) it will show an icon instead of text
reply
Enio
Could you make a video on how to make a statusbar with clickable tagnames in spectrWM, using dzen2+conky?
I don't know if this setup will allow different colors, but, anyways, I am more interested in the clickable tagnames, just like the way it is in awesomeWM.
reply
Could you make a video on how to make a statusbar with clickable tagnames in spectrWM, using dzen2+conky?
I don't know if this setup will allow different colors, but, anyways, I am more interested in the clickable tagnames, just like the way it is in awesomeWM.
reply
Павел
You have 5 secs interval for bar data update, is it true, that if you change volume level, it will be changed in fact, but value on the bar panel will be updated when next loop iteration executes, and it may be 5 sec delay in some cases? Is it comfortable?
reply
You have 5 secs interval for bar data update, is it true, that if you change volume level, it will be changed in fact, but value on the bar panel will be updated when next loop iteration executes, and it may be 5 sec delay in some cases? Is it comfortable?
reply
Leigh
Hi DT time for a qtile revist. I have tried i3 but now realsie qtile is by far the winner. I noticed ET is doing i3 so lets see a special on qtile getting started and qtile customisation. For starters the config.conf is so easy to write. On arch its is sweet.
reply
Hi DT time for a qtile revist. I have tried i3 but now realsie qtile is by far the winner. I noticed ET is doing i3 so lets see a special on qtile getting started and qtile customisation. For starters the config.conf is so easy to write. On arch its is sweet.
reply
Add a review, comment
Other channel videos















