forked from leftwm/leftwm.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
232 lines (212 loc) · 8.55 KB
/
index.html
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="viewport" content="initial-scale=1.0">
<title>LeftWM - A tiling window manager for Adventurers</title>
<link rel="stylesheet" type="text/css" href="index.css" >
<!-- Favicons -->
<link rel="shortcut icon" type="image/png" href="/logo.png"/>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-36670173-5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-36670173-5');
</script>
</head>
<body>
<img class='logo' src='logo.png' />
<h1>LeftWM - A tiling window manager for Adventurers</h1>
<nav>
<label for='theme'>Theme: </label>
<select id='theme' name='theme'>
<option value = 'default'>Default</option>
</select>
</nav>
<article>
<section>
<h2>Why go left?</h2>
<p>Left is a tiling window manager written in rust for stability and performance. The core of left is designed to do one thing and one thing well. Be a window manager. Because you probably want more than just a black screen LeftWM is built around the concept of theming. With themes you can choose between different bar / compositor / background / colors, whatever makes you happy.</p>
<p>
LeftWM has been built from the very beginning to support multiple screens and has been built around ultrawide monitors. You will see this with the default key bindings
</p>
<p>
Installation instructions can be found on our <a href='https://github.com/leftwm/leftwm' >github page</a>
</p>
</section>
<section>
<h2>Left is Not</h2>
<p>
Left is not a compositor
Left is not a lock screen.
Left is not a bar there are lots of good bars out there. With themes, picking one is as simple as setting a symlink.
</p>
</section>
<section>
<h2>Built for themes</h2>
<p>
LeftWM is built around the concept of theming.
We want you to make it your own.
We want you to use YOUR bar and YOUR background and YOUR tools.
Themes are built in whatever language you want, and use whatever tools YOU want Themes are transportable so you can share your LeftWM experience with others.
Read more about theming on our <a href='https://github.com/leftwm/leftwm/tree/master/themes' >github page</a>
</p>
</section>
<section>
<h2>Screenshots</h2>
<br>
<h3>Single Display</h3>
<a href='screenshots/1.jpg'><img alt='LeftWM' class='screenshot' src='screenshots/1_thumb.jpg' /></a>
<a href='screenshots/2.jpg'><img alt='LeftWM' class='screenshot' src='screenshots/2_thumb.jpg' /></a>
<h3>Dual Display</h3>
<a href='screenshots/3.jpg'><img alt='LeftWM' class='screenshot' src='screenshots/3_thumb.jpg' /></a>
<a href='screenshots/4.jpg'><img alt='LeftWM' class='screenshot' src='screenshots/4_thumb.jpg' /></a>
</section>
</article>
<script type='text/javascript'>
let theme_element = document.getElementById("theme");
theme_element.addEventListener("change", updateTheme);
let themes = {
"orange-forest": {
"background": "https://raw.githubusercontent.com/PVautour/leftwm-theme-orange-forest/master/background.jpg",
"border_width": 4,
"margin": 10,
"default_border_color": "#1E272B",
"floating_border_color": "#1E272B",
"focused_border_color": "#78824B"
},
"soothe": {
"background": "https://raw.githubusercontent.com/b4skyx/leftwm-soothe/master/theme/background.jpg",
"border_width": 1,
"margin": 4,
"default_border_color": "#8a76c2",
"floating_border_color": "#8dace3",
"focused_border_color": "#746acc"
},
"tng": {
"background": "https://raw.githubusercontent.com/lex148/leftwm-tng/master/background.jpg",
"border_width": 10,
"margin": 20,
"default_border_color": "#9797cb",
"floating_border_color": "#9797cb",
"focused_border_color": "#fdcc66"
},
"windows-xp": {
"background": "https://raw.githubusercontent.com/lex148/leftwm-windowsxp/master/wallpaper.jpg",
"border_width": 3,
"margin": 20,
"default_border_color": "#122932",
"floating_border_color": "#2a4d73",
"focused_border_color": "#2a4d73"
},
"dracula-rounded": {
"background": "https://raw.githubusercontent.com/AethanFoot/leftwm-theme-dracula-rounded/master/background.jpg",
"border_width": 2,
"margin": [
8,
8
],
"default_border_color": "#bd93f9",
"floating_border_color": "#bd93f9",
"focused_border_color": "#ff79c6"
},
"forest": {
"background": "https://raw.githubusercontent.com/lex148/forest/master/background.jpg",
"border_width": 5,
"margin": 20,
"default_border_color": "#222222",
"floating_border_color": "#005500",
"focused_border_color": "#FFB53A"
},
"ground-zero": {
"background": "https://raw.githubusercontent.com/Qwart376/Ground-Zero/master/background.jpg",
"border_width": 2,
"margin": 10,
"default_border_color": "#3d3b3c",
"floating_border_color": "#3d3b3c",
"focused_border_color": "#2cb8b5"
},
"red-moon": {
"background": "https://raw.githubusercontent.com/Qwart376/Red-Moon/master/background.jpg",
"border_width": 2,
"margin": 10,
"default_border_color": "#3b3f40",
"floating_border_color": "#3b3f40",
"focused_border_color": "#b44e4c"
},
"blue-coffee": {
"background": "https://raw.githubusercontent.com/Qwart376/Blue-Coffee/master/background.jpg",
"border_width": 0,
"margin": 0,
"default_border_color": "#15304e",
"floating_border_color": "#15304e",
"focused_border_color": "#4d5a8a"
},
"sunflower": {
"background": "https://raw.githubusercontent.com/mautamu/leftwm-sunflower/master/background.jpg",
"border_width": 4,
"margin": [
10,
10
],
"default_border_color": "#df6d26",
"floating_border_color": "#df6d26",
"focused_border_color": "#fba914"
},
"bumblebee": {
"background": "data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=",
"border_width": 2,
"margin": 6,
"default_border_color": "#4A433D",
"floating_border_color": "#E6E5E5",
"focused_border_color": "#FFD000"
},
"changed-sunset": {
"background": "https://raw.githubusercontent.com/Syudagye/changed-sunset/master/background.jpg",
"border_width": 1,
"margin": 4,
"default_border_color": "#1e1e1e",
"floating_border_color": "#e2c08c",
"focused_border_color": "#b27e23"
},
"garden": {
"background": "https://raw.githubusercontent.com/taylor85345/leftwm-theme-garden/master/background.jpg",
"border_width": 1,
"margin": [
8,
8
],
"default_border_color": "#F48FB1",
"floating_border_color": "#F1FF52",
"focused_border_color": "#53E2AE"
}
};
for(var key in themes){
theme_element.innerHTML += "<option value="+key+">"+key+"</option>";
}
let root = document.documentElement;
function updateTheme(){
if(theme_element.value == 'default'){
root.style.setProperty('--background', "#333");
root.style.setProperty('--margin', "5px");
root.style.setProperty('--border_width', "2px");
root.style.setProperty('--default_border_color', "rgba(255,255,0,0.6)");
root.style.setProperty('--focused_border_color', "rgba(255,0,0,0.6)");
root.style.setProperty('--floating_border_color', "rgba(255,255,0,0.6)");
}
root.style.setProperty('--background', "url(" + themes[theme_element.value].background+") no-repeat center center fixed");
root.style.setProperty('--margin', themes[theme_element.value].margin+"px");
root.style.setProperty('--border_width', themes[theme_element.value].border_width+"px");
root.style.setProperty('--default_border_color', themes[theme_element.value].default_border_color);
root.style.setProperty('--focused_border_color', themes[theme_element.value].focused_border_color);
root.style.setProperty('--floating_border_color', themes[theme_element.value].floating_border_color);
}
</script>
</body>
</html>