Update .jwmrc

This commit is contained in:
2026-11-15 23:26:34 +01:00
parent 66f5883099
commit 698aa6d940

136
.jwmrc
View File

@@ -1,9 +1,8 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<JWM> <JWM>
<!-- The root menu. --> <!-- Root menu: regenerated from .desktop files on every -restart/-reload.
<!-- CHANGED: auto-generated from /usr/share/applications/*.desktop. onroot="0" + the root Mouse bindings below = no desktop-click menus. -->
Re-runs on every jwm -restart / -reload. -->
<RootMenu onroot="0"> <RootMenu onroot="0">
<Include>exec:python3 /home/epochryphon/.jwm/gen-menu.py</Include> <Include>exec:python3 /home/epochryphon/.jwm/gen-menu.py</Include>
<Separator/> <Separator/>
@@ -15,7 +14,7 @@
<Exit label="Log Out" confirm="true" icon="exit"/> <Exit label="Log Out" confirm="true" icon="exit"/>
</RootMenu> </RootMenu>
<!-- Options for program groups. --> <!-- Groups. A group with no Class/Name applies to ALL windows. -->
<Group> <Group>
<Class>Synapse</Class> <Class>Synapse</Class>
<Option>border</Option> <Option>border</Option>
@@ -34,21 +33,16 @@
<Option>notitle</Option> <Option>notitle</Option>
</Group> </Group>
<!-- Tray at the bottom. --> <!-- Bottom tray: start button, tasks, dock, clock. No pager, no show-desktop. -->
<!-- CHANGED: Pager and show-desktop button removed. <Tray height="40">
Workspaces: Alt+arrows / Super+1,2. Show desktop: Super+D. -->
<Tray x="0" y="-1" height="40" autohide="off" delay="1000">
<TrayButton icon="/usr/share/pixmaps/trisquel.png">root:0</TrayButton> <TrayButton icon="/usr/share/pixmaps/trisquel.png">root:0</TrayButton>
<Spacer width="2"/> <Spacer width="2"/>
<TaskList maxwidth="256"/> <TaskList maxwidth="256"/>
<Dock/> <Dock/>
<Clock format="%l:%M %p"><Button mask="123">exec:xclock</Button></Clock> <Clock format="%l:%M %p"><Button mask="123">exec:xclock</Button></Clock>
</Tray> </Tray>
<!-- Visual Styles --> <!-- Styles -->
<WindowStyle decorations="motif"> <WindowStyle decorations="motif">
<Font>Sans-12:bold</Font> <Font>Sans-12:bold</Font>
<Width>4</Width> <Width>4</Width>
@@ -59,7 +53,6 @@
<Active> <Active>
<Foreground>#222222</Foreground> <Foreground>#222222</Foreground>
<Background>#BBBBBB</Background> <Background>#BBBBBB</Background>
<Opacity>1.0</Opacity>
</Active> </Active>
</WindowStyle> </WindowStyle>
<TrayStyle decorations="motif"> <TrayStyle decorations="motif">
@@ -70,12 +63,12 @@
</TrayStyle> </TrayStyle>
<TaskListStyle list="all" group="true"> <TaskListStyle list="all" group="true">
<Font>Sans-12</Font> <Font>Sans-12</Font>
<Foreground>#FFFFFF</Foreground>
<Background>#333333</Background>
<Active> <Active>
<Foreground>#FFFFFF</Foreground> <Foreground>#FFFFFF</Foreground>
<Background>#555555</Background> <Background>#555555</Background>
</Active> </Active>
<Foreground>#FFFFFF</Foreground>
<Background>#333333</Background>
</TaskListStyle> </TaskListStyle>
<MenuStyle decorations="motif"> <MenuStyle decorations="motif">
<Font>Sans-12</Font> <Font>Sans-12</Font>
@@ -93,96 +86,36 @@
<Background>#999999</Background> <Background>#999999</Background>
</PopupStyle> </PopupStyle>
<!-- Path where icons can be found. --> <!-- Icons: 32px rasters first (no downscaling 512px art), then scalable,
<!-- Flatpak app icons (system-wide and per-user installs) --> then catch-alls. Delete the 4 Flatpak lines if `flatpak list` is empty. -->
<IconPath>/var/lib/flatpak/exports/share/icons/hicolor/128x128/apps</IconPath> <IconPath>/var/lib/flatpak/exports/share/icons/hicolor/128x128/apps</IconPath>
<IconPath>/var/lib/flatpak/exports/share/icons/hicolor/scalable/apps</IconPath> <IconPath>/var/lib/flatpak/exports/share/icons/hicolor/scalable/apps</IconPath>
<IconPath>$HOME/.local/share/flatpak/exports/share/icons/hicolor/128x128/apps</IconPath> <IconPath>$HOME/.local/share/flatpak/exports/share/icons/hicolor/128x128/apps</IconPath>
<IconPath>$HOME/.local/share/flatpak/exports/share/icons/hicolor/scalable/apps</IconPath> <IconPath>$HOME/.local/share/flatpak/exports/share/icons/hicolor/scalable/apps</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/actions</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/apps</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/categories</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/devices</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/emblems</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/mimetypes</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/places</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/status</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/actions</IconPath> <IconPath>/usr/share/icons/gnome/32x32/actions</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/animations</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/apps</IconPath> <IconPath>/usr/share/icons/gnome/32x32/apps</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/categories</IconPath> <IconPath>/usr/share/icons/gnome/32x32/categories</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/devices</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/emblems</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/mimetypes</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/places</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/status</IconPath> <IconPath>/usr/share/icons/gnome/32x32/status</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/actions</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/apps</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/categories</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/devices</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/emblems</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/mimetypes</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/places</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/status</IconPath>
<IconPath>/usr/share/icons/hicolor/256x256/apps</IconPath>
<IconPath>/usr/share/icons/hicolor/256x256/mimetypes</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/actions</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/apps</IconPath> <IconPath>/usr/share/icons/hicolor/32x32/apps</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/actions</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/categories</IconPath> <IconPath>/usr/share/icons/hicolor/32x32/categories</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/devices</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/emblems</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/mimetypes</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/status</IconPath> <IconPath>/usr/share/icons/hicolor/32x32/status</IconPath>
<IconPath>/usr/share/icons/hicolor/512x512/apps</IconPath>
<IconPath>/usr/share/icons/hicolor/512x512/mimetypes</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/actions</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/apps</IconPath> <IconPath>/usr/share/icons/hicolor/scalable/apps</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/categories</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/devices</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/emblems</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/mimetypes</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/places</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/status</IconPath>
<IconPath>/usr/share/icons</IconPath> <IconPath>/usr/share/icons</IconPath>
<IconPath>/usr/share/pixmaps</IconPath> <IconPath>/usr/share/pixmaps</IconPath>
<!-- CHANGED: 2 workspaces, no visible pager. --> <!-- 2 workspaces, single row, scaled wallpaper -->
<Desktops width="2" height="1"> <Desktops width="2" height="1">
<Background type="scale">/home/epochryphon/Pictures/Wallpapers/hills.png</Background> <Background type="scale">/home/epochryphon/Pictures/Wallpapers/hills.png</Background>
</Desktops> </Desktops>
<DoubleClickSpeed>400</DoubleClickSpeed>
<DoubleClickDelta>2</DoubleClickDelta>
<FocusModel>click</FocusModel>
<SnapMode distance="10">border</SnapMode> <SnapMode distance="10">border</SnapMode>
<MoveMode>opaque</MoveMode>
<ResizeMode>opaque</ResizeMode>
<StartupCommand>/home/epochryphon/.jwm/startup</StartupCommand> <StartupCommand>/home/epochryphon/.jwm/startup</StartupCommand>
<!-- Key bindings --> <!-- Keys: only non-stock bindings. Alt+F1 kept because stock is root:1. -->
<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:0</Key> <Key mask="A" key="F1">root:0</Key>
<Key mask="A" key="F2">window</Key>
<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>
<!-- Super + arrows: Win7-style snapping --> <!-- Super + arrows / PgUp / PgDn: Win7-style snapping -->
<Key mask="4" key="Left">maxleft</Key> <Key mask="4" key="Left">maxleft</Key>
<Key mask="4" key="Right">maxright</Key> <Key mask="4" key="Right">maxright</Key>
<Key mask="4" key="Up">maximize</Key> <Key mask="4" key="Up">maximize</Key>
@@ -192,47 +125,20 @@
<Key mask="4" key="r">restore</Key> <Key mask="4" key="r">restore</Key>
<Key mask="4" key="d">showdesktop</Key> <Key mask="4" key="d">showdesktop</Key>
<!-- ADDED: workspace control without a pager. <!-- Workspaces without a pager: Super+1/2 switch, Super+Shift+1/2 send -->
Super+1/2 = switch, Super+Shift+1/2 = move window there. -->
<Key mask="4" key="#">desktop#</Key> <Key mask="4" key="#">desktop#</Key>
<Key mask="4S" key="#">send#</Key> <Key mask="4S" key="#">send#</Key>
<!-- Mouse bindings --> <!-- Mouse: desktop clicks dead, desktop scroll switches workspace.
<!-- Disable all mouse buttons on desktop --> Everything else (title/border/buttons) uses JWM defaults. -->
<Mouse context="root" button="1">none</Mouse> <Mouse context="root" button="1">none</Mouse>
<Mouse context="root" button="2">none</Mouse> <Mouse context="root" button="2">none</Mouse>
<Mouse context="root" button="3">none</Mouse> <Mouse context="root" button="3">none</Mouse>
<Mouse context="root" button="4">ldesktop</Mouse> <Mouse context="root" button="4">ldesktop</Mouse>
<Mouse context="root" button="5">rdesktop</Mouse> <Mouse context="root" button="5">rdesktop</Mouse>
<!-- Keys: only non-stock bindings. Alt+F1 kept because stock is root:1. -->
<Mouse context="title" button="1">move</Mouse> <Key mask="A" key="F1">root:0</Key>
<Mouse context="title" button="2">move</Mouse> <Key mask="A" key="Left">ldesktop</Key>
<Mouse context="title" button="3">window</Mouse> <Key mask="A" key="Right">rdesktop</Key>
<Mouse context="title" button="4">shade</Mouse>
<Mouse context="title" button="5">shade</Mouse>
<Mouse context="title" button="11">maximize</Mouse>
<Mouse context="icon" button="1">window</Mouse>
<Mouse context="icon" button="2">move</Mouse>
<Mouse context="icon" button="3">window</Mouse>
<Mouse context="icon" button="4">shade</Mouse>
<Mouse context="icon" button="5">shade</Mouse>
<Mouse context="border" button="1">resize</Mouse>
<Mouse context="border" button="2">move</Mouse>
<Mouse context="border" button="3">window</Mouse>
<Mouse context="close" button="-1">close</Mouse>
<Mouse context="close" button="2">move</Mouse>
<Mouse context="close" button="-3">close</Mouse>
<Mouse context="maximize" button="-1">maximize</Mouse>
<Mouse context="maximize" button="-2">maxv</Mouse>
<Mouse context="maximize" button="-3">maxh</Mouse>
<Mouse context="minimize" button="-1">minimize</Mouse>
<Mouse context="minimize" button="2">move</Mouse>
<Mouse context="minimize" button="-3">shade</Mouse>
</JWM> </JWM>