.jwmrc 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <?xml version="1.0"?>
  2. <JWM>
  3. <!-- The root menu. -->
  4. <RootMenu onroot="12">
  5. <Program icon="terminal.png" label="Terminal">xterm</Program>
  6. <Menu icon="folder.png" label="Applications">
  7. <Program icon="music.png" label="Audacious">audacious</Program>
  8. <Program icon="calculator.png" label="Calculator">xcalc</Program>
  9. <Program icon="gimp.png" label="Gimp">gimp</Program>
  10. <Program icon="chat.png" label="Pidgin">pidgin</Program>
  11. <Program icon="www.png" label="Firefox">firefox</Program>
  12. <Program icon="editor.png" label="XEdit">xedit</Program>
  13. </Menu>
  14. <Menu icon="folder.png" label="Utilities">
  15. <Program icon="font.png" label="Fonts">xfontsel</Program>
  16. <Program icon="window.png" label="Window Properties">
  17. xprop | xmessage -file -
  18. </Program>
  19. <Program icon="window.png" label="Window Information">
  20. xwininfo | xmessage -file -
  21. </Program>
  22. </Menu>
  23. <Separator/>
  24. <Program icon="lock.png" label="Lock">
  25. xlock -mode blank
  26. </Program>
  27. <Separator/>
  28. <Restart label="Restart" icon="restart.png"/>
  29. <Exit label="Exit" confirm="true" icon="quit.png"/>
  30. </RootMenu>
  31. <!-- Options for program groups. -->
  32. <Group>
  33. <Option>tiled</Option>
  34. <Option>aerosnap</Option>
  35. </Group>
  36. <Group>
  37. <Class>Pidgin</Class>
  38. <Option>sticky</Option>
  39. </Group>
  40. <Group>
  41. <Name>xterm</Name>
  42. <Option>vmax</Option>
  43. </Group>
  44. <Group>
  45. <Name>xclock</Name>
  46. <Option>drag</Option>
  47. <Option>notitle</Option>
  48. </Group>
  49. <!-- Tray at the bottom. -->
  50. <Tray x="0" y="-1" autohide="off">
  51. <TrayButton icon="jwm-blue">root:1</TrayButton>
  52. <Spacer width="2"/>
  53. <TrayButton label="_">showdesktop</TrayButton>
  54. <Spacer width="2"/>
  55. <Pager labeled="true"/>
  56. <TaskList maxwidth="256"/>
  57. <Dock/>
  58. <Clock format="%H:%M"><Button mask="123">exec:xclock</Button></Clock>
  59. </Tray>
  60. <!-- Visual Styles -->
  61. <WindowStyle>
  62. <Font>Sans-9:bold</Font>
  63. <Width>4</Width>
  64. <Height>21</Height>
  65. <Corner>3</Corner>
  66. <Foreground>#FFFFFF</Foreground>
  67. <Background>#555555</Background>
  68. <Outline>#000000</Outline>
  69. <Opacity>0.5</Opacity>
  70. <Active>
  71. <Foreground>#FFFFFF</Foreground>
  72. <Background>#0077CC</Background>
  73. <Outline>#000000</Outline>
  74. <Opacity>1.0</Opacity>
  75. </Active>
  76. </WindowStyle>
  77. <TrayStyle group="true" list="all">
  78. <Font>Sans-9</Font>
  79. <Background>#333333</Background>
  80. <Foreground>#FFFFFF</Foreground>
  81. <Outline>#000000</Outline>
  82. <Opacity>0.75</Opacity>
  83. </TrayStyle>
  84. <TaskListStyle>
  85. <Font>Sans-9</Font>
  86. <Active>
  87. <Foreground>#FFFFFF</Foreground>
  88. <Background>#555555</Background>
  89. </Active>
  90. <Foreground>#FFFFFF</Foreground>
  91. <Background>#333333</Background>
  92. </TaskListStyle>
  93. <PagerStyle>
  94. <Outline>#000000</Outline>
  95. <Foreground>#555555</Foreground>
  96. <Background>#333333</Background>
  97. <Text>#FFFFFF</Text>
  98. <Active>
  99. <Foreground>#0077CC</Foreground>
  100. <Background>#004488</Background>
  101. </Active>
  102. </PagerStyle>
  103. <MenuStyle>
  104. <Font>Sans-9</Font>
  105. <Foreground>#FFFFFF</Foreground>
  106. <Background>#333333</Background>
  107. <Outline>#000000</Outline>
  108. <Active>
  109. <Foreground>#FFFFFF</Foreground>
  110. <Background>#0077CC</Background>
  111. </Active>
  112. <Opacity>0.85</Opacity>
  113. </MenuStyle>
  114. <PopupStyle>
  115. <Font>Sans-9</Font>
  116. <Foreground>#000000</Foreground>
  117. <Background>#999999</Background>
  118. </PopupStyle>
  119. <!-- Path where icons can be found.
  120. IconPath can be listed multiple times to allow searching
  121. for icons in multiple paths.
  122. -->
  123. <IconPath>
  124. /usr/share/icons/wm-icons/32x32-aquafusion
  125. </IconPath>
  126. <IconPath>
  127. /usr/share/jwm
  128. </IconPath>
  129. <!-- Virtual Desktops -->
  130. <!-- Desktop tags can be contained within Desktops for desktop names. -->
  131. <Desktops width="4" height="1">
  132. <!-- Default background. Note that a Background tag can be
  133. contained within a Desktop tag to give a specific background
  134. for that desktop.
  135. -->
  136. <Background type="solid">#111111</Background>
  137. </Desktops>
  138. <!-- Double click speed (in milliseconds) -->
  139. <DoubleClickSpeed>400</DoubleClickSpeed>
  140. <!-- Double click delta (in pixels) -->
  141. <DoubleClickDelta>2</DoubleClickDelta>
  142. <!-- The focus model (sloppy or click) -->
  143. <FocusModel>sloppy</FocusModel>
  144. <!-- The snap mode (none, screen, or border) -->
  145. <SnapMode distance="10">border</SnapMode>
  146. <!-- The move mode (outline or opaque) -->
  147. <MoveMode>opaque</MoveMode>
  148. <!-- The resize mode (outline or opaque) -->
  149. <ResizeMode>opaque</ResizeMode>
  150. <!-- Key bindings -->
  151. <Key key="Up">up</Key>
  152. <Key key="Down">down</Key>
  153. <Key key="Right">right</Key>
  154. <Key key="Left">left</Key>
  155. <Key key="h">left</Key>
  156. <Key key="j">down</Key>
  157. <Key key="k">up</Key>
  158. <Key key="l">right</Key>
  159. <Key key="Return">select</Key>
  160. <Key key="Escape">escape</Key>
  161. <Key mask="A" key="Tab">nextstacked</Key>
  162. <Key mask="A" key="F4">close</Key>
  163. <Key mask="A" key="#">desktop#</Key>
  164. <Key mask="A" key="F1">root:1</Key>
  165. <Key mask="A" key="F2">window</Key>
  166. <Key mask="A" key="F10">maximize</Key>
  167. <Key mask="A" key="Right">rdesktop</Key>
  168. <Key mask="A" key="Left">ldesktop</Key>
  169. <Key mask="A" key="Up">udesktop</Key>
  170. <Key mask="A" key="Down">ddesktop</Key>
  171. <Key mask="A" key="p">dmenu_run</Key>
  172. <Key mask="CA" key="r">exec:jwm -restart</Key>
  173. <Key mask="CA" key="e">exec:jwm -exit</Key>
  174. <!-- <TaskListStyle> -->
  175. <!-- <ActiveForeground>black</ActiveForeground> -->
  176. <!-- <ActiveBackground>gray90:gray70</ActiveBackground> -->
  177. <!-- </TaskListStyle> -->
  178. <!-- <TaskListStyle> -->
  179. <!-- <ActiveForeground>white</ActiveForeground> -->
  180. <!-- <ActiveBackground>#70849d:#2e3a67</ActiveBackground> -->
  181. <!-- </TaskListStyle> -->
  182. <!-- <!-1- startup -1-> -->
  183. <!-- <Group> -->
  184. <!-- <Class>Conky</Class> -->
  185. <!-- <Option>nolist</Option> -->
  186. <!-- <Option>noborder</Option> -->
  187. <!-- <Option>notitle</Option> -->
  188. <!-- <Option>sticky</Option> -->
  189. <!-- </Group> -->
  190. <!-- poor man tiling window manager -->
  191. <!-- <Key mask="H" key="Up">exec:stiler.py swap</Key> -->
  192. <!-- <Key mask="H" key="Down">exec:stiler.py cycle</Key> -->
  193. <!-- <Key mask="H" key="Left">exec:stiler.py left</Key> -->
  194. <!-- <Key mask="H" key="Right">exec:stiler.py right</Key> -->
  195. </JWM>