SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-12-24 04:37:18

Crunchie
New Member
Registered: 2009-12-21
Posts: 8

Switching themes

Hi, I just thought of a really cool idea, I thought I should share it with every tweaker here xD

I thought we could make multiple themes.
and use cron to switch them, that way, we can have a "day" them, a "night" theme and etc

wouldn't that be cool xD

Anyways, I'm just wondering, since we can't use it to run lxappearance and obconf what entries in what files are changed when you change themes (GTK and openbox)?

Offline

Help fund CrunchBang, donate to the project!

#2 2009-12-24 05:13:42

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,282

Re: Switching themes

That would apparently be ~/.gtkrc-2.0

EDIT: ...and ~/.config/openbox/rc.xml

Last edited by pvsage (2009-12-24 05:17:48)

Offline

#3 2009-12-24 05:22:03

Crunchie
New Member
Registered: 2009-12-21
Posts: 8

Re: Switching themes

Thanks for the answer
I noticed, there is also a gtkrc.mine in the same directory as gtkrc-2.0 (gotta love tab,haha)


also, themerc uses fluxbox like syntax, so I don't think it should replace rc.xml

Last edited by Crunchie (2009-12-24 05:22:32)

Offline

#4 2009-12-24 05:40:39

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,282

Re: Switching themes

For the gtk theme switching, it looks like you need a command line tool.  Perhaps GTK Theme Switch?

From the website:
"GTK Theme Switch is a small and fast command line utility to switch GTK themes on the fly."

Offline

#5 2009-12-24 19:50:50

Crunchie
New Member
Registered: 2009-12-21
Posts: 8

Re: Switching themes

Ah cool, that's perfect =P
Don't even have to write scripts to edit files or anything

Offline

#6 2009-12-24 20:30:35

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,282

Re: Switching themes

You might need to write a scriptlet to pass the theme name to the switcher.  I'm not the least bit familiar with cron, but it would seem to be more useful if it lets you send such parameters through it.

Offline

#7 2009-12-25 00:51:52

Crunchie
New Member
Registered: 2009-12-21
Posts: 8

Re: Switching themes

pvsage wrote:

You might need to write a scriptlet to pass the theme name to the switcher.  I'm not the least bit familiar with cron, but it would seem to be more useful if it lets you send such parameters through it.

Yeah, I'm not familiar with it either, just came across it last night.

I think I can always make a script that changes the theme and use cron to run it (I think it should be able to do it) so parameter support or not doesn't really change much.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo