Minimal Theme Generator

XFCE/XFWM4 Themes

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

4
Score 50.0%
Description:

A minimal XFWM4 theme generator. It allows you to name your theme, pick an active and an inactive color, and pick a border width. The script is written in python, and will create the theme inside of the directory it's located in. Themes can be selected in window manager settings after moving them to ~/.themes

Two example themes, Smoke and Sly, are included.

luke69

7 months ago

Hey thedreadeddandy, would you be so kind and help me get your script working. When I run it this is what I get...

(base) ➜ MinimalGen python -V
Python 3.7.1
(base) ➜ MinimalGen python gen.py
Please enter a name for the theme.
a
Please enter a pixel width the theme.
1
Please enter an active color for the theme (EX. #000000).
#ffffff
Please enter an inactive color for the theme (EX. #FFFFFF).
#000000
Theme exists! Overwriting!
Error: Failed to create themerc
[Errno 2] No such file or directory: '/a/xfwm4/themerc'
Error: Failed to write file title-1-active.xpm

...and so on for each file

Report

Lucky_luke

1 year ago

Hey thedreadeddandy, I tried you utility and it is a nice way to create themes for more minimal desktop environments! However, I do have a suggestion towards improving your code. The usage of the input() function for user input, forces me to add " " to my input, otherwise python will think I am referencing a variable. I din't expect this behavior initially. The following alternative does not require you to do so: str(raw_input()).

I hope I have been of help and thanks again! If you are thinking of expanding this script to also accept the input of png files for window buttons, I would be willing to help.

Report

C

TheDreadedAndy

1 year ago

Hi Lucky_luke! This script is for python 3, and the error you mentioned occurs only in python 2. As for the addition of window buttons, I have no plans to add this functionality, though I appreciate the offer.

Report

12345678910
product-maker Base: 4 x 5.0 Ratings
cozytuna
Aug 30 2019
mvazquezolmos
Jul 24 2019
rafif_sintech
Jun 21 2018
novomente
Jun 06 2018
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.1
updated Feb 16 2018
added Feb 13 2018
downloads 24h
0
pageviews 24h 3
System Tags linux unix