wok-next diff jwm/stuff/simple.jwmrc @ rev 17671

syslinux: tiny edits
author Paul Issott <paul@slitaz.org>
date Tue Feb 17 09:13:31 2015 +0000 (2015-02-17)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/jwm/stuff/simple.jwmrc	Tue Feb 17 09:13:31 2015 +0000
     1.3 @@ -0,0 +1,177 @@
     1.4 +<?xml version="1.0"?>
     1.5 +
     1.6 +<JWM>
     1.7 +
     1.8 +   <!-- The root menu, if this is undefined you will not get a menu. -->
     1.9 +   <!-- Additional RootMenu attributes: onroot, labeled, label -->
    1.10 +   <RootMenu height="26" onroot="123">
    1.11 +      <Program icon="" label="XTerminal">
    1.12 +         xterm -bg black -fg white
    1.13 +      </Program>
    1.14 +
    1.15 +      <Menu icon="applications.png" label="Applications">
    1.16 +         <Program icon="" label="Clex File manager">xterm -e clex</Program>
    1.17 +         <Program icon="" label="Htop System monitor">
    1.18 +            xterm -bg black -fg white -e htop
    1.19 +         </Program>
    1.20 +         <Program icon="" label="Nano Text editor">xterm -e nano</Program>
    1.21 +         <Program icon="" label="Retawq Web browser">
    1.22 +            xterm -bg black -fg white -e retawq
    1.23 +         </Program>
    1.24 +      </Menu>
    1.25 +      
    1.26 +      <Separator/>
    1.27 +      <Restart label="Restart" icon="restart.png"/>
    1.28 +      <Exit label="Exit" confirm="true" icon="exit.png"/>
    1.29 +   </RootMenu>
    1.30 +
    1.31 +   <!-- Additional tray attributes: autohide, width, border, layer, layout -->
    1.32 +   <Tray  x="0" y="-1" height="26">
    1.33 +
    1.34 +      <!-- Additional TrayButton attribute: label -->
    1.35 +      <TrayButton label="SliTaz">root:1</TrayButton>
    1.36 +
    1.37 +      <TrayButton label="_">showdesktop</TrayButton>
    1.38 +
    1.39 +      <!-- Additional Pager attributes; width, height -->
    1.40 +      <Pager/>
    1.41 +
    1.42 +      <!-- Additional TaskList attribute: maxwidth -->
    1.43 +      <TaskList/>
    1.44 +
    1.45 +      <Dock/>
    1.46 +
    1.47 +      <!-- Additional Swallow attribute: height -->
    1.48 +      <!-- <Swallow name="xload" width="64">
    1.49 +         xload -nolabel -bg black -fg red -hl white
    1.50 +      </Swallow> -->
    1.51 +
    1.52 +      <Clock>xclock</Clock>
    1.53 +
    1.54 +   </Tray>
    1.55 +
    1.56 +   <!-- Visual Styles -->
    1.57 +
    1.58 +   <WindowStyle>
    1.59 +
    1.60 +      <Font>FreeSans-9:bold</Font>
    1.61 +      <Width>4</Width>
    1.62 +      <Height>20</Height>
    1.63 +
    1.64 +      <Active>
    1.65 +         <Text>white</Text>
    1.66 +         <Title>#70849d:#2e3a67</Title>
    1.67 +         <Corner>white</Corner>
    1.68 +         <Outline>black</Outline>
    1.69 +      </Active>
    1.70 +
    1.71 +      <Inactive>
    1.72 +         <Text>#aaaaaa</Text>
    1.73 +         <Title>#808488:#303438</Title>
    1.74 +         <Corner>#aaaaaa</Corner>
    1.75 +         <Outline>black</Outline>
    1.76 +      </Inactive>
    1.77 +
    1.78 +   </WindowStyle>
    1.79 +
    1.80 +   <TaskListStyle>
    1.81 +      <Font>FreeSans-11:bold</Font>
    1.82 +      <ActiveForeground>black</ActiveForeground>
    1.83 +      <ActiveBackground>gray90:gray70</ActiveBackground>
    1.84 +      <Foreground>black</Foreground>
    1.85 +      <Background>gray70:gray90</Background>
    1.86 +   </TaskListStyle>
    1.87 +
    1.88 +   <!-- Additional TrayStyle attribute: insert -->
    1.89 +   <TrayStyle>
    1.90 +      <Font>FreeSans-11:bold</Font>
    1.91 +      <Background>gray90</Background>
    1.92 +      <Foreground>black</Foreground>
    1.93 +   </TrayStyle>
    1.94 +
    1.95 +   <PagerStyle>
    1.96 +      <Outline>black</Outline>
    1.97 +      <Foreground>gray90</Foreground>
    1.98 +      <Background>#808488</Background>
    1.99 +      <ActiveForeground>#70849d</ActiveForeground>
   1.100 +      <ActiveBackground>#2e3a67</ActiveBackground>
   1.101 +   </PagerStyle>
   1.102 +
   1.103 +   <MenuStyle>
   1.104 +      <Font>FreeSans-11:bold</Font>
   1.105 +      <Foreground>black</Foreground>
   1.106 +      <Background>gray90</Background>
   1.107 +      <ActiveForeground>white</ActiveForeground>
   1.108 +      <ActiveBackground>#70849d:#2e3a67</ActiveBackground>
   1.109 +   </MenuStyle>
   1.110 +
   1.111 +   <PopupStyle>
   1.112 +      <Font>FreeSans-10</Font>
   1.113 +      <Outline>black</Outline>
   1.114 +      <Foreground>black</Foreground>
   1.115 +      <Background>yellow</Background>
   1.116 +   </PopupStyle>
   1.117 +
   1.118 +   <IconPath>
   1.119 +      $HOME/Images/Icons
   1.120 +   </IconPath>
   1.121 +   <IconPath>
   1.122 +      /usr/share/pixmaps
   1.123 +   </IconPath>
   1.124 +
   1.125 +   <!-- Virtual Desktops -->
   1.126 +   <!-- Desktop tags can be contained within Desktops for desktop names. -->
   1.127 +   <Desktops count="4">
   1.128 +
   1.129 +      <!-- Default background. Note that a Background tag can be
   1.130 +           contained within a Desktop tag to give a specific background
   1.131 +           for that desktop.
   1.132 +       -->
   1.133 +      <Background type="gradient">#BFB06B:#D6C885</Background>
   1.134 +
   1.135 +   </Desktops>
   1.136 +
   1.137 +   <!-- Startup and shutdown commands. -->
   1.138 +   <StartupCommand></StartupCommand>
   1.139 +   <ShutdownCommand>
   1.140 +      killall Xvesa; clear; sleep 2; clear; echo "JWM exit OK. Press ENTER to continue... "
   1.141 +   </ShutdownCommand>
   1.142 +
   1.143 +   <!-- Double click speed (in milliseconds) -->
   1.144 +   <DoubleClickSpeed>400</DoubleClickSpeed>
   1.145 +
   1.146 +   <!-- Double click delta (in pixels) -->
   1.147 +   <DoubleClickDelta>2</DoubleClickDelta>
   1.148 +
   1.149 +   <!-- The focus model (sloppy or click) -->
   1.150 +   <FocusModel>sloppy</FocusModel>
   1.151 +
   1.152 +   <!-- The snap mode (none, screen, or border) -->
   1.153 +   <SnapMode distance="10">border</SnapMode>
   1.154 +
   1.155 +   <!-- The move mode (outline or opaque) -->
   1.156 +   <MoveMode>opaque</MoveMode>
   1.157 +
   1.158 +   <!-- The resize mode (outline or opaque) -->
   1.159 +   <ResizeMode>opaque</ResizeMode>
   1.160 +
   1.161 +   <!-- Key bindings -->
   1.162 +   <Key key="Up">up</Key>
   1.163 +   <Key key="Down">down</Key>
   1.164 +   <Key key="Right">right</Key>
   1.165 +   <Key key="Left">left</Key>
   1.166 +   <Key key="h">left</Key>
   1.167 +   <Key key="j">down</Key>
   1.168 +   <Key key="k">up</Key>
   1.169 +   <Key key="l">right</Key>
   1.170 +   <Key key="Return">select</Key>
   1.171 +   <Key key="Escape">escape</Key>
   1.172 +
   1.173 +   <Key mask="A" key="Tab">nextstacked</Key>
   1.174 +   <Key mask="A" key="F4">close</Key>
   1.175 +   <Key mask="A" key="#">desktop#</Key>
   1.176 +   <Key mask="A" key="F1">root:1</Key>
   1.177 +   <Key mask="A" key="F2">window</Key>
   1.178 +
   1.179 +</JWM>
   1.180 +