Update home configuration
homes/sybil-home.scm
17 | 17 | (use-modules (gnu packages pulseaudio)) | |
18 | 18 | (use-modules (gnu packages sync)) | |
19 | 19 | (use-modules (gnu packages xfce)) | |
20 | - | (use-modules (nonfree packages baba-is-you)) | |
20 | + | (use-modules (games packages baba-is-you)) | |
21 | 21 | (use-modules (guix gexp)) | |
22 | 22 | (use-modules (guix import utils)); for flatten | |
23 | 23 |
homes/tachikoma-home.scm unknown status 1
1 | + | (use-modules (home)) | |
2 | + | (use-modules (home openbox)) | |
3 | + | (use-modules (home-config home)) | |
4 | + | ||
5 | + | tyreunom-home |
modules/home-config/bash.scm unknown status 1
1 | + | (define-module (home-config bash) | |
2 | + | #:use-module (home) | |
3 | + | #:use-module (home bash) | |
4 | + | #:export (bash-home)) | |
5 | + | ||
6 | + | (define bash-home | |
7 | + | (user-home bash-home-type | |
8 | + | (bash-configuration | |
9 | + | (history "/home/tyreunom/.local/share/bash/history") | |
10 | + | (rc (append default-bashrc | |
11 | + | '("alias vim=nvim"))) | |
12 | + | (profile (append default-bash-profile | |
13 | + | (list | |
14 | + | "eval \"$(direnv hook bash)\"\n" | |
15 | + | "alias info=\"info --vi-keys\"\n" | |
16 | + | "export EDITOR=nvim\n" | |
17 | + | "export MINETEST_SUBGAME_PATH=" | |
18 | + | (@@ (gnu packages games) minetest-data) | |
19 | + | "/share/minetest/games/\n")))))) |
modules/home-config/files/gitconfig unknown status 1
1 | + | [user] | |
2 | + | email = julien@lepiller.eu | |
3 | + | name = Julien Lepiller | |
4 | + | signingkey = 1EFB09091F17D28CCBF9B13A53D457B2D636EE82 | |
5 | + | ||
6 | + | [sendemail] | |
7 | + | smtpencryption = tls | |
8 | + | smtpserver = lepiller.eu | |
9 | + | smtpuser = tyreunom | |
10 | + | smtpserverport = 587 | |
11 | + | suppresscc = self | |
12 | + | ||
13 | + | [alias] | |
14 | + | co = checkout | |
15 | + | ci = commit | |
16 | + | st = status | |
17 | + | br = branch | |
18 | + | # type = cat-file -t | |
19 | + | # dump = cat-file -p | |
20 | + | lol = log --decorate=short --pretty=format:'%C(yellow) %h %C(white) %s %C(reset)(%C(green)%cN %C(bold blue)%cr%C(reset))%C(yellow)%d%C(reset)' --graph | |
21 | + | lolu = log --decorate=short --pretty=format:'%C(yellow) %h %C(white) %s %C(reset)(%C(green)%cN %C(bold blue)%cr%C(reset))%C(yellow)%d%C(reset)' --graph --all | |
22 | + | lola = log --oneline --graph --decorate --all | |
23 | + | pl = pull --ff-only | |
24 | + | plr = pull --rebase | |
25 | + | rb = rebase --autosquash --autostash -i | |
26 | + | rc = rebase --continue | |
27 | + | clean-remote-branchs = !git remote prune origin && git fetch | |
28 | + | cif = commit --fixup=HEAD | |
29 | + | cf = commit --fixup # commit-id | |
30 | + | blame-follow = log -p -M --follow --stat -- | |
31 | + | cp = cherry-pick | |
32 | + | ss = diff --staged | |
33 | + | p = push | |
34 | + | pf = push --force-with-lease | |
35 | + | fetch = fetch --prune | |
36 | + | ||
37 | + | [color] | |
38 | + | branch = auto | |
39 | + | diff = auto | |
40 | + | interactive = auto | |
41 | + | status = auto | |
42 | + | ui = auto | |
43 | + | ||
44 | + | [diff] | |
45 | + | wsErrorHighlight = all | |
46 | + | renameLimit = 20000 | |
47 | + | algorithm = patience | |
48 | + | ||
49 | + | [core] | |
50 | + | pager = less -F -X | |
51 | + | ||
52 | + | [commit] | |
53 | + | verbose = yes |
modules/home-config/files/openbox/rc.xml unknown status 1
1 | + | <?xml version="1.0" encoding="UTF-8"?> | |
2 | + | <!-- Do not edit this file, it will be overwritten on install. | |
3 | + | Copy the file to $HOME/.config/openbox/ instead. --> | |
4 | + | <openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude"> | |
5 | + | <resistance> | |
6 | + | <strength>10</strength> | |
7 | + | <screen_edge_strength>20</screen_edge_strength> | |
8 | + | </resistance> | |
9 | + | <focus> | |
10 | + | <focusNew>yes</focusNew> | |
11 | + | <!-- always try to focus new windows when they appear. other rules do | |
12 | + | apply --> | |
13 | + | <followMouse>yes</followMouse> | |
14 | + | <!-- move focus to a window when you move the mouse into it --> | |
15 | + | <focusLast>yes</focusLast> | |
16 | + | <!-- focus the last used window when changing desktops, instead of the one | |
17 | + | under the mouse pointer. when followMouse is enabled --> | |
18 | + | <underMouse>no</underMouse> | |
19 | + | <!-- move focus under the mouse, even when the mouse is not moving --> | |
20 | + | <focusDelay>200</focusDelay> | |
21 | + | <!-- when followMouse is enabled, the mouse must be inside the window for | |
22 | + | this many milliseconds (1000 = 1 sec) before moving focus to it --> | |
23 | + | <raiseOnFocus>no</raiseOnFocus> | |
24 | + | <!-- when followMouse is enabled, and a window is given focus by moving the | |
25 | + | mouse into it, also raise the window --> | |
26 | + | </focus> | |
27 | + | <placement> | |
28 | + | <policy>Smart</policy> | |
29 | + | <!-- 'Smart' or 'UnderMouse' --> | |
30 | + | <monitor>Primary</monitor> | |
31 | + | <!-- with Smart placement on a multi-monitor system, try to place new windows | |
32 | + | on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where | |
33 | + | the active window is, 'Primary' - only on the primary monitor --> | |
34 | + | <primaryMonitor>1</primaryMonitor> | |
35 | + | <!-- The monitor where Openbox should place popup dialogs such as the | |
36 | + | focus cycling popup, or the desktop switch popup. It can be an index | |
37 | + | from 1, specifying a particular monitor. Or it can be one of the | |
38 | + | following: 'Mouse' - where the mouse is, or | |
39 | + | 'Active' - where the active window is --> | |
40 | + | </placement> | |
41 | + | <theme> | |
42 | + | <name>Arc-Dark</name> | |
43 | + | <titleLayout>CNLIM</titleLayout> | |
44 | + | <!-- | |
45 | + | available characters are NDSLIMC, each can occur at most once. | |
46 | + | N: window icon | |
47 | + | L: window label (AKA title). | |
48 | + | I: iconify | |
49 | + | M: maximize | |
50 | + | C: close | |
51 | + | S: shade (roll up/down) | |
52 | + | D: omnipresent (on all desktops). | |
53 | + | --> | |
54 | + | <keepBorder>yes</keepBorder> | |
55 | + | <animateIconify>yes</animateIconify> | |
56 | + | <font place="ActiveWindow"> | |
57 | + | <name>progsole</name> | |
58 | + | <size>10</size> | |
59 | + | <!-- font size in points --> | |
60 | + | <weight>Normal</weight> | |
61 | + | <!-- 'bold' or 'normal' --> | |
62 | + | <slant>Normal</slant> | |
63 | + | <!-- 'italic' or 'normal' --> | |
64 | + | </font> | |
65 | + | <font place="InactiveWindow"> | |
66 | + | <name>progsole</name> | |
67 | + | <size>10</size> | |
68 | + | <!-- font size in points --> | |
69 | + | <weight>Bold</weight> | |
70 | + | <!-- 'bold' or 'normal' --> | |
71 | + | <slant>Normal</slant> | |
72 | + | <!-- 'italic' or 'normal' --> | |
73 | + | </font> | |
74 | + | <font place="MenuHeader"> | |
75 | + | <name>CodingFontTobi</name> | |
76 | + | <size>12</size> | |
77 | + | <!-- font size in points --> | |
78 | + | <weight>Normal</weight> | |
79 | + | <!-- 'bold' or 'normal' --> | |
80 | + | <slant>Normal</slant> | |
81 | + | <!-- 'italic' or 'normal' --> | |
82 | + | </font> | |
83 | + | <font place="MenuItem"> | |
84 | + | <name>CodingFontTobi</name> | |
85 | + | <size>12</size> | |
86 | + | <!-- font size in points --> | |
87 | + | <weight>Normal</weight> | |
88 | + | <!-- 'bold' or 'normal' --> | |
89 | + | <slant>Normal</slant> | |
90 | + | <!-- 'italic' or 'normal' --> | |
91 | + | </font> | |
92 | + | <font place="ActiveOnScreenDisplay"> | |
93 | + | <name>Sans</name> | |
94 | + | <size>9</size> | |
95 | + | <!-- font size in points --> | |
96 | + | <weight>Normal</weight> | |
97 | + | <!-- 'bold' or 'normal' --> | |
98 | + | <slant>Normal</slant> | |
99 | + | <!-- 'italic' or 'normal' --> | |
100 | + | </font> | |
101 | + | <font place="InactiveOnScreenDisplay"> | |
102 | + | <name>Sans</name> | |
103 | + | <size>9</size> | |
104 | + | <!-- font size in points --> | |
105 | + | <weight>Normal</weight> | |
106 | + | <!-- 'bold' or 'normal' --> | |
107 | + | <slant>Normal</slant> | |
108 | + | <!-- 'italic' or 'normal' --> | |
109 | + | </font> | |
110 | + | </theme> | |
111 | + | <desktops> | |
112 | + | <!-- this stuff is only used at startup, pagers allow you to change them | |
113 | + | during a session | |
114 | + | ||
115 | + | these are default values to use when other ones are not already set | |
116 | + | by other applications, or saved in your session | |
117 | + | ||
118 | + | use obconf if you want to change these without having to log out | |
119 | + | and back in --> | |
120 | + | <number>8</number> | |
121 | + | <firstdesk>1</firstdesk> | |
122 | + | <names> | |
123 | + | <!-- set names up here if you want to, like this: | |
124 | + | <name>desktop 1</name> | |
125 | + | <name>desktop 2</name> | |
126 | + | --> | |
127 | + | </names> | |
128 | + | <popupTime>875</popupTime> | |
129 | + | <!-- The number of milliseconds to show the popup for when switching | |
130 | + | desktops. Set this to 0 to disable the popup. --> | |
131 | + | </desktops> | |
132 | + | <resize> | |
133 | + | <drawContents>yes</drawContents> | |
134 | + | <popupShow>Nonpixel</popupShow> | |
135 | + | <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) --> | |
136 | + | <popupPosition>Center</popupPosition> | |
137 | + | <!-- 'Center', 'Top', or 'Fixed' --> | |
138 | + | <popupFixedPosition> | |
139 | + | <!-- these are used if popupPosition is set to 'Fixed' --> | |
140 | + | <x>10</x> | |
141 | + | <!-- positive number for distance from left edge, negative number for | |
142 | + | distance from right edge, or 'Center' --> | |
143 | + | <y>10</y> | |
144 | + | <!-- positive number for distance from top edge, negative number for | |
145 | + | distance from bottom edge, or 'Center' --> | |
146 | + | </popupFixedPosition> | |
147 | + | </resize> | |
148 | + | <!-- You can reserve a portion of your screen where windows will not cover when | |
149 | + | they are maximized, or when they are initially placed. | |
150 | + | Many programs reserve space automatically, but you can use this in other | |
151 | + | cases. --> | |
152 | + | <margins> | |
153 | + | <top>0</top> | |
154 | + | <bottom>0</bottom> | |
155 | + | <left>0</left> | |
156 | + | <right>0</right> | |
157 | + | </margins> | |
158 | + | <dock> | |
159 | + | <position>TopLeft</position> | |
160 | + | <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating --> | |
161 | + | <floatingX>0</floatingX> | |
162 | + | <floatingY>0</floatingY> | |
163 | + | <noStrut>no</noStrut> | |
164 | + | <stacking>Above</stacking> | |
165 | + | <!-- 'Above', 'Normal', or 'Below' --> | |
166 | + | <direction>Vertical</direction> | |
167 | + | <!-- 'Vertical' or 'Horizontal' --> | |
168 | + | <autoHide>no</autoHide> | |
169 | + | <hideDelay>300</hideDelay> | |
170 | + | <!-- in milliseconds (1000 = 1 second) --> | |
171 | + | <showDelay>300</showDelay> | |
172 | + | <!-- in milliseconds (1000 = 1 second) --> | |
173 | + | <moveButton>Middle</moveButton> | |
174 | + | <!-- 'Left', 'Middle', 'Right' --> | |
175 | + | </dock> | |
176 | + | <keyboard> | |
177 | + | <chainQuitKey>C-g</chainQuitKey> | |
178 | + | <!-- Keybindings for desktop switching --> | |
179 | + | <keybind key="C-A-Left"> | |
180 | + | <action name="GoToDesktop"> | |
181 | + | <to>left</to> | |
182 | + | <wrap>no</wrap> | |
183 | + | </action> | |
184 | + | </keybind> | |
185 | + | <keybind key="C-A-Right"> | |
186 | + | <action name="GoToDesktop"> | |
187 | + | <to>right</to> | |
188 | + | <wrap>no</wrap> | |
189 | + | </action> | |
190 | + | </keybind> | |
191 | + | <keybind key="C-S-A-Left"> | |
192 | + | <action name="SendToDesktop"> | |
193 | + | <to>left</to> | |
194 | + | <wrap>no</wrap> | |
195 | + | </action> | |
196 | + | </keybind> | |
197 | + | <keybind key="C-S-A-Right"> | |
198 | + | <action name="SendToDesktop"> | |
199 | + | <to>right</to> | |
200 | + | <wrap>no</wrap> | |
201 | + | </action> | |
202 | + | </keybind> | |
203 | + | <keybind key="S-A-Up"> | |
204 | + | <action name="SendToDesktop"> | |
205 | + | <to>up</to> | |
206 | + | <wrap>no</wrap> | |
207 | + | </action> | |
208 | + | </keybind> | |
209 | + | <keybind key="S-A-Down"> | |
210 | + | <action name="SendToDesktop"> | |
211 | + | <to>down</to> | |
212 | + | <wrap>no</wrap> | |
213 | + | </action> | |
214 | + | </keybind> | |
215 | + | <keybind key="C-A-Up"> | |
216 | + | <action name="VolumeChange"> | |
217 | + | <value>5</value> | |
218 | + | </action> | |
219 | + | </keybind> | |
220 | + | <keybind key="C-A-Down"> | |
221 | + | <action name="VolumeChange"> | |
222 | + | <value>-5</value> | |
223 | + | </action> | |
224 | + | </keybind> | |
225 | + | <keybind key="W-F1"> | |
226 | + | <action name="GoToDesktop"> | |
227 | + | <to>1</to> | |
228 | + | </action> | |
229 | + | </keybind> | |
230 | + | <keybind key="W-F2"> | |
231 | + | <action name="GoToDesktop"> | |
232 | + | <to>2</to> | |
233 | + | </action> | |
234 | + | </keybind> | |
235 | + | <keybind key="W-F3"> | |
236 | + | <action name="GoToDesktop"> | |
237 | + | <to>3</to> | |
238 | + | </action> | |
239 | + | </keybind> | |
240 | + | <keybind key="W-F4"> | |
241 | + | <action name="GoToDesktop"> | |
242 | + | <to>4</to> | |
243 | + | </action> | |
244 | + | </keybind> | |
245 | + | <keybind key="W-F5"> | |
246 | + | <action name="GoToDesktop"> | |
247 | + | <to>5</to> | |
248 | + | </action> | |
249 | + | </keybind> | |
250 | + | <keybind key="W-F6"> | |
251 | + | <action name="GoToDesktop"> | |
252 | + | <to>6</to> | |
253 | + | </action> | |
254 | + | </keybind> | |
255 | + | <keybind key="W-F7"> | |
256 | + | <action name="GoToDesktop"> | |
257 | + | <to>7</to> | |
258 | + | </action> | |
259 | + | </keybind> | |
260 | + | <keybind key="W-F8"> | |
261 | + | <action name="GoToDesktop"> | |
262 | + | <to>8</to> | |
263 | + | </action> | |
264 | + | </keybind> | |
265 | + | <keybind key="W-d"> | |
266 | + | <action name="ToggleShowDesktop"/> | |
267 | + | </keybind> | |
268 | + | <!-- Keybindings for windows --> | |
269 | + | <keybind key="A-F4"> | |
270 | + | <action name="Close"/> | |
271 | + | </keybind> | |
272 | + | <keybind key="A-Escape"> | |
273 | + | <action name="Lower"/> | |
274 | + | <action name="FocusToBottom"/> | |
275 | + | <action name="Unfocus"/> | |
276 | + | </keybind> | |
277 | + | <keybind key="A-space"> | |
278 | + | <action name="ShowMenu"> | |
279 | + | <menu>client-menu</menu> | |
280 | + | </action> | |
281 | + | </keybind> | |
282 | + | <!-- Keybindings for window switching --> | |
283 | + | <keybind key="A-Tab"> | |
284 | + | <action name="NextWindow"> | |
285 | + | <finalactions> | |
286 | + | <action name="Focus"/> | |
287 | + | <action name="Raise"/> | |
288 | + | <action name="Unshade"/> | |
289 | + | </finalactions> | |
290 | + | </action> | |
291 | + | </keybind> | |
292 | + | <keybind key="A-S-Tab"> | |
293 | + | <action name="PreviousWindow"> | |
294 | + | <finalactions> | |
295 | + | <action name="Focus"/> | |
296 | + | <action name="Raise"/> | |
297 | + | <action name="Unshade"/> | |
298 | + | </finalactions> | |
299 | + | </action> | |
300 | + | </keybind> | |
301 | + | <keybind key="C-A-Tab"> | |
302 | + | <action name="NextWindow"> | |
303 | + | <panels>yes</panels> | |
304 | + | <desktop>yes</desktop> | |
305 | + | <finalactions> | |
306 | + | <action name="Focus"/> | |
307 | + | <action name="Raise"/> | |
308 | + | <action name="Unshade"/> | |
309 | + | </finalactions> | |
310 | + | </action> | |
311 | + | </keybind> | |
312 | + | <!-- Keybindings for window switching with the arrow keys --> | |
313 | + | <keybind key="W-S-Right"> | |
314 | + | <action name="DirectionalCycleWindows"> | |
315 | + | <direction>right</direction> | |
316 | + | </action> | |
317 | + | </keybind> | |
318 | + | <keybind key="W-S-Left"> | |
319 | + | <action name="DirectionalCycleWindows"> | |
320 | + | <direction>left</direction> | |
321 | + | </action> | |
322 | + | </keybind> | |
323 | + | <keybind key="W-S-Up"> | |
324 | + | <action name="DirectionalCycleWindows"> | |
325 | + | <direction>up</direction> | |
326 | + | </action> | |
327 | + | </keybind> | |
328 | + | <keybind key="W-S-Down"> | |
329 | + | <action name="DirectionalCycleWindows"> | |
330 | + | <direction>down</direction> | |
331 | + | </action> | |
332 | + | </keybind> | |
333 | + | <!-- Keybindings for running applications --> | |
334 | + | <keybind key="W-e"> | |
335 | + | <action name="Execute"> | |
336 | + | <startupnotify> | |
337 | + | <enabled>true</enabled> | |
338 | + | <name>Konqueror</name> | |
339 | + | </startupnotify> | |
340 | + | <command>kfmclient openProfile filemanagement</command> | |
341 | + | </action> | |
342 | + | </keybind> | |
343 | + | <keybind key="W-Up"> | |
344 | + | <action name="MoveResizeTo"> | |
345 | + | <y>15</y> | |
346 | + | </action> | |
347 | + | </keybind> | |
348 | + | <keybind key="W-Right"> | |
349 | + | <action name="MoveResizeTo"> | |
350 | + | <x>-15</x> | |
351 | + | </action> | |
352 | + | </keybind> | |
353 | + | <keybind key="W-Down"> | |
354 | + | <action name="MoveResizeTo"> | |
355 | + | <y>-15</y> | |
356 | + | </action> | |
357 | + | </keybind> | |
358 | + | <keybind key="W-Left"> | |
359 | + | <action name="MoveResizeTo"> | |
360 | + | <x>15</x> | |
361 | + | </action> | |
362 | + | </keybind> | |
363 | + | <keybind key="W-KP_5"> | |
364 | + | <action name="MoveResizeTo"> | |
365 | + | <x>center</x> | |
366 | + | <y>center</y> | |
367 | + | </action> | |
368 | + | </keybind> | |
369 | + | <keybind key="A-W-Up"> | |
370 | + | <action name="MoveResizeTo"> | |
371 | + | <height client="yes">738</height> | |
372 | + | <y>center</y> | |
373 | + | </action> | |
374 | + | </keybind> | |
375 | + | <keybind key="A-W-Down"> | |
376 | + | <action name="MoveResizeTo"> | |
377 | + | <height client="yes">100%</height> | |
378 | + | <y>center</y> | |
379 | + | </action> | |
380 | + | </keybind> | |
381 | + | <keybind key="A-W-Right"> | |
382 | + | <action name="MoveResizeTo"> | |
383 | + | <width client="yes">1336</width> | |
384 | + | <x>15</x> | |
385 | + | </action> | |
386 | + | </keybind> | |
387 | + | <keybind key="A-W-Left"> | |
388 | + | <action name="MoveResizeTo"> | |
389 | + | <width client="yes">100%</width> | |
390 | + | <x>center</x> | |
391 | + | </action> | |
392 | + | </keybind> | |
393 | + | <keybind key="W-m"> | |
394 | + | <action name="ShowMenu"> | |
395 | + | <menu>root-menu</menu> | |
396 | + | </action> | |
397 | + | </keybind> | |
398 | + | <keybind key="W-q"> | |
399 | + | <action name="Close"/> | |
400 | + | </keybind> | |
401 | + | <keybind key="W-S-q"> | |
402 | + | <action name="Exit"> | |
403 | + | <prompt>yes</prompt> | |
404 | + | </action> | |
405 | + | </keybind> | |
406 | + | </keyboard> | |
407 | + | <mouse> | |
408 | + | <dragThreshold>1</dragThreshold> | |
409 | + | <!-- number of pixels the mouse must move before a drag begins --> | |
410 | + | <doubleClickTime>500</doubleClickTime> | |
411 | + | <!-- in milliseconds (1000 = 1 second) --> | |
412 | + | <screenEdgeWarpTime>400</screenEdgeWarpTime> | |
413 | + | <!-- Time before changing desktops when the pointer touches the edge of the | |
414 | + | screen while moving a window, in milliseconds (1000 = 1 second). | |
415 | + | Set this to 0 to disable warping --> | |
416 | + | <screenEdgeWarpMouse>false</screenEdgeWarpMouse> | |
417 | + | <!-- Set this to TRUE to move the mouse pointer across the desktop when | |
418 | + | switching due to hitting the edge of the screen --> | |
419 | + | <context name="Frame"> | |
420 | + | <mousebind action="Press" button="W-Left"> | |
421 | + | <action name="Focus"/> | |
422 | + | <action name="Raise"/> | |
423 | + | </mousebind> | |
424 | + | <mousebind action="DoubleClick" button="W-Left"> | |
425 | + | <action name="Focus"/> | |
426 | + | <action name="Raise"/> | |
427 | + | <action name="ToggleMaximizeFull"/> | |
428 | + | </mousebind> | |
429 | + | <mousebind action="Drag" button="W-A-Left"> | |
430 | + | <action name="Resize"/> | |
431 | + | </mousebind> | |
432 | + | <mousebind action="Press" button="W-Right"> | |
433 | + | <action name="Focus"/> | |
434 | + | <action name="Raise"/> | |
435 | + | <action name="ShowMenu"> | |
436 | + | <menu>client-menu</menu> | |
437 | + | </action> | |
438 | + | </mousebind> | |
439 | + | <mousebind action="Drag" button="W-Left"> | |
440 | + | <action name="Move"/> | |
441 | + | </mousebind> | |
442 | + | <mousebind button="A-Left" action="Press"> | |
443 | + | <action name="Focus"/> | |
444 | + | <action name="Raise"/> | |
445 | + | </mousebind> | |
446 | + | <mousebind button="A-Left" action="Click"> | |
447 | + | <action name="Unshade"/> | |
448 | + | </mousebind> | |
449 | + | <mousebind button="A-Left" action="Drag"> | |
450 | + | <action name="Move"/> | |
451 | + | </mousebind> | |
452 | + | <mousebind button="A-Right" action="Press"> | |
453 | + | <action name="Focus"/> | |
454 | + | <action name="Raise"/> | |
455 | + | <action name="Unshade"/> | |
456 | + | </mousebind> | |
457 | + | <mousebind button="A-Right" action="Drag"> | |
458 | + | <action name="Resize"/> | |
459 | + | </mousebind> | |
460 | + | <mousebind button="A-Middle" action="Press"> | |
461 | + | <action name="Lower"/> | |
462 | + | <action name="FocusToBottom"/> | |
463 | + | <action name="Unfocus"/> | |
464 | + | </mousebind> | |
465 | + | <mousebind button="A-Up" action="Click"> | |
466 | + | <action name="GoToDesktop"> | |
467 | + | <to>previous</to> | |
468 | + | </action> | |
469 | + | </mousebind> | |
470 | + | <mousebind button="A-Down" action="Click"> | |
471 | + | <action name="GoToDesktop"> | |
472 | + | <to>next</to> | |
473 | + | </action> | |
474 | + | </mousebind> | |
475 | + | <mousebind button="C-A-Up" action="Click"> | |
476 | + | <action name="GoToDesktop"> | |
477 | + | <to>previous</to> | |
478 | + | </action> | |
479 | + | </mousebind> | |
480 | + | <mousebind button="C-A-Down" action="Click"> | |
481 | + | <action name="GoToDesktop"> | |
482 | + | <to>next</to> | |
483 | + | </action> | |
484 | + | </mousebind> | |
485 | + | <mousebind button="A-S-Up" action="Click"> | |
486 | + | <action name="SendToDesktop"> | |
487 | + | <to>previous</to> | |
488 | + | </action> | |
489 | + | </mousebind> | |
490 | + | <mousebind button="A-S-Down" action="Click"> | |
491 | + | <action name="SendToDesktop"> | |
492 | + | <to>next</to> | |
493 | + | </action> | |
494 | + | </mousebind> | |
495 | + | </context> | |
496 | + | <context name="Titlebar"> | |
497 | + | <mousebind button="Left" action="Drag"> | |
498 | + | <action name="Move"/> | |
499 | + | </mousebind> | |
500 | + | <mousebind button="Left" action="DoubleClick"> | |
501 | + | <action name="ToggleShade"/> | |
502 | + | </mousebind> | |
503 | + | <mousebind button="Up" action="Click"> | |
504 | + | <action name="if"> | |
505 | + | <shaded>no</shaded> | |
506 | + | <then> | |
507 | + | <action name="Shade"/> | |
508 | + | <action name="FocusToBottom"/> | |
509 | + | <action name="Unfocus"/> | |
510 | + | <action name="Lower"/> | |
511 | + | </then> | |
512 | + | </action> | |
513 | + | </mousebind> | |
514 | + | <mousebind button="Down" action="Click"> | |
515 | + | <action name="if"> | |
516 | + | <shaded>yes</shaded> | |
517 | + | <then> | |
518 | + | <action name="Unshade"/> | |
519 | + | <action name="Raise"/> | |
520 | + | </then> | |
521 | + | </action> | |
522 | + | </mousebind> | |
523 | + | </context> | |
524 | + | <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner"> | |
525 | + | <mousebind button="Left" action="Press"> | |
526 | + | <action name="Focus"/> | |
527 | + | <action name="Raise"/> | |
528 | + | <action name="Unshade"/> | |
529 | + | </mousebind> | |
530 | + | <mousebind button="Middle" action="Press"> | |
531 | + | <action name="Lower"/> | |
532 | + | <action name="FocusToBottom"/> | |
533 | + | <action name="Unfocus"/> | |
534 | + | </mousebind> | |
535 | + | <mousebind button="Right" action="Press"> | |
536 | + | <action name="Focus"/> | |
537 | + | <action name="Raise"/> | |
538 | + | <action name="ShowMenu"> | |
539 | + | <menu>client-menu</menu> | |
540 | + | </action> | |
541 | + | </mousebind> | |
542 | + | </context> | |
543 | + | <context name="Top"> | |
544 | + | <mousebind button="Left" action="Drag"> | |
545 | + | <action name="Resize"> | |
546 | + | <edge>top</edge> | |
547 | + | </action> | |
548 | + | </mousebind> | |
549 | + | </context> | |
550 | + | <context name="Left"> | |
551 | + | <mousebind button="Left" action="Drag"> | |
552 | + | <action name="Resize"> | |
553 | + | <edge>left</edge> | |
554 | + | </action> | |
555 | + | </mousebind> | |
556 | + | </context> | |
557 | + | <context name="Right"> | |
558 | + | <mousebind button="Left" action="Drag"> | |
559 | + | <action name="Resize"> | |
560 | + | <edge>right</edge> | |
561 | + | </action> | |
562 | + | </mousebind> | |
563 | + | </context> | |
564 | + | <context name="Bottom"> | |
565 | + | <mousebind button="Left" action="Drag"> | |
566 | + | <action name="Resize"> | |
567 | + | <edge>bottom</edge> | |
568 | + | </action> | |
569 | + | </mousebind> | |
570 | + | <mousebind button="Right" action="Press"> | |
571 | + | <action name="Focus"/> | |
572 | + | <action name="Raise"/> | |
573 | + | <action name="ShowMenu"> | |
574 | + | <menu>client-menu</menu> | |
575 | + | </action> | |
576 | + | </mousebind> | |
577 | + | </context> | |
578 | + | <context name="TRCorner BRCorner TLCorner BLCorner"> | |
579 | + | <mousebind button="Left" action="Press"> | |
580 | + | <action name="Focus"/> | |
581 | + | <action name="Raise"/> | |
582 | + | <action name="Unshade"/> | |
583 | + | </mousebind> | |
584 | + | <mousebind button="Left" action="Drag"> | |
585 | + | <action name="Resize"/> | |
586 | + | </mousebind> | |
587 | + | </context> | |
588 | + | <context name="Client"> | |
589 | + | <mousebind button="Left" action="Press"> | |
590 | + | <action name="Focus"/> | |
591 | + | <action name="Raise"/> | |
592 | + | </mousebind> | |
593 | + | <mousebind button="Middle" action="Press"> | |
594 | + | <action name="Focus"/> | |
595 | + | <action name="Raise"/> | |
596 | + | </mousebind> | |
597 | + | <mousebind button="Right" action="Press"> | |
598 | + | <action name="Focus"/> | |
599 | + | <action name="Raise"/> | |
600 | + | </mousebind> | |
601 | + | </context> | |
602 | + | <context name="Icon"> | |
603 | + | <mousebind button="Left" action="Press"> | |
604 | + | <action name="Focus"/> | |
605 | + | <action name="Raise"/> | |
606 | + | <action name="Unshade"/> | |
607 | + | <action name="ShowMenu"> | |
608 | + | <menu>client-menu</menu> | |
609 | + | </action> | |
610 | + | </mousebind> | |
611 | + | <mousebind button="Right" action="Press"> | |
612 | + | <action name="Focus"/> | |
613 | + | <action name="Raise"/> | |
614 | + | <action name="ShowMenu"> | |
615 | + | <menu>client-menu</menu> | |
616 | + | </action> | |
617 | + | </mousebind> | |
618 | + | </context> | |
619 | + | <context name="AllDesktops"> | |
620 | + | <mousebind button="Left" action="Press"> | |
621 | + | <action name="Focus"/> | |
622 | + | <action name="Raise"/> | |
623 | + | <action name="Unshade"/> | |
624 | + | </mousebind> | |
625 | + | <mousebind button="Left" action="Click"> | |
626 | + | <action name="ToggleOmnipresent"/> | |
627 | + | </mousebind> | |
628 | + | </context> | |
629 | + | <context name="Shade"> | |
630 | + | <mousebind button="Left" action="Press"> | |
631 | + | <action name="Focus"/> | |
632 | + | <action name="Raise"/> | |
633 | + | </mousebind> | |
634 | + | <mousebind button="Left" action="Click"> | |
635 | + | <action name="ToggleShade"/> | |
636 | + | </mousebind> | |
637 | + | </context> | |
638 | + | <context name="Iconify"> | |
639 | + | <mousebind button="Left" action="Press"> | |
640 | + | <action name="Focus"/> | |
641 | + | <action name="Raise"/> | |
642 | + | </mousebind> | |
643 | + | <mousebind button="Left" action="Click"> | |
644 | + | <action name="Iconify"/> | |
645 | + | </mousebind> | |
646 | + | </context> | |
647 | + | <context name="Maximize"> | |
648 | + | <mousebind button="Left" action="Press"> | |
649 | + | <action name="Focus"/> | |
650 | + | <action name="Raise"/> | |
651 | + | <action name="Unshade"/> | |
652 | + | </mousebind> | |
653 | + | <mousebind button="Middle" action="Press"> | |
654 | + | <action name="Focus"/> | |
655 | + | <action name="Raise"/> | |
656 | + | <action name="Unshade"/> | |
657 | + | </mousebind> | |
658 | + | <mousebind button="Right" action="Press"> | |
659 | + | <action name="Focus"/> | |
660 | + | <action name="Raise"/> | |
661 | + | <action name="Unshade"/> | |
662 | + | </mousebind> | |
663 | + | <mousebind button="Left" action="Click"> | |
664 | + | <action name="ToggleMaximize"/> | |
665 | + | </mousebind> | |
666 | + | <mousebind button="Middle" action="Click"> | |
667 | + | <action name="ToggleMaximize"> | |
668 | + | <direction>vertical</direction> | |
669 | + | </action> | |
670 | + | </mousebind> | |
671 | + | <mousebind button="Right" action="Click"> | |
672 | + | <action name="ToggleMaximize"> | |
673 | + | <direction>horizontal</direction> | |
674 | + | </action> | |
675 | + | </mousebind> | |
676 | + | </context> | |
677 | + | <context name="Close"> | |
678 | + | <mousebind button="Left" action="Press"> | |
679 | + | <action name="Focus"/> | |
680 | + | <action name="Raise"/> | |
681 | + | <action name="Unshade"/> | |
682 | + | </mousebind> | |
683 | + | <mousebind button="Left" action="Click"> | |
684 | + | <action name="Close"/> | |
685 | + | </mousebind> | |
686 | + | </context> | |
687 | + | <context name="Desktop"> | |
688 | + | <mousebind button="Up" action="Click"> | |
689 | + | <action name="GoToDesktop"> | |
690 | + | <to>previous</to> | |
691 | + | </action> | |
692 | + | </mousebind> | |
693 | + | <mousebind button="Down" action="Click"> | |
694 | + | <action name="GoToDesktop"> | |
695 | + | <to>next</to> | |
696 | + | </action> | |
697 | + | </mousebind> | |
698 | + | <mousebind button="A-Up" action="Click"> | |
699 | + | <action name="GoToDesktop"> | |
700 | + | <to>previous</to> | |
701 | + | </action> | |
702 | + | </mousebind> | |
703 | + | <mousebind button="A-Down" action="Click"> | |
704 | + | <action name="GoToDesktop"> | |
705 | + | <to>next</to> | |
706 | + | </action> | |
707 | + | </mousebind> | |
708 | + | <mousebind button="C-A-Up" action="Click"> | |
709 | + | <action name="GoToDesktop"> | |
710 | + | <to>previous</to> | |
711 | + | </action> | |
712 | + | </mousebind> | |
713 | + | <mousebind button="C-A-Down" action="Click"> | |
714 | + | <action name="GoToDesktop"> | |
715 | + | <to>next</to> | |
716 | + | </action> | |
717 | + | </mousebind> | |
718 | + | <mousebind button="Left" action="Press"> | |
719 | + | <action name="Focus"/> | |
720 | + | <action name="Raise"/> | |
721 | + | </mousebind> | |
722 | + | <mousebind button="Right" action="Press"> | |
723 | + | <action name="Focus"/> | |
724 | + | <action name="Raise"/> | |
725 | + | </mousebind> | |
726 | + | </context> | |
727 | + | <context name="Root"> | |
728 | + | <!-- Menus --> | |
729 | + | <mousebind button="Middle" action="Press"> | |
730 | + | <action name="ShowMenu"> | |
731 | + | <menu>client-list-combined-menu</menu> | |
732 | + | </action> | |
733 | + | </mousebind> | |
734 | + | <mousebind button="Right" action="Press"> | |
735 | + | <action name="ShowMenu"> | |
736 | + | <menu>root-menu</menu> | |
737 | + | </action> | |
738 | + | </mousebind> | |
739 | + | </context> | |
740 | + | <context name="MoveResize"> | |
741 | + | <mousebind button="Up" action="Click"> | |
742 | + | <action name="GoToDesktop"> | |
743 | + | <to>previous</to> | |
744 | + | </action> | |
745 | + | </mousebind> | |
746 | + | <mousebind button="Down" action="Click"> | |
747 | + | <action name="GoToDesktop"> | |
748 | + | <to>next</to> | |
749 | + | </action> | |
750 | + | </mousebind> | |
751 | + | <mousebind button="A-Up" action="Click"> | |
752 | + | <action name="GoToDesktop"> | |
753 | + | <to>previous</to> | |
754 | + | </action> | |
755 | + | </mousebind> | |
756 | + | <mousebind button="A-Down" action="Click"> | |
757 | + | <action name="GoToDesktop"> | |
758 | + | <to>next</to> | |
759 | + | </action> | |
760 | + | </mousebind> | |
761 | + | </context> | |
762 | + | </mouse> | |
763 | + | <menu> | |
764 | + | <!-- You can specify more than one menu file in here and they are all loaded, | |
765 | + | just don't make menu ids clash or, well, it'll be kind of pointless --> | |
766 | + | <!-- default menu file (or custom one in $HOME/.config/openbox/) --> | |
767 | + | <file>menu.xml</file> | |
768 | + | <hideDelay>200</hideDelay> | |
769 | + | <!-- if a press-release lasts longer than this setting (in milliseconds), the | |
770 | + | menu is hidden again --> | |
771 | + | <middle>no</middle> | |
772 | + | <!-- center submenus vertically about the parent entry --> | |
773 | + | <submenuShowDelay>100</submenuShowDelay> | |
774 | + | <!-- time to delay before showing a submenu after hovering over the parent | |
775 | + | entry. | |
776 | + | if this is a negative value, then the delay is infinite and the | |
777 | + | submenu will not be shown until it is clicked on --> | |
778 | + | <submenuHideDelay>400</submenuHideDelay> | |
779 | + | <!-- time to delay before hiding a submenu when selecting another | |
780 | + | entry in parent menu | |
781 | + | if this is a negative value, then the delay is infinite and the | |
782 | + | submenu will not be hidden until a different submenu is opened --> | |
783 | + | <showIcons>yes</showIcons> | |
784 | + | <!-- controls if icons appear in the client-list-(combined-)menu --> | |
785 | + | <manageDesktops>yes</manageDesktops> | |
786 | + | <!-- show the manage desktops section in the client-list-(combined-)menu --> | |
787 | + | </menu> | |
788 | + | <applications> | |
789 | + | <application class="*"> | |
790 | + | <decor>no</decor> | |
791 | + | </application> | |
792 | + | <!-- | |
793 | + | # this is an example with comments through out. use these to make your | |
794 | + | # own rules, but without the comments of course. | |
795 | + | # you may use one or more of the name/class/role/title/type rules to specify | |
796 | + | # windows to match | |
797 | + | ||
798 | + | <application name="the window's _OB_APP_NAME property (see obxprop)" | |
799 | + | class="the window's _OB_APP_CLASS property (see obxprop)" | |
800 | + | groupname="the window's _OB_APP_GROUP_NAME property (see obxprop)" | |
801 | + | groupclass="the window's _OB_APP_GROUP_CLASS property (see obxprop)" | |
802 | + | role="the window's _OB_APP_ROLE property (see obxprop)" | |
803 | + | title="the window's _OB_APP_TITLE property (see obxprop)" | |
804 | + | type="the window's _OB_APP_TYPE property (see obxprob).. | |
805 | + | (if unspecified, then it is 'dialog' for child windows)"> | |
806 | + | # you may set only one of name/class/role/title/type, or you may use more | |
807 | + | # than one together to restrict your matches. | |
808 | + | ||
809 | + | # the name, class, role, and title use simple wildcard matching such as those | |
810 | + | # used by a shell. you can use * to match any characters and ? to match | |
811 | + | # any single character. | |
812 | + | ||
813 | + | # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock, | |
814 | + | # or desktop | |
815 | + | ||
816 | + | # when multiple rules match a window, they will all be applied, in the | |
817 | + | # order that they appear in this list | |
818 | + | ||
819 | + | ||
820 | + | # each rule element can be left out or set to 'default' to specify to not | |
821 | + | # change that attribute of the window | |
822 | + | ||
823 | + | <decor>yes</decor> | |
824 | + | # enable or disable window decorations | |
825 | + | ||
826 | + | <shade>no</shade> | |
827 | + | # make the window shaded when it appears, or not | |
828 | + | ||
829 | + | <position force="no"> | |
830 | + | # the position is only used if both an x and y coordinate are provided | |
831 | + | # (and not set to 'default') | |
832 | + | # when force is "yes", then the window will be placed here even if it | |
833 | + | # says you want it placed elsewhere. this is to override buggy | |
834 | + | # applications who refuse to behave | |
835 | + | <x>center</x> | |
836 | + | # a number like 50, or 'center' to center on screen. use a negative number | |
837 | + | # to start from the right (or bottom for <y>), ie -50 is 50 pixels from | |
838 | + | # the right edge (or bottom). use 'default' to specify using value | |
839 | + | # provided by the application, or chosen by openbox, instead. | |
840 | + | <y>200</y> | |
841 | + | <monitor>1</monitor> | |
842 | + | # specifies the monitor in a xinerama setup. | |
843 | + | # 1 is the first head, or 'mouse' for wherever the mouse is | |
844 | + | </position> | |
845 | + | ||
846 | + | <size> | |
847 | + | # the size to make the window. | |
848 | + | <width>20</width> | |
849 | + | # a number like 20, or 'default' to use the size given by the application. | |
850 | + | # you can use fractions such as 1/2 or percentages such as 75% in which | |
851 | + | # case the value is relative to the size of the monitor that the window | |
852 | + | # appears on. | |
853 | + | <height>30%</height> | |
854 | + | </size> | |
855 | + | ||
856 | + | <focus>yes</focus> | |
857 | + | # if the window should try be given focus when it appears. if this is set | |
858 | + | # to yes it doesn't guarantee the window will be given focus. some | |
859 | + | # restrictions may apply, but Openbox will try to | |
860 | + | ||
861 | + | <desktop>1</desktop> | |
862 | + | # 1 is the first desktop, 'all' for all desktops | |
863 | + | ||
864 | + | <layer>normal</layer> | |
865 | + | # 'above', 'normal', or 'below' | |
866 | + | ||
867 | + | <iconic>no</iconic> | |
868 | + | # make the window iconified when it appears, or not | |
869 | + | ||
870 | + | <skip_pager>no</skip_pager> | |
871 | + | # asks to not be shown in pagers | |
872 | + | ||
873 | + | <skip_taskbar>no</skip_taskbar> | |
874 | + | # asks to not be shown in taskbars. window cycling actions will also | |
875 | + | # skip past such windows | |
876 | + | ||
877 | + | <fullscreen>yes</fullscreen> | |
878 | + | # make the window in fullscreen mode when it appears | |
879 | + | ||
880 | + | <maximized>true</maximized> | |
881 | + | # 'Horizontal', 'Vertical' or boolean (yes/no) | |
882 | + | </application> | |
883 | + | ||
884 | + | # end of the example | |
885 | + | --> | |
886 | + | </applications> | |
887 | + | </openbox_config> |
modules/home-config/files/xfce4-terminal/terminalrc unknown status 1
1 | + | [Configuration] | |
2 | + | MiscAlwaysShowTabs=FALSE | |
3 | + | MiscBell=FALSE | |
4 | + | MiscBordersDefault=TRUE | |
5 | + | MiscCursorBlinks=FALSE | |
6 | + | MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK | |
7 | + | MiscDefaultGeometry=80x24 | |
8 | + | MiscInheritGeometry=FALSE | |
9 | + | MiscMenubarDefault=FALSE | |
10 | + | MiscMouseAutohide=FALSE | |
11 | + | MiscToolbarDefault=FALSE | |
12 | + | MiscConfirmClose=TRUE | |
13 | + | MiscCycleTabs=TRUE | |
14 | + | MiscTabCloseButtons=TRUE | |
15 | + | MiscTabCloseMiddleClick=TRUE | |
16 | + | MiscTabPosition=GTK_POS_TOP | |
17 | + | MiscHighlightUrls=TRUE | |
18 | + | ScrollingBar=TERMINAL_SCROLLBAR_NONE | |
19 | + | FontName=Nimbus Mono L 14 | |
20 | + | ScrollingOnOutput=FALSE | |
21 | + | ColorBackground=#0b17059e059e | |
22 | + | ColorForeground=#fcfcafaf3e3e | |
23 | + | ColorCursor=#3f3f4e4e5353 | |
24 | + | ColorBold=#586e75 | |
25 | + | ColorPalette=rgb(238,232,213);rgb(232,80,77);rgb(122,136,28);rgb(181,119,0);rgb(103,176,226);rgb(200,65,130);rgb(46,155,162);rgb(7,54,66);rgb(253,246,227);rgb(203,75,22);rgb(133,172,149);rgb(217,218,183);rgb(149,203,222);rgb(108,113,196);rgb(138,184,198);rgb(0,43,54) | |
26 | + | TabActivityColor=#dc322f | |
27 | + | MiscBellUrgent=FALSE | |
28 | + | MiscMouseWheelZoom=TRUE | |
29 | + | MiscMiddleClickOpensUri=FALSE | |
30 | + | MiscCopyOnSelect=FALSE | |
31 | + | MiscDefaultWorkingDir= | |
32 | + | MiscRewrapOnResize=TRUE | |
33 | + | MiscUseShiftArrowsToScroll=FALSE | |
34 | + | MiscSlimTabs=FALSE | |
35 | + | ScrollingUnlimited=TRUE | |
36 | + | BackgroundMode=TERMINAL_BACKGROUND_TRANSPARENT | |
37 | + | BackgroundDarkness=0,420000 | |
38 | + |
modules/home-config/git.scm unknown status 1
1 | + | (define-module (home-config git) | |
2 | + | #:use-module (guix gexp) | |
3 | + | #:use-module (home utils) | |
4 | + | #:export (git-home)) | |
5 | + | ||
6 | + | (define git-home | |
7 | + | (simple-file-home | |
8 | + | (local-file "files/gitconfig") | |
9 | + | ".gitconfig")) |
modules/home-config/gtk.scm unknown status 1
1 | + | (define-module (home-config gtk) | |
2 | + | #:use-module (guix gexp) | |
3 | + | #:use-module (home utils) | |
4 | + | #:export (gtk2-home | |
5 | + | gtk3-home)) | |
6 | + | ||
7 | + | (define gtk2-home | |
8 | + | (simple-file-home | |
9 | + | (plain-file "gtkrc-2.0" | |
10 | + | "gtk-theme-name=\"Arc-Dark\" | |
11 | + | gtk-icon-theme-name=\"Arc\"") | |
12 | + | ".gtkrc-2.0")) | |
13 | + | ||
14 | + | (define gtk3-home | |
15 | + | (simple-file-home | |
16 | + | (plain-file "settings.ini" | |
17 | + | "[Settings] | |
18 | + | gtk-theme-name=Arc-Dark | |
19 | + | gtk-icon-theme-name=Arc") | |
20 | + | ".config/gtk-3.0/settings.ini")) |
modules/home-config/hexchat.scm unknown status 1
1 | + | (define-module (home-config hexchat) | |
2 | + | #:use-module (home) | |
3 | + | #:use-module (home hexchat) | |
4 | + | #:export (hexchat-home)) | |
5 | + | ||
6 | + | (define hexchat-home | |
7 | + | (user-home hexchat-home-type | |
8 | + | (hexchat-configuration | |
9 | + | (servlist | |
10 | + | (list | |
11 | + | (hexchat-server | |
12 | + | (name "ZNC") | |
13 | + | (servers '("lepiller.eu/6697")) | |
14 | + | (flags '(cycle global honor-proxy ssl favorite | |
15 | + | allow-invalid-certificates))))) | |
16 | + | (log-dir "/data/tyreunom/.local/share/hexchat/logs") | |
17 | + | (scrollback-dir "/data/tyreunom/.local/share/hexchat/scrollback")))) |
modules/home-config/home.scm unknown status 1
1 | + | (define-module (home-config home) | |
2 | + | #:use-module (home-config bash) | |
3 | + | #:use-module (home-config git) | |
4 | + | #:use-module (home-config gtk) | |
5 | + | #:use-module (home-config hexchat) | |
6 | + | ;#:use-module (home-config icecat) | |
7 | + | #:use-module (home-config keepassxc) | |
8 | + | #:use-module (home-config neovim) | |
9 | + | #:use-module (home-config openbox) | |
10 | + | #:use-module (home-config ssh) | |
11 | + | #:use-module (home-config xfce) | |
12 | + | #:use-module (home utils) | |
13 | + | #:use-module (home) | |
14 | + | #:export (tyreunom-home)) | |
15 | + | ||
16 | + | (define tyreunom-home | |
17 | + | (home | |
18 | + | (data-directory "/data/tyreunom") | |
19 | + | (configurations | |
20 | + | (list | |
21 | + | bash-home | |
22 | + | git-home | |
23 | + | gtk2-home | |
24 | + | gtk3-home | |
25 | + | hexchat-home | |
26 | + | ;icecat-home | |
27 | + | keepassxc-home | |
28 | + | neovim-home | |
29 | + | openbox-home | |
30 | + | ssh-home | |
31 | + | xfce4-terminal-home | |
32 | + | (symlink-file-home "/data/tyreunom/.config/unity3d" ".config/unity3d") | |
33 | + | (symlink-file-home "/data/tyreunom/.config/dconf" ".config/dconf") | |
34 | + | (symlink-file-home "/data/tyreunom/.config/offlate" ".config/offlate") | |
35 | + | (symlink-file-home "/data/tyreunom/.config/godot" ".config/godot") | |
36 | + | (symlink-file-home "/data/tyreunom/.config/JOSM" ".config/JOSM") | |
37 | + | (symlink-file-home "/data/tyreunom/.config/obs-studio" ".config/obs-studio") | |
38 | + | (symlink-file-home "/data/tyreunom/.config/aseprite" ".config/aseprite") | |
39 | + | (symlink-file-home "/data/tyreunom/.config/inkscape" ".config/inkscape") | |
40 | + | (symlink-file-home "/data/tyreunom/.mozilla" ".mozilla") | |
41 | + | (symlink-file-home "/data/tyreunom/.config/factorio" ".factorio") | |
42 | + | (symlink-file-home "/data/tyreunom/.config/ibus" ".config/ibus") | |
43 | + | (symlink-file-home "/data/tyreunom/.config/gimp" ".config/GIMP") | |
44 | + | (symlink-file-home "/data/tyreunom/.config/minetest" ".minetest") | |
45 | + | (symlink-file-home "/data/tyreunom/.config/audacity-data" ".audacity-data") | |
46 | + | (symlink-file-home "/data/tyreunom/.config/0ad" ".config/0ad") | |
47 | + | (symlink-file-home "/data/tyreunom/.config/openshot_qt" ".openshot_qt") | |
48 | + | (symlink-file-home "/data/tyreunom/.config/qutebrowser" ".config/qutebrowser") | |
49 | + | (symlink-file-home "/mnt/hdd/android/home/AndroidStudio4.0" ".AndroidStudio4.0") | |
50 | + | (symlink-file-home "/mnt/hdd/android/home/android" ".android") | |
51 | + | (symlink-file-home "/mnt/hdd/android/home/gradle" ".gradle") | |
52 | + | (symlink-file-home "/data/tyreunom/Downloads" "Downloads") | |
53 | + | ;(symlink-file-home "/mnt/usb/.gnupg" ".gnupg") | |
54 | + | (symlink-file-home "/data/tyreunom/.gnupg" ".gnupg") | |
55 | + | (symlink-file-home "/data/tyreunom/.guilerc" ".guilerc") | |
56 | + | (symlink-file-home "/data/tyreunom/.config/guix-gaming-channels" | |
57 | + | ".config/guix-gaming-channels"))))) |
modules/home-config/icecat.scm unknown status 1
1 | + | (define-module (home-config icecat) | |
2 | + | #:use-module (home) | |
3 | + | #:use-module (home icecat) | |
4 | + | #:export (icecat-home)) | |
5 | + | ||
6 | + | (define icecat-home | |
7 | + | (user-home icecat-home-type | |
8 | + | (icecat-configuration | |
9 | + | (profiles | |
10 | + | (list | |
11 | + | (icecat-profile-configuration | |
12 | + | (id "tylunble") | |
13 | + | (name "default") | |
14 | + | (extensions '()) | |
15 | + | (data-directory "/data/tyreunom/.local/share/mozilla/profiles/default")))) | |
16 | + | (start-with-last-profile? #f)))) |
modules/home-config/keepassxc.scm unknown status 1
1 | + | (define-module (home-config keepassxc) | |
2 | + | #:use-module (home) | |
3 | + | #:use-module (home keepassxc) | |
4 | + | #:export (keepassxc-home)) | |
5 | + | ||
6 | + | (define keepassxc-home | |
7 | + | (user-home keepassxc-home-type | |
8 | + | (keepassxc-configuration | |
9 | + | (last-databases '("/data/tyreunom/ownCloud/synchro/pass.kdbx")) | |
10 | + | (last-dir "/data/tyreunom") | |
11 | + | (last-opened-databases '("/data/tyreunom/owncloud/synchro/pass.kdbx"))))) |
modules/home-config/neovim.scm unknown status 1
1 | + | (define-module (home-config neovim) | |
2 | + | #:use-module (home) | |
3 | + | #:use-module (home neovim) | |
4 | + | #:export (neovim-home)) | |
5 | + | ||
6 | + | (define neovim-home | |
7 | + | (user-home neovim-home-type | |
8 | + | (neovim-configuration | |
9 | + | (init '("set tabstop=4 | |
10 | + | set colorcolumn=80 | |
11 | + | set expandtab | |
12 | + | autocmd FileType latex,tex,text,md,markdown setlocal spell | |
13 | + | "))))) |
modules/home-config/openbox.scm unknown status 1
1 | + | (define-module (home-config openbox) | |
2 | + | #:use-module (home) | |
3 | + | #:use-module (home openbox) | |
4 | + | #:use-module (gnu packages compton) | |
5 | + | #:use-module (gnu packages dunst) | |
6 | + | #:use-module (gnu packages game-development) | |
7 | + | #:use-module (gnu packages games) | |
8 | + | #:use-module (gnu packages geo) | |
9 | + | #:use-module (gnu packages gnuzilla) | |
10 | + | #:use-module (gnu packages ibus) | |
11 | + | #:use-module (gnu packages image-viewers) | |
12 | + | #:use-module (gnu packages inkscape) | |
13 | + | #:use-module (gnu packages lxde) | |
14 | + | #:use-module (gnu packages mail) | |
15 | + | #:use-module (gnu packages messaging) | |
16 | + | #:use-module (gnu packages password-utils) | |
17 | + | #:use-module (gnu packages pulseaudio) | |
18 | + | #:use-module (gnu packages sync) | |
19 | + | #:use-module (gnu packages xfce) | |
20 | + | #:use-module (games packages 7-billion-humans) | |
21 | + | #:use-module (games packages baba-is-you) | |
22 | + | #:use-module (games packages factorio) | |
23 | + | #:use-module (games packages mini-metro) | |
24 | + | #:use-module (games packages starsector) | |
25 | + | #:use-module (games packages sunless-skies) | |
26 | + | #:use-module (guix gexp) | |
27 | + | #:export (tyreunom-openbox-configuration | |
28 | + | openbox-home)) | |
29 | + | ||
30 | + | (define openbox-environment | |
31 | + | (plain-file "environment" "eval $(ssh-agent)")) | |
32 | + | (define openbox-autostart | |
33 | + | (computed-file "autostart" | |
34 | + | #~(with-output-to-file #$output | |
35 | + | (lambda _ | |
36 | + | (format #t "HOME=/tmp/pa ~a --start~%" #$(file-append pulseaudio "/bin/pulseaudio")) | |
37 | + | (format #t "~a --bg-fill ~a~%" #$(file-append feh "/bin/feh") | |
38 | + | #$(local-file "/data/tyreunom/background.png")) | |
39 | + | (format #t "~a -CGb~%" #$(file-append compton "/bin/compton")) | |
40 | + | (format #t "~a -conf ~a &~%" #$(file-append dunst "/bin/dunst") | |
41 | + | #$(plain-file "dunstrc" "")) | |
42 | + | (format #t "export GTK_IM_MODULE=ibus | |
43 | + | export XMODIFIERS=@im=ibus | |
44 | + | export QT_IM_MODULE=ibus | |
45 | + | export GUIX_GTK2_IM_MODULE_FILE=~~/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache | |
46 | + | export GUIX_GTK3_IM_MODULE_FILE=~~/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache | |
47 | + | ~a -drx~%" #$(file-append ibus "/bin/ibus-daemon")))))) | |
48 | + | (define openbox-rc (local-file "files/openbox/rc.xml")) | |
49 | + | ||
50 | + | (define tyreunom-openbox-configuration | |
51 | + | (openbox-configuration | |
52 | + | (autostart openbox-autostart) | |
53 | + | (environ openbox-environment) | |
54 | + | (rc openbox-rc) | |
55 | + | (menus | |
56 | + | (list | |
57 | + | (openbox-menu | |
58 | + | (id "apps-game-menu") | |
59 | + | (label "Jeux") | |
60 | + | (elements | |
61 | + | (list | |
62 | + | (openbox-element-execute | |
63 | + | (label "MineTest") | |
64 | + | (command (file-append minetest "/bin/minetest"))) | |
65 | + | (openbox-element-execute | |
66 | + | (label "Starsector") | |
67 | + | (command (file-append starsector "/bin/starsector"))) | |
68 | + | (openbox-element-execute | |
69 | + | (label "Factorio") | |
70 | + | (command (file-append factorio "/bin/factorio"))) | |
71 | + | (openbox-element-execute | |
72 | + | (label "7 Billion Humans") | |
73 | + | (command (file-append gog-7-billion-humans "/bin/7-billion-humans"))) | |
74 | + | (openbox-element-execute | |
75 | + | (label "Sunless Skies") | |
76 | + | (command (file-append gog-sunless-skies "/bin/sunless-skies"))) | |
77 | + | (openbox-element-execute | |
78 | + | (label "Baba is You") | |
79 | + | (command (file-append baba-is-you "/bin/baba-is-you"))) | |
80 | + | (openbox-element-execute | |
81 | + | (label "Mini Metro") | |
82 | + | (command (file-append mini-metro "/bin/mini-metro"))) | |
83 | + | (openbox-element-execute | |
84 | + | (label "0ad") | |
85 | + | (command (file-append 0ad "/bin/0ad"))) | |
86 | + | (openbox-element-execute | |
87 | + | (label "godot") | |
88 | + | (command (file-append godot "/bin/godot")))))) | |
89 | + | (openbox-menu | |
90 | + | (id "apps-other-menu") | |
91 | + | (label "Autres") | |
92 | + | (elements | |
93 | + | (list | |
94 | + | (openbox-element-execute | |
95 | + | (label "Pavucontrol") | |
96 | + | (command (file-append pavucontrol "/bin/pavucontrol"))) | |
97 | + | (openbox-element-execute | |
98 | + | (label "Owncloud") | |
99 | + | (command (file-append owncloud-client "/bin/owncloud"))) | |
100 | + | (openbox-element-execute | |
101 | + | (label "Keepass") | |
102 | + | (command (file-append keepassxc "/bin/keepassxc"))) | |
103 | + | (openbox-element-execute | |
104 | + | (label "Claws-mail") | |
105 | + | (command (file-append claws-mail "/bin/claws-mail --alternate-config-dir /data/tyreunom/.config/claws-mail"))) | |
106 | + | (openbox-element-execute | |
107 | + | (label "Hexchat") | |
108 | + | (command (file-append hexchat "/bin/hexchat"))) | |
109 | + | (openbox-element-execute | |
110 | + | (label "JOSM") | |
111 | + | (command (file-append josm "/bin/josm"))) | |
112 | + | (openbox-element-execute | |
113 | + | (label "Inkscape") | |
114 | + | (command (file-append inkscape "/bin/inkscape")))))))) | |
115 | + | (root-elements | |
116 | + | (list | |
117 | + | (openbox-element-menu (id "apps-game-menu")) | |
118 | + | (openbox-element-menu (id "apps-other-menu")) | |
119 | + | (openbox-element-execute | |
120 | + | (label "Terminal") | |
121 | + | (command (file-append xfce4-terminal "/bin/xfce4-terminal"))) | |
122 | + | (openbox-element-execute | |
123 | + | (label "Navigateur") | |
124 | + | (command (file-append icecat "/bin/icecat -P --no-remote"))) | |
125 | + | (openbox-element-execute | |
126 | + | (label "Gestionnaire de fichiers") | |
127 | + | (command (file-append pcmanfm "/bin/pcmanfm"))))))) | |
128 | + | ||
129 | + | ||
130 | + | (define openbox-home | |
131 | + | (user-home openbox-home-type | |
132 | + | tyreunom-openbox-configuration)) |
modules/home-config/ssh.scm
1 | 1 | (define-module (home-config ssh) | |
2 | + | #:use-module (home) | |
2 | 3 | #:use-module (home ssh) | |
3 | - | #:export (known-hosts)) | |
4 | + | #:export (known-hosts | |
5 | + | ssh-home)) | |
4 | 6 | ||
5 | 7 | (define known-hosts | |
6 | 8 | (list | |
… | |||
43 | 45 | (names '("ene.lepiller.eu" "rennes.lepiller.eu" "89.92.10.229" "192.168.1.20")) | |
44 | 46 | (key "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOhW/qorkJoTi2nvOxmDbaMlKsO6jTfj7FBB18Oj7tOBziJaDpgUNxyuRazEVOK0b/fdgzgBdzjSWfii+qwNzGI=")) | |
45 | 47 | (ssh-known-host-configuration | |
48 | + | (names '("amadeus.lepiller.eu")) | |
49 | + | (algo "ssh-ed25519") | |
50 | + | (key "AAAAC3NzaC1lZDI1NTE5AAAAIGop3/fV85tD2UaaZP1/xAH1HqdRbU7xWAUNrZzejJdc")) | |
51 | + | (ssh-known-host-configuration | |
46 | 52 | (names '("xana.lepiller.eu" "62.210.81.154")) | |
47 | 53 | (key "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDp5sneP8KW0w/JrOSU61d049dROsR2PYxwO6hDon71gB88aqLaTuF5G162bwHKMX7LV37cy46RNbvwYQaeOPZQ=")))) | |
54 | + | ||
55 | + | (define ssh-home | |
56 | + | (user-home ssh-home-type | |
57 | + | (ssh-configuration | |
58 | + | (known-hosts known-hosts) | |
59 | + | (hosts | |
60 | + | (list | |
61 | + | (ssh-host-configuration | |
62 | + | (host-name "traduc.org") | |
63 | + | (name "traduc") | |
64 | + | (port "222") | |
65 | + | (user "julien")))) | |
66 | + | (default-host | |
67 | + | (ssh-host-configuration | |
68 | + | (identity-file "/data/tyreunom/.ssh/id_rsa")))))) |
modules/home-config/xfce.scm unknown status 1
1 | + | (define-module (home-config xfce) | |
2 | + | #:use-module (guix gexp) | |
3 | + | #:use-module (home utils) | |
4 | + | #:export (xfce4-terminal-home)) | |
5 | + | ||
6 | + | (define xfce4-terminal-home | |
7 | + | (simple-file-home | |
8 | + | (local-file "files/xfce4-terminal/terminalrc") | |
9 | + | ".config/xfce4/terminal/terminalrc")) |