summary refs log tree commit diff
path: root/jwmrc
blob: e59390cb2f5b529084e5495f7c90c1b325620f58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
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>