summary refs log tree commit diff
path: root/jwmrc
diff options
context:
space:
mode:
authornoa2024-09-07 08:03:52 +0000
committernoa2024-09-07 08:03:52 +0000
commitb9a1cbafda2aaed36c8eca4f7b68aae583918561 (patch)
tree4a0ff7b1abcdfa8f0b94c44485e32d84cdffa1b5 /jwmrc
parent4d75f09ba0f3547ec451e2d3b72422d0822c0b6b (diff)
Add configurations to fossil repo
Diffstat (limited to 'jwmrc')
-rw-r--r--jwmrc140
1 files changed, 140 insertions, 0 deletions
diff --git a/jwmrc b/jwmrc
new file mode 100644
index 0000000..e59390c
--- /dev/null
+++ b/jwmrc
@@ -0,0 +1,140 @@
+<?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:~/Scripts/launch</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>#ffffff</Background>
+		<Outline>#000000</Outline>
+		<Opacity>1.0</Opacity>
+
+		<Active>
+			<Foreground>#000000</Foreground>
+			<Background>#ffffff</Background>
+ 			<Outline>#000000</Outline>
+		</Active>
+	</WindowStyle>
+
+	<MenuStyle>
+		<Background>#ffffff</Background>
+		<Foreground>#000000</Foreground>
+	</MenuStyle>
+
+	<TrayStyle group="true" list="all">
+		<Font>Noto Sans CJK SC-16</Font>
+		<Background>#ffffff</Background>
+		<Foreground>#000000</Foreground>
+		<Outline>#000000</Outline>
+		<Opacity>1</Opacity>
+	</TrayStyle>
+
+	<TaskListStyle>
+		<Font>Sans-9</Font>
+		<Active>
+			<Foreground>#000000</Foreground>
+			<Background>#ffffff</Background>
+		</Active>
+		<Foreground>#000000</Foreground>
+		<Background>#ffffff</Background>
+	</TaskListStyle>
+
+	<PopupStyle>
+		<Font>Sans-9</Font>
+		<Foreground>#000000</Foreground>
+		<Background>#ffffff</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">#ffffff</Background> -->
+		<Background type="image">/home/noa/Pictures/Wallpapers/horse-mono.png</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:~/Scripts/launch</Key>
+	<Key mask="A" key="XF86Search">exec:rofi -show calc -modi calc -no-show-match -no-sort</Key>
+	<Key mask="A" key="p">exec:~/Scripts/enqueue</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>