bspwm-- an exploration

Message
Author
User avatar
manyroads
Posts: 2624
Joined: Sat Jun 30, 2018 6:33 pm

Re: bspwm-- an exploration

#11 Post by manyroads »

btw. I have most of pywal functioning... :happy: I only need to figure out a nice method for scripting it's startup. So far, I have the following command working to both set a new deskyop wallpaper and colorize the setup. I need to figure out how-to fire the function up in bspwmrc (the bspwm startup file).

Code: Select all

wal --iterative -i "/home/[...]"
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
KoO
Posts: 491
Joined: Fri Feb 10, 2017 1:21 am

Re: bspwm-- an exploration

#12 Post by KoO »

I don't know much about pywal.

The idea below comes from this movie [Bspwm] Playing Around With Colourscheme, Which Colourscheme Do You Love? https://www.youtube.com/watch?v=vyAwOdc ... e=youtu.be Dot files are here https://github.com/addy-dclxvi/void-bspwm-dotfiles look in home/addy

But in this video the user generates the color theme file from this site http://terminal.sexy/ (not pywal)

If you wish to use pywal maybe below may help ? But this is all maybe baby..

But one idea might be to use Xresources to capture your color theme as pywal users Xresources to save the color theme it generates..

What I would try make a blank .Xresources file run pywal change wallpapers till you are happy with the color theme then copy the color code from the Xresources file to blank document and give this a name of you choice drop that into your .colors folder repeat to make more color themes..

Make a folder ~/.colors

#include ".colors/dark" <<dark being the colors script name add this line to your .Xresources file

#example

Below is a color theme called cellia
This would go into your .colors folder and be called by this command #include ".colors/cellia" in your .Xresources file.


Code: Select all

! special
*.foreground:   #e0e0e0
*.background:   #343c48
*.cursorColor:  #ea80fc

! black
*.color0:       #616161
*.color8:       #757575

! red
*.color1:       #f06292
*.color9:       #f48fb1

! green
*.color2:       #c5e1a5
*.color10:      #dcedc8

! yellow
*.color3:       #ffe0b2
*.color11:      #fff3e0

! blue
*.color4:       #80cbc4
*.color12:      #b2dfdb

! magenta
*.color5:       #ce93d8
*.color13:      #e1bee7

! cyan
*.color6:       #80deea
*.color14:      #b2ebf2

! white
*.color7:       #bdbdbd
*.color15: #e0e0e0 


To reload .Xresources use this command xrdb ~/.Xresources saves logging out or rebooting. (After editing and save)


Also found this -------------


bspwm

The bpswmrc file is a shell script which makes using wal's colors easy!

# source the colors.
. "${HOME}/.cache/wal/colors.sh"

# Set the border colors.
bspc config normal_border_color "$color1"
bspc config active_border_color "$color2"
bspc config focused_border_color "$color15"
# Use the line below if you are on bspwm >= 0.9.4
bspc config presel_feedback_color "$color1"
# Use the line below if you are on bspwm < 0.9.4
#bspc config presel_border_color "$color1"
Main : MX 19.1-AHS (i3) 5.4.13-1~mx19+1, Asus B450-i AMD 5 3600 , 32gb Hyper-X 3200 , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Test Machine (ATM)

User avatar
manyroads
Posts: 2624
Joined: Sat Jun 30, 2018 6:33 pm

Re: bspwm-- an exploration

#13 Post by manyroads »

@KoO, I have pywal working. See attached images. The color changes are triggered when a new terminal is opened. (I'm not certain how I managed that, though. :p ) When pywal activates the colors in terminals, polybar, rofi, and elsewhere are all matched to the current wallpaper. Pretty useless, but fun. :cool: I, also, have bash pipes working as you can see in the images.

https://ibb.co/NWfYqXj
https://ibb.co/1RGVzM3
https://ibb.co/XWS7BNF
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
charlatan
Posts: 1
Joined: Fri Sep 13, 2019 1:28 pm

Re: bspwm-- an exploration

#14 Post by charlatan »

Thanks so much for exploring this! I have briefly used tiling systems (awesome and i3) and I really want to get back to using one. I've been in between distros but I really like MX Linux... I just need to figure out the laptop /HDMI out for presentations. Anyway, once you get a spin of this up I am all over it! I tried to install bspwm last night on a clean MX install and failed miserably (I used your guide and the instructions on git).

Anyway, there are more of us tiling fans out there, but I am a noob, so everything takes me 3x as long to figure out :).

Good luck and thanks for posting all the info!

User avatar
manyroads
Posts: 2624
Joined: Sat Jun 30, 2018 6:33 pm

Re: bspwm-- an exploration

#15 Post by manyroads »

You are most welcome. I think tilers would be much more popular if they were easier for mere mortals :lipsrsealed: to get operational.

I have to admit that my enjoyment of both bspwm and (now with my testing) i3-wm grows daily.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

Post Reply

Return to “antiX”