morphr - update colors for 2wm, dwm, 2bwm
Forum rules
Your own work only.
Your own work only.
morphr - update colors for 2wm, dwm, 2bwm
Script containing funtions for the following window managers
- 2wm
- dwm
- 2bwm
Assuming the user will run the script while running one of the three, will recognize current wm, and run appropriate function to update color options based on current xrdb.
Check the script to update color choices as needed.
One of those scripts that came from just simply filling a personal need to simplify things. Why manually update color options?
https://github.com/dkeg/dots/blob/master/morphr
- 2wm
- dwm
- 2bwm
Assuming the user will run the script while running one of the three, will recognize current wm, and run appropriate function to update color options based on current xrdb.
Check the script to update color choices as needed.
One of those scripts that came from just simply filling a personal need to simplify things. Why manually update color options?
https://github.com/dkeg/dots/blob/master/morphr
Work hard; Complain less
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: morphr - update colors for 2wm, dwm, 2bwm
cool, nice scripting!
- ChefIronBelly
- Approved BBQer
- Posts: 1044
- Joined: Mon Jan 13, 2014 6:01 am
- Location: Michigan
Re: morphr - update colors for 2wm, dwm, 2bwm
Look at what Santa has brought me... thanks Santa
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]
Re: morphr - update colors for 2wm, dwm, 2bwm
Thanks gents. I pushed a couple changes:
1. updated the 2bwm section
2. called out for dwm that I had changed the color labels to sensible names.
1. updated the 2bwm section
2. called out for dwm that I had changed the color labels to sensible names.
EDIT: I updated for the script to take the liberty of changing the name for you.
## old labels: col_gray1,col_gray2,col_gray3,col_gray4,col_cyan - Really?
Work hard; Complain less
Re: morphr - update colors for 2wm, dwm, 2bwm
Happy Holiday's
updated to check if label change needed, and exit if running incompatible wm.
https://github.com/dkeg/dots/blob/master/morphr
updated to check if label change needed, and exit if running incompatible wm.
https://github.com/dkeg/dots/blob/master/morphr
Work hard; Complain less
Re: morphr - update colors for 2wm, dwm, 2bwm
updated with cleaner code making individual updates easier.
Work hard; Complain less
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: morphr - update colors for 2wm, dwm, 2bwm
ah nice, wrt dwm logout/login there's following trick: https://wiki.archlinux.org/index.php/dw ... g_programs
of course this would require ~.xinitrc to check if dwm is actually started, but hey :D
of course this would require ~.xinitrc to check if dwm is actually started, but hey :D
..gnutella..
Re: morphr - update colors for 2wm, dwm, 2bwm
Oh, that's really cool. Had no idea. I'll check it out for sure. Thank you for that.
Work hard; Complain less
Re: morphr - update colors for 2wm, dwm, 2bwm
works. simply added the startdwm script in ~/.xinitrc. Using the built in binding to restart now will reload. I added a binding to kill xinit.
also, it works for 2wm as well.
also, it works for 2wm as well.
Work hard; Complain less