Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

bspwm-- an exploration

User avatar
manyroads
Forum Guide
Forum Guide
Posts: 1758
Joined: Sat Jun 30, 2018 6:33 pm

Re: bspwm-- an exploration

#11

Post by manyroads » Fri Jul 19, 2019 9:04 am

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 - http://many-roads.com - Reg. Linux User #449130
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken

User avatar
KoO
Forum Regular
Forum Regular
Posts: 533
Joined: Fri Feb 10, 2017 1:21 am

Re: bspwm-- an exploration

#12

Post by KoO » Fri Jul 19, 2019 12:14 pm

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 : Debian10 (i3) , Liquorix , Intel Xeon E3-1241 v3 , 16gb , GTX970 . :linuxlove:
Lenovo T430 : Debian10 antiX17 (i3) , 4.20.12 , i5 , 12gb .
Lenovo X220 : Debian10 antiX17 (i3) , 4.19.170 , i5 , 8gb . BiosMod 1.46

User avatar
manyroads
Forum Guide
Forum Guide
Posts: 1758
Joined: Sat Jun 30, 2018 6:33 pm

Re: bspwm-- an exploration

#13

Post by manyroads » Fri Jul 19, 2019 1:23 pm

@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 - http://many-roads.com - Reg. Linux User #449130
bspwm MX-18.3 kernel: 5.1.11-antix.1-amd64-smp
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken

Post Reply

Return to “antiX”