2023-05-01 02:58:56 +02:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<JWM>
|
|
|
|
|
|
|
|
<!-- The root menu. -->
|
|
|
|
<RootMenu onroot="12">
|
|
|
|
<!-- <Include>/etc/jwm/debian-menu</Include> -->
|
|
|
|
<Include>exec: xdgmenumaker -n -i -f jwm</Include>
|
2023-05-02 23:26:22 +02:00
|
|
|
<Separator/>
|
2023-05-03 19:19:25 +02:00
|
|
|
<Program icon="video-display-symbolic" label="Display settings">arandr</TrayButton>
|
2023-05-03 12:39:32 +02:00
|
|
|
<Separator/>
|
2023-05-03 19:19:25 +02:00
|
|
|
<Restart label="Restart JWM" icon="emblem-synchronizing-symbolic"/>
|
|
|
|
<Program icon="changes-prevent-symbolic" label="Lock screen">
|
2023-05-02 23:02:13 +02:00
|
|
|
xscreensaver-command -lock
|
2023-05-01 02:58:56 +02:00
|
|
|
</Program>
|
2023-05-03 19:19:25 +02:00
|
|
|
<Exit label="Logout" confirm="true" icon="system-log-out-symbolic"/>
|
2023-05-01 02:58:56 +02:00
|
|
|
<Separator/>
|
2023-05-03 19:19:25 +02:00
|
|
|
<Program label="Reboot" icon="system-reboot-symbolic">
|
2023-05-02 23:02:13 +02:00
|
|
|
gxmessage "Reboot?" -title "Reboot?" -center -buttons Yes:0,No:1 -default No -font "bold 14" && systemctl reboot
|
2023-05-01 02:58:56 +02:00
|
|
|
</Program>
|
2023-05-03 19:19:25 +02:00
|
|
|
<Program label="Shutdown" icon="system-shutdown-symbolic">
|
2023-05-03 00:41:27 +02:00
|
|
|
gxmessage "Shutdown?" -title "Shutdown?" -center -buttons Yes:0,No:1 -default No -font "bold 14" && systemctl poweroff
|
2023-05-01 02:58:56 +02:00
|
|
|
</Program>
|
|
|
|
|
|
|
|
</RootMenu>
|
|
|
|
|
|
|
|
<!-- Options for program groups. -->
|
|
|
|
<Group>
|
|
|
|
<Option>tiled</Option>
|
|
|
|
<Option>aerosnap</Option>
|
|
|
|
</Group>
|
|
|
|
<Group>
|
|
|
|
<Class>Pidgin</Class>
|
|
|
|
<Option>sticky</Option>
|
|
|
|
</Group>
|
|
|
|
<Group>
|
|
|
|
<Name>xterm</Name>
|
|
|
|
<Option>vmax</Option>
|
|
|
|
</Group>
|
|
|
|
<Group>
|
|
|
|
<Name>xclock</Name>
|
|
|
|
<Option>drag</Option>
|
|
|
|
<Option>notitle</Option>
|
|
|
|
</Group>
|
|
|
|
|
|
|
|
<!-- Tray at the bottom. -->
|
|
|
|
<Tray x="0" y="0" height="25" autohide="off">
|
|
|
|
|
2023-10-22 07:47:15 +02:00
|
|
|
<TrayButton icon="/usr/share/nanodesk/images/linux_button.svg">root:1</TrayButton>
|
|
|
|
<Spacer width="2"/>
|
2023-10-22 09:16:07 +02:00
|
|
|
<TrayButton icon="desktop" popup="Show desktop">showdesktop</TrayButton>
|
2023-10-22 07:47:15 +02:00
|
|
|
<Spacer width="2"/>
|
|
|
|
<!-- custom TrayButton -->
|
|
|
|
<TrayButton popup="LXTerminal" icon="lxterminal">exec:lxterminal </TrayButton>
|
|
|
|
<Spacer width="2"/>
|
|
|
|
<TrayButton popup="Falkon Webbrowser" icon="falkon">exec:falkon</TrayButton>
|
|
|
|
<Spacer width="2"/>
|
|
|
|
<TrayButton popup="PCManFM" icon="system-file-manager">exec:pcmanfm</TrayButton>
|
|
|
|
<Spacer width="2"/>
|
|
|
|
|
|
|
|
<Pager labeled="true"/>
|
|
|
|
|
|
|
|
<TaskList maxwidth="256"/>
|
|
|
|
|
|
|
|
<Dock/>
|
|
|
|
<Clock format="%H:%M"><Button mask="123">exec:gsimplecal</Button></Clock>
|
2023-05-01 02:58:56 +02:00
|
|
|
|
2023-10-22 07:47:15 +02:00
|
|
|
</Tray>
|
2023-05-01 02:58:56 +02:00
|
|
|
|
|
|
|
<!-- Visual Styles -->
|
|
|
|
<WindowStyle>
|
|
|
|
<Font>Sans-9:bold</Font>
|
|
|
|
<Width>4</Width>
|
|
|
|
<Height>21</Height>
|
|
|
|
<Corner>3</Corner>
|
|
|
|
<Foreground>#FFFFFF</Foreground>
|
|
|
|
<Background>#555555</Background>
|
|
|
|
<Outline>#000000</Outline>
|
|
|
|
<Opacity>0.5</Opacity>
|
|
|
|
<Active>
|
|
|
|
<Foreground>#FFFFFF</Foreground>
|
2023-05-06 21:46:45 +02:00
|
|
|
<Background>#507098</Background>
|
2023-05-01 02:58:56 +02:00
|
|
|
<Outline>#000000</Outline>
|
|
|
|
<Opacity>1.0</Opacity>
|
|
|
|
</Active>
|
|
|
|
</WindowStyle>
|
|
|
|
<TrayStyle group="true" list="all">
|
|
|
|
<Font>Sans-9</Font>
|
|
|
|
<Background>#777888</Background>
|
|
|
|
<Foreground>#000000</Foreground>
|
|
|
|
<!-- <Background>#333333</Background>
|
|
|
|
<Foreground>#FFFFFF</Foreground> -->
|
|
|
|
|
|
|
|
<Outline>#000000</Outline>
|
|
|
|
<Opacity>0.75</Opacity>
|
|
|
|
</TrayStyle>
|
|
|
|
<TaskListStyle>
|
|
|
|
<Font>Sans-9</Font>
|
|
|
|
<Active>
|
|
|
|
<Foreground>#FFFFFF</Foreground>
|
|
|
|
<Background>#555555</Background>
|
|
|
|
</Active>
|
|
|
|
<Foreground>#FFFFFF</Foreground>
|
|
|
|
<Background>#333333</Background>
|
|
|
|
</TaskListStyle>
|
|
|
|
<PagerStyle>
|
|
|
|
<Outline>#000000</Outline>
|
|
|
|
<Foreground>#555555</Foreground>
|
|
|
|
<Background>#333333</Background>
|
|
|
|
<Text>#FFFFFF</Text>
|
|
|
|
<Active>
|
2023-05-06 21:46:45 +02:00
|
|
|
<Foreground>#507098</Foreground>
|
2023-05-01 02:58:56 +02:00
|
|
|
<Background>#004488</Background>
|
|
|
|
</Active>
|
|
|
|
</PagerStyle>
|
|
|
|
<MenuStyle>
|
|
|
|
<Font>Sans-9</Font>
|
2023-05-02 23:02:13 +02:00
|
|
|
<Foreground>#111111</Foreground>
|
|
|
|
<Background>#777888</Background>
|
2023-05-01 02:58:56 +02:00
|
|
|
<Outline>#000000</Outline>
|
|
|
|
<Active>
|
|
|
|
<Foreground>#FFFFFF</Foreground>
|
2023-05-06 21:46:45 +02:00
|
|
|
<Background>#507098</Background>
|
2023-05-01 02:58:56 +02:00
|
|
|
</Active>
|
|
|
|
<Opacity>0.85</Opacity>
|
|
|
|
</MenuStyle>
|
|
|
|
<PopupStyle>
|
|
|
|
<Font>Sans-9</Font>
|
|
|
|
<Foreground>#000000</Foreground>
|
|
|
|
<Background>#999999</Background>
|
|
|
|
</PopupStyle>
|
|
|
|
|
|
|
|
<!-- Path where icons can be found.
|
|
|
|
IconPath can be listed multiple times to allow searching
|
|
|
|
for icons in multiple paths.
|
|
|
|
-->
|
|
|
|
<IconPath>
|
|
|
|
/usr/local/share/jwm
|
|
|
|
</IconPath>
|
2023-05-03 19:19:25 +02:00
|
|
|
<!-- the comment below is important for nanodesk to put in the actual IconPaths of the system generated by makeanything.sh -->
|
2023-05-03 18:53:52 +02:00
|
|
|
<!-- GENERATED ICONLIST -->
|
|
|
|
|
|
|
|
|
2023-05-01 02:58:56 +02:00
|
|
|
<!-- Virtual Desktops -->
|
|
|
|
<!-- Desktop tags can be contained within Desktops for desktop names. -->
|
|
|
|
<Desktops width="4" 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">#666999</Background>
|
|
|
|
</Desktops>
|
|
|
|
|
|
|
|
<!-- Double click speed (in milliseconds) -->
|
|
|
|
<DoubleClickSpeed>400</DoubleClickSpeed>
|
|
|
|
|
|
|
|
<!-- Double click delta (in pixels) -->
|
|
|
|
<DoubleClickDelta>2</DoubleClickDelta>
|
|
|
|
|
|
|
|
<!-- The focus model (sloppy or click) -->
|
|
|
|
<FocusModel>sloppy</FocusModel>
|
|
|
|
|
|
|
|
<!-- The snap mode (none, screen, or border) -->
|
|
|
|
<SnapMode distance="10">border</SnapMode>
|
|
|
|
|
|
|
|
<!-- The move mode (outline or opaque) -->
|
|
|
|
<MoveMode>opaque</MoveMode>
|
|
|
|
|
|
|
|
<!-- The resize mode (outline or opaque) -->
|
|
|
|
<ResizeMode>opaque</ResizeMode>
|
|
|
|
|
|
|
|
<!-- Key bindings -->
|
|
|
|
<Key key="Up">up</Key>
|
|
|
|
<Key key="Down">down</Key>
|
|
|
|
<Key key="Right">right</Key>
|
|
|
|
<Key key="Left">left</Key>
|
|
|
|
<Key key="h">left</Key>
|
|
|
|
<Key key="j">down</Key>
|
|
|
|
<Key key="k">up</Key>
|
|
|
|
<Key key="l">right</Key>
|
|
|
|
<Key key="Return">select</Key>
|
|
|
|
<Key key="Escape">escape</Key>
|
|
|
|
|
|
|
|
<Key mask="A" key="Tab">nextstacked</Key>
|
|
|
|
<Key mask="A" key="F4">close</Key>
|
|
|
|
<Key mask="A" key="#">desktop#</Key>
|
|
|
|
<Key mask="A" key="F1">root:1</Key>
|
2023-05-03 12:39:32 +02:00
|
|
|
<Key mask="A" key="space">window</Key>
|
2023-05-01 02:58:56 +02:00
|
|
|
<Key mask="A" key="F10">maximize</Key>
|
|
|
|
<Key mask="A" key="Right">rdesktop</Key>
|
|
|
|
<Key mask="A" key="Left">ldesktop</Key>
|
|
|
|
<Key mask="A" key="Up">udesktop</Key>
|
|
|
|
<Key mask="A" key="Down">ddesktop</Key>
|
2023-05-03 15:46:57 +02:00
|
|
|
|
2023-10-22 06:10:08 +02:00
|
|
|
<StartupCommand>nanodesk-first-start</StartupCommand>
|
2023-05-01 02:58:56 +02:00
|
|
|
<StartupCommand>$(find ~/.screenlayout/ -type f -executable|head -n 1)</StartupCommand>
|
2023-10-22 02:49:29 +02:00
|
|
|
<StartupCommand>lxpolkit</StartupCommand>
|
2023-10-22 06:50:22 +02:00
|
|
|
<StartupCommand>pcmanfm --desktop -p nanodesk</StartupCommand>
|
2023-05-02 23:02:13 +02:00
|
|
|
<StartupCommand>xscreensaver -no-splash</StartupCommand>
|
2023-05-03 12:51:27 +02:00
|
|
|
<StartupCommand>volumeicon</StartupCommand>
|
2023-10-23 15:11:14 +02:00
|
|
|
<StartupCommand>nm-applet</StartupCommand>
|
2023-10-22 06:10:08 +02:00
|
|
|
|
2023-05-01 02:58:56 +02:00
|
|
|
|
|
|
|
</JWM>
|