summary refs log tree commit diff
path: root/jwmrc
diff options
context:
space:
mode:
Diffstat (limited to 'jwmrc')
-rw-r--r--jwmrc138
1 files changed, 138 insertions, 0 deletions
diff --git a/jwmrc b/jwmrc
new file mode 100644
index 0000000..801f3e6
--- /dev/null
+++ b/jwmrc
@@ -0,0 +1,138 @@
+<?xml version="1.0"?>
+<JWM>
+	<Group>
+		<Option>tiled</Option>
+		<Option>aerosnap</Option>
+	</Group>
+	
+	<RootMenu>
+		<Restart label="Restart" />
+		<Exit label="Exit" confirm="true" />
+	</RootMenu>
+
+	<Tray x="0" y="-1" autohide="off">
+		<TrayButton label="Run">exec:rofi -show combi -modes combi -combi-modes "window,drun,run"</TrayButton>
+    		<Spacer width="2" />
+		<TaskList maxwidth="256"/>
+		<Dock/>
+		<Clock format="%H:%M"></Clock>
+		<Spacer width="2" />
+		<TrayButton label="System">root:1</TrayButton>
+	</Tray>
+
+	<!-- Visual Styles -->
+	<WindowStyle decorations="flat">
+		<Font>Noto Sans CJK SC-16</Font>
+		<Width>4</Width>
+		<!--<Height>32</Height>-->
+		<Corner>0</Corner>
+		
+		<Foreground>#000000</Foreground>
+		<Background>#ffffe8</Background>
+		<Outline>#000000</Outline>
+		<Opacity>1.0</Opacity>
+
+		<Active>
+			<Foreground>#000000</Foreground>
+			<Background>#e5e5d0</Background>
+ 			<Outline>#000000</Outline>
+		</Active>
+	</WindowStyle>
+
+	<MenuStyle>
+		<Background>#ffffe8</Background>
+		<Foreground>#000000</Foreground>
+	</MenuStyle>
+
+	<TrayStyle group="true" list="all">
+		<Font>Noto Sans CJK SC-16</Font>
+		<Background>#ffffe8</Background>
+		<Foreground>#000000</Foreground>
+		<Outline>#000000</Outline>
+		<Opacity>1</Opacity>
+	</TrayStyle>
+
+	<TaskListStyle>
+		<Font>Sans-9</Font>
+		<Active>
+			<Foreground>#000000</Foreground>
+			<Background>#e5e5d8</Background>
+		</Active>
+		<Foreground>#000000</Foreground>
+		<Background>#ffffe8</Background>
+	</TaskListStyle>
+
+	<PopupStyle>
+		<Font>Sans-9</Font>
+		<Foreground>#000000</Foreground>
+		<Background>#ffffe8</Background>
+	</PopupStyle>
+
+    <!-- Path where icons can be found.
+         IconPath can be listed multiple times to allow searching
+         for icons in multiple paths.
+      -->
+    <IconPath>
+        /usr/share/icons/wm-icons/32x32-aquafusion
+    </IconPath>
+    <IconPath>
+        /usr/local/share/jwm
+    </IconPath>
+
+    <!-- Virtual Desktops -->
+    <Desktops width="1" height="1">
+        <Background type="solid">#ffffe8</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 key="XF86Search">exec:rofi -show combi -modes combi -combi-modes "window,drun,run"</Key>
+	<Key mask="A" key="d">exec:rofi -show combi -modes combi -combi-modes "window,drun,run"</Key>
+
+	<Key key="XF86MonBrightnessDown">exec:brightnessctl -d intel_backlight set 5%-</Key>
+	<Key key="XF86MonBrightnessUp">exec:brightnessctl -d intel_backlight set 5%+</Key>
+	<Key key="XF86AudioRaiseVolume">exec:amixer -D pulse sset Master 5%+</Key>
+	<Key key="XF86AudioLowerVolume">exec:amixer -D pulse sset Master 5%-</Key>
+	<Key key="XF86AudioMute">exec:amixer -D pulse sset Master toggle</Key>
+
+	<Key mask="A" key="q">restart</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="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>
+
+</JWM>