Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to change JWM selection color?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
thardy01
Tux's lil' helper
Tux's lil' helper


Joined: 05 Aug 2002
Posts: 77

PostPosted: Fri Feb 23, 2018 12:08 pm    Post subject: How to change JWM selection color? Reply with quote

Topic says it all, how do i change the color highlight of selected items? Cant find anything in the config file for it.
Back to top
View user's profile Send private message
PrSo
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2017
Posts: 127

PostPosted: Tue Mar 06, 2018 7:19 am    Post subject: Reply with quote

Hi thardy01,

Have you read the jwm's manual regarded to Tray style colors? Colors are described as the hex triplets in RGB format (#xxxxx).

If there is anything in your config file regarding colors you should create that section.

Example:
Code:
<?xml version="1.0"?>
<JWM>
<!-- JWM theme loosely based on the "Fizzure2" Fluxbox style -->
<StartupCommand>xsri --scale-width=100 --scale-height=100 /usr/share/fluxbox/backgrounds/fractalMovementscape.jpg</StartupCommand>
       <Border>
               <Font antialias="false">-*-helvetica-*-r-*-*-12-*-*-*-*-*-*-*</Font>
               <Foreground>black</Foreground>
               <Background>#a6a6a6</Background>
               <ActiveForeground>#fefefe</ActiveForeground>
               <ActiveBackground>#2152c5</ActiveBackground>
       </Border>
       <Tray>
               <Font antialias="false">-*-helvetica-*-r-*-*-12-*-*-*-*-*-*-*</Font>
               <Foreground>black</Foreground>
               <Background>#a6a6a6</Background>
               <ActiveForeground>#fefefe</ActiveForeground>
               <ActiveBackground>#2152c5</ActiveBackground>
       </Tray>
       <Pager>
               <Outline>#888888</Outline>
               <Foreground>black</Foreground>
               <Background>#2152c5</Background>
               <ActiveForeground>#fefefe</ActiveForeground>
               <ActiveBackground>#4184de</ActiveBackground>
       </Pager>
       <Load>
               <Outline>white</Outline>
               <Foreground>DarkOrange2</Foreground>
               <Background>#2152c5</Background>
       </Load>
       <Popup>
               <Font antialias="false">-*-helvetica-*-r-*-*-12-*-*-*-*-*-*-*</Font>
               <Outline>#a6a6a6</Outline>
               <Foreground>#fefefe</Foreground>
               <Background>#2152c5</Background>
       </Popup>
       <Menu>
               <Font antialias="false">-*-helvetica-*-r-*-*-12-*-*-*-*-*-*-*</Font>
               <Foreground>black</Foreground>
               <Background>#a6a6a6</Background>
               <ActiveForeground>#fefefe</ActiveForeground>
               <ActiveBackground>#2152c5</ActiveBackground>
       </Menu>
</JWM>


You should restart jwm every time for changes in .jwmrc to take effect.

I know that this is the gentoo forum and I shouldn't do that but if you are using jwm as a main window manager i could recommend you a Puppy Linux forum as a vault of information on that topic since it is theirs main WM for a long time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum