File example-jwmrc-2.4.2.patch of Package jwm
--- a/example.jwmrc 2022-10-12 19:54:47.582042503 +0300
+++ b/example.jwmrc 2022-10-12 21:49:30.763840328 +0300
@@ -4,15 +4,15 @@
<!-- The root menu. -->
<RootMenu onroot="12">
<Program icon="utilities-terminal" label="Terminal">xterm</Program>
- <Menu icon="folder" label="Applications">
- <Program icon="sound" label="Audacious">audacious</Program>
- <Program icon="calc" label="Calculator">xcalc</Program>
- <Program icon="web-browser" label="Firefox">firefox</Program>
- <Program icon="image" label="Gimp">gimp</Program>
- <Program icon="email" label="Mail">claws-mail</Program>
+ <!--Menu icon="applications-other" label="Applications">
+ <Program icon="audacious" label="Audacious">audacious</Program>
+ <Program icon="accessories-calculator" label="Calculator">xcalc</Program>
+ <Program icon="firefox" label="Firefox">firefox</Program>
+ <Program icon="gimp" label="Gimp">gimp</Program>
+ <Program icon="claws-mail" label="Mail">claws-mail</Program>
<Program icon="system-file-manager" label="ROX">rox ~</Program>
</Menu>
- <Menu icon="folder" label="Utilities">
+ <Menu icon="applications-utilities" label="Utilities">
<Program icon="font" label="Fonts">xfontsel</Program>
<Program icon="info" label="Window Properties">
xprop | xmessage -file -
@@ -20,19 +20,32 @@
<Program icon="info" label="Window Information">
xwininfo | xmessage -file -
</Program>
- </Menu>
- <Separator/>
- <Program icon="lock" label="Lock">
- xscreensaver-command -lock
- </Program>
+ </Menu-->
+ <Include>exec: jwmxdgmenu</Include>
<Separator/>
<Restart label="Restart" icon="reload"/>
- <Exit label="Exit" confirm="true" icon="exit"/>
+ <Separator/>
+ <Program label="Lock" icon="system-lock-screen">xscreensaver-command -lock</Program>
+ <Exit label="Exit" confirm="true" icon="system-log-out"/>
+ <Program label="Reboot" icon="system-reboot-symbolic">systemctl reboot</Program>
+ <Program label="Poweroff" icon="system-shutdown">systemctl poweroff</Program>
</RootMenu>
<!-- Options for program groups. -->
<Group>
<Option>tiled</Option>
+ <Option>aerosnap</Option>
+ </Group>
+ <Group>
+ <Class>Conky</Class>
+ <Option>nolist</Option>
+ <Option>noborder</Option>
+ <Option>notitle</Option>
+ <Option>sticky</Option>
+ </Group>
+ <Group>
+ <Class>Pidgin</Class>
+ <Option>sticky</Option>
</Group>
<Group>
<Name>xterm</Name>
@@ -45,11 +58,13 @@
</Group>
<!-- Tray at the bottom. -->
- <Tray x="0" y="-1" autohide="off" delay="1000">
+ <Tray x="0" y="-1" height="30" autohide="off" delay="1000">
- <TrayButton label="JWM">root:1</TrayButton>
+ <TrayButton label="Menu" icon="opensuse-dark" border="true">root:1</TrayButton>
<Spacer width="2"/>
- <TrayButton label="_">showdesktop</TrayButton>
+ <TrayButton popup="Show Desktop" label="___" border="true">showdesktop</TrayButton>
+ <TrayButton popup="Browser" icon="firefox" border="true">exec:firefox</TrayButton>
+ <TrayButton popup="Terminal" icon="utilities-terminal" border="true">exec:xterm</TrayButton>
<Spacer width="2"/>
<Pager labeled="true"/>
@@ -59,32 +74,40 @@
<Swallow width="32" height="32" name="xclock">xclock</Swallow>
<Dock/>
- <Clock format="%l:%M %p"><Button mask="123">exec:xclock</Button></Clock>
+ <Clock format="%a %d %b %H:%M"><Button mask="123">exec:gsimplecal</Button></Clock>
</Tray>
<!-- Visual Styles -->
- <WindowStyle decorations="motif">
- <Font>Sans-12:bold</Font>
+ <WindowStyle>
+ <Font>Droid Sans-10:style=Bold</Font>
<Width>4</Width>
- <Corner>0</Corner>
- <Foreground>#FFFFFF</Foreground>
- <Background>#555555</Background>
+ <Height>22</Height>
+ <Corner>4</Corner>
+ <Foreground>#818a7d</Foreground>
+ <Background>#ccd2ca:#c1c7be</Background>
+ <Outline>#939c8f</Outline>
<Opacity>0.5</Opacity>
<Active>
- <Foreground>#FFFFFF</Foreground>
- <Background>#0077CC</Background>
+ <Foreground>#ffffff</Foreground>
+ <Background>#7e9f7a:#a7bca3</Background>
+ <Outline>#939c8f</Outline>
<Opacity>1.0</Opacity>
</Active>
</WindowStyle>
- <TrayStyle decorations="motif">
- <Font>Sans-12</Font>
- <Background>#333333</Background>
- <Foreground>#FFFFFF</Foreground>
+ <TrayStyle>
+ <Font>Droid Sans-10:style=Regular</Font>
+ <Background>#d4d9d2</Background>
+ <Foreground>#3F563C</Foreground>
+ <Outline>#939c8f</Outline>
<Opacity>0.75</Opacity>
+ <Active>
+ <Foreground>#3F563C</Foreground>
+ <Background>#ACB6A9</Background>
+ </Active>
</TrayStyle>
<TaskListStyle list="all" group="true">
- <Font>Sans-12</Font>
+ <Font>Sans-9</Font>
<Active>
<Foreground>#FFFFFF</Foreground>
<Background>#555555</Background>
@@ -93,61 +116,69 @@
<Background>#333333</Background>
</TaskListStyle>
<PagerStyle>
- <Foreground>#555555</Foreground>
- <Background>#333333</Background>
+ <Outline>#D4D9D2</Outline>
+ <Foreground>#D4D9D2</Foreground>
+ <Background>#939C8F</Background>
<Text>#FFFFFF</Text>
<Active>
- <Foreground>#0077CC</Foreground>
- <Background>#004488</Background>
+ <Foreground>#698F64</Foreground>
+ <Background>#4D5F4A</Background>
</Active>
</PagerStyle>
- <MenuStyle decorations="motif">
- <Font>Sans-12</Font>
- <Foreground>#FFFFFF</Foreground>
- <Background>#333333</Background>
+ <MenuStyle>
+ <Font>Droid Sans-10:style=Regular</Font>
+ <Foreground>#3F563C</Foreground>
+ <Background>#d4d9d2</Background>
+ <Outline>#939c8f</Outline>
<Active>
- <Foreground>#FFFFFF</Foreground>
- <Background>#0077CC</Background>
+ <Foreground>#ffffff</Foreground>
+ <Background>#7e9f7a:#a7bca3</Background>
</Active>
<Opacity>0.85</Opacity>
</MenuStyle>
<PopupStyle>
- <Font>Sans-12</Font>
- <Foreground>#000000</Foreground>
- <Background>#999999</Background>
+ <Font>Droid Sans-10:style=Regular</Font>
+ <Outline>#939c8f</Outline>
+ <Foreground>#758473</Foreground>
+ <Background>#b9c7b7</Background>
</PopupStyle>
+ <ButtonClose>/usr/share/jwm/close.svg</ButtonClose>
+ <ButtonMax>/usr/share/jwm/max.svg</ButtonMax>
+ <ButtonMaxActive>/usr/share/jwm/maxact.svg</ButtonMaxActive>
+ <ButtonMin>/usr/share/jwm/min.svg</ButtonMin>
<!-- Path where icons can be found.
IconPath can be listed multiple times to allow searching
for icons in multiple paths.
-->
- <IconPath>
- /usr/local/share/icons/Tango/scalable/actions
- </IconPath>
- <IconPath>
- /usr/local/share/icons/Tango/scalable/apps
- </IconPath>
- <IconPath>
- /usr/local/share/icons/Tango/scalable/places
- </IconPath>
- <IconPath>
- /usr/local/share/icons/Tango/scalable/status
- </IconPath>
- <IconPath>
- /usr/local/share/icons/Tango/scalable/mimetypes
- </IconPath>
- <IconPath>
- /usr/local/share/jwm
- </IconPath>
+ <IconPath>/usr/share/icons/hicolor/24x24/apps</IconPath>
+ <IconPath>/usr/share/icons/hicolor/32x32/apps</IconPath>
+ <IconPath>/usr/share/icons/hicolor/48x48/apps</IconPath>
+ <IconPath>/usr/share/icons/hicolor/64x64/apps</IconPath>
+ <IconPath>/usr/share/icons/Adwaita/24x24/legacy</IconPath>
+ <IconPath>/usr/share/icons/Adwaita/32x32/legacy</IconPath>
+ <IconPath>/usr/share/icons/Adwaita/48x48/legacy</IconPath>
+ <IconPath>/usr/share/icons/Adwaita/scalable/actions</IconPath>
+ <IconPath>/usr/share/pixmaps</IconPath>
+ <IconPath>/usr/share/jwm</IconPath>
+
+ <!-- Autostart -->
+ <StartupCommand>clipit</StartupCommand>
+ <StartupCommand>idesk</StartupCommand>
+ <StartupCommand>nm-applet</StartupCommand>
+ <StartupCommand>pnmixer</StartupCommand>
+ <StartupCommand>gxkb</StartupCommand>
+ <StartupCommand>compton</StartupCommand>
+ <StartupCommand>xscreensaver -no-splash</StartupCommand>
<!-- Virtual Desktops -->
<!-- Desktop tags can be contained within Desktops for desktop names. -->
- <Desktops width="4" height="1">
+ <Desktops width="2" height="1">
<!-- Default background. Note that a Background tag can be
contained within a Desktop tag to give a specific background
for that desktop.
-->
- <Background type="solid">#111111</Background>
+ <Background type="solid">#758473:#4d5f4a</Background>
</Desktops>
<!-- Double click speed (in milliseconds) -->