···3434 # Used for backwards compatibility, please read the changelog before changing.
3535 # $ darwin-rebuild changelog
3636 system.stateVersion = 4;
3737-3838- # The platform the configuration will be used on.
3939- # TODO: base this off hostname or something
4040- nixpkgs.hostPlatform = "aarch64-darwin";
4137}
···11{
22- description = "Default darwin flake";
22+ description = "Darwin flake configuration";
3344 inputs = {
55- nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
55+ nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
66+ unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
6778 nix-darwin = {
89 # https://github.com/LnL7/nix-darwin/pull/741
910 url = "github:Enzime/nix-darwin/default-flake-location";
1011 inputs.nixpkgs.follows = "nixpkgs";
1112 };
1313+1414+ home-manager-config = {
1515+ # This seems to be the only way to properly deal with the dotfiles
1616+ # checkout being in a different place for different usernames:
1717+ # https://discourse.nixos.org/t/flake-input-from-local-git-repo/27609/3
1818+ # In theory I could probably even add the registry as part of nix-darwin activation,
1919+ # although it's kinda chicken + egg. Maybe just part of yadm bootstrap?
2020+ #
2121+ # Also TBD: does it require things to be checked in? At least it's still local,
2222+ # so I guess it would just require committing home-manager config before evaluation,
2323+ # which is a pain but better than having to push to github first.
2424+ url = "flake:home-manager-configuration";
2525+ inputs.nixpkgs.follows = "nixpkgs";
2626+ inputs.unstable.follows = "unstable";
2727+ };
1228 };
13291414- outputs = { self, nix-darwin, nixpkgs } @ inputs:
3030+ outputs = { self, nix-darwin, nixpkgs, home-manager-config, ... } @ inputs:
1531 let
1616- hosts = [
1717- "MacBook-Pro"
1818- ];
1919- # This feels... inelegant, there must be some better way to do it
2020- forEachHost = result: builtins.listToAttrs (map (host: {
2121- name = host;
2222- value = result host;
2323- }) hosts);
3232+ hosts = {
3333+ MacBook-Pro = {
3434+ system = "aarch64-darwin";
3535+ user = "ianchamberlain";
3636+ };
3737+ ichamberlain-mbp-2 = {
3838+ system = "x86_64-darwin";
3939+ user = "ichamberlain";
4040+ };
4141+ };
4242+ inherit (nixpkgs) lib;
4343+ inherit (nix-darwin.lib) darwinSystem;
2444 in {
2525- darwinConfigurations = forEachHost (host: nix-darwin.lib.darwinSystem {
2626- modules = [ ./configuration.nix ];
4545+ darwinConfigurations = lib.mapAttrs (hostname: host: darwinSystem {
4646+ inherit (host) system;
4747+4848+ modules = [
4949+ ./configuration.nix
5050+ home-manager-config.inputs.home-manager.darwinModules.home-manager
5151+ home-manager-config.homeConfigurations.${host.user}
5252+ ];
2753 specialArgs = { inherit self host; };
2828- });
5454+ }) hosts;
29553056 # Expose the package set, including overlays, for convenience.
3131- darwinPackages = forEachHost (host: self.darwinConfigurations."${host}".pkgs);
5757+ darwinPackages = lib.mapAttrs (hostname: _: self.darwinConfigurations.${hostname}.pkgs) hosts;
3258 };
3359}
+27-6
.config/nvim/init.lua
···1515end
16161717-- https://github.com/neovim/neovim/issues/2437#issuecomment-522236703
1818-vim.g.python_host_prog = HOME .. "/.pyenv/shims/python2"
1818+vim.g.python_host_prog = HOME .. "/.pyenv/shims/python2"
1919vim.g.python3_host_prog = HOME .. "/.pyenv/shims/python3"
20202121-- https://stackoverflow.com/a/5563142/14436105
···8282 -- For whatever reason, nvim buffers sometimes open without line numbers:
8383 vim.opt.number = true
84848585+ -- Handle folds a little nicer. <C-J>,<NL> and arrow keys can still be used to navigate into fold.
8686+ -- https://github.com/vscode-neovim/vscode-neovim/issues/58#issuecomment-1879583457
8787+ -- Unclear why a normal vim.keymap.set doesn't work in this case
8888+ local function mapMove(key, direction)
8989+ vim.keymap.set("n", key, function()
9090+ local count = vim.v.count
9191+ local v = 1
9292+ local style = "wrappedLine"
9393+ if count > 0 then
9494+ v = count
9595+ style = "line"
9696+ end
9797+ vscode.action("cursorMove", {
9898+ args = {
9999+ to = direction,
100100+ by = style,
101101+ value = v,
102102+ },
103103+ })
104104+ end, { silent = true })
105105+ end
106106+107107+ mapMove("k", "up")
108108+ mapMove("j", "down")
109109+85110 vim.cmd([[
86111 xnoremap <silent> <Esc> :<C-u>call VSCodeNotify('closeFindWidget')<CR>
87112 nnoremap <silent> <Esc> :<C-u>call VSCodeNotify('closeFindWidget')<CR>
···113138 " Move cursor to end of line when making visual selection so % works as expected
114139 nmap V V$
115140116116- " This allows wrapping + code folding to work a little nicer
117117- nmap j gj
118118- nmap k gk
119119-120141 " Remap for append/insert with multi-cursor to avoid extra keystroke
121142 xmap <expr> a visualmode() ==# 'v' ? 'a' : 'ma'
122143 xmap <expr> A visualmode() ==# 'v' ? 'A' : 'mA'
···133154 takeover = "never",
134155 priority = 0,
135156 selector = 'textarea:not([readonly], [aria-readonly="true"])',
136136- cmdline = "neovim",
157157+ cmdline = "neovim",
137158 },
138159139160 -- Opt-in to takeover on some URLs
···11{
22- "__internal__": {
33- "migrations": {
44- "version": "1.15.1"
55- }
66- },
77- "allScreens": true,
88- "appExclusions": [],
99- "appExclusionsCheckInterval": 1000,
1010- "audio": "reverie",
1111- "break": true,
1212- "breakDuration": 300000,
1313- "breakIdeas": [
1414- {
1515- "data": [
1616- "Not alone",
1717- "Do you find it hard to take a break alone? Try to do it with a co-worker. Aside from making it easier to stick to breaks, you will have a chance to get to know them better. Taking breaks together increases productivity."
1818- ],
1919- "enabled": true
2020- },
2121- {
2222- "data": [
2323- "Step away",
2424- "Do you ever notice how your brain can figure things out by itself? All it takes is to step away from the computer and take a break to think about something totally unrelated."
2525- ],
2626- "enabled": true
2727- },
2828- {
2929- "data": [
3030- "Microbreaks",
3131- "Rest is a key component in ensuring the performance of the musculoskeletal system. Frequent breaks can decrease the duration of a task and help lower the exposure to ergonomic injury risk."
3232- ],
3333- "enabled": true
3434- },
3535- {
3636- "data": [
3737- "Meditation",
3838- "Research studies suggest that mindfulness-based exercises help decrease anxiety, depression, stress, and pain, and help improve general health, mental health, and quality of life. Not sure how to start? There are numerous apps to help you out."
3939- ],
4040- "enabled": true
4141- },
4242- {
4343- "data": [
4444- "Blink",
4545- "Looking at screens for a long time causes you to blink less, thus exposing your eyes to the air. Blink rapidly for a few seconds to refresh the tear film and clear dust from the eye surface."
4646- ],
4747- "enabled": true
4848- },
4949- {
5050- "data": [
5151- "Ergonomics",
5252- "Improper height and angle of the keyboard, mouse, monitor or working surface can cause health problems. Take some time to read about desk ergonomics."
5353- ],
5454- "enabled": true
5555- },
5656- {
5757- "data": [
5858- "Move",
5959- "There are a lot of ways you can exercise within your office. Try marching in place or doing desk push-ups."
6060- ],
6161- "enabled": true
6262- },
6363- {
6464- "data": [
6565- "Change",
6666- "Do you have a stability ball or standing work desk? Consider replacing your desk chair with them for a while."
6767- ],
6868- "enabled": true
6969- },
7070- {
7171- "data": [
7272- "Notice",
7373- "Are you daydreaming or having trouble focusing? It is a sign that you need to take a break."
7474- ],
7575- "enabled": true
7676- },
7777- {
7878- "data": [
7979- "Tech",
8080- "How about taking a no-tech walk?"
8181- ],
8282- "enabled": true
8383- },
8484- {
8585- "data": [
8686- "Metabolism",
8787- "Emerging research shows that sitting for long periods of time contributes to risk of metabolic syndrome, heart attack and stroke risk and overall death risk, among others. Taking regular walking breaks can help your circulation, working to counteract some of those problems."
8888- ],
8989- "enabled": true
9090- },
9191- {
9292- "data": [
9393- "Active Meetings",
9494- "How about moving meetings from the conference room to the concourse? Walking not only burns calories but it may even foster a sense of collaboration."
9595- ],
9696- "enabled": true
9797- },
9898- {
9999- "data": [
100100- "Fruit",
101101- "Take your time and eat some fruit. Slowly. Notice the flavor, the texture, the freshness."
102102- ],
103103- "enabled": true
104104- },
105105- {
106106- "data": [
107107- "Bathrooms",
108108- "Walk to the farthest bathroom in the worksite facility when going to the restroom."
109109- ],
110110- "enabled": true
111111- },
112112- {
113113- "data": [
114114- "Coffee break",
115115- "Going on coffee break? Consider doing a 5-minute walk every time you go for one."
116116- ],
117117- "enabled": true
118118- },
119119- {
120120- "data": [
121121- "Colleagues",
122122- "Do not email or message office colleagues, walk to their desks to communicate with them."
123123- ],
124124- "enabled": true
125125- },
126126- {
127127- "data": [
128128- "Learning",
129129- "In a study of healthy volunteers, NIH researchers found that taking short breaks, early and often, may help our brains learn new skills."
130130- ],
131131- "enabled": true
132132- },
133133- {
134134- "data": [
135135- "Exercise",
136136- "Evidence suggests small amounts of regular exercise can bring dramatic health benefits, including measurably reducing stress."
137137- ],
138138- "enabled": true
139139- },
140140- {
141141- "data": [
142142- "Repeat",
143143- "Have you found your stretch-ly-routine? Do not forget to repeat it for more than once to better fight effects of prolonged sitting."
144144- ],
145145- "enabled": true
146146- },
147147- {
148148- "data": [
149149- "Wrist and forearm",
150150- "Extend your arms with the palms facing towards you, then slowly rotate the hands four times clockwise, then four times counter-clockwise."
151151- ],
152152- "enabled": true
153153- },
154154- {
155155- "data": [
156156- "Back stretching",
157157- "Join your hands behind your head, then lift them together up above your head ending with your palms facing upward."
158158- ],
159159- "enabled": true
160160- },
161161- {
162162- "data": [
163163- "Mobilize",
164164- "For every thirty minutes of stagnation, you should have at least one minute of stimulation."
165165- ],
166166- "enabled": true
167167- },
168168- {
169169- "data": [
170170- "7 Minute Workout",
171171- "This workout packs in a full-body exercise routine in a fraction of the time. But as with any exercise, be careful. There are numerous apps to get you started."
172172- ],
173173- "enabled": true
174174- },
175175- {
176176- "data": [
177177- "Pulse",
178178- " Raise your pulse rate to 120 beats per minute for 20 straight minutes four or five times a week doing anything you enjoy. Regularly raising your heart rate results in improved cardiovascular health."
179179- ],
180180- "enabled": true
181181- },
182182- {
183183- "data": [
184184- "Take the stairs ",
185185- "Studies have shown that stair climbing, which is considered vigorous-intensity physical activity, burns more calories per minute than jogging."
186186- ],
187187- "enabled": true
188188- },
189189- {
190190- "data": [
191191- "Make art",
192192- "Art therapy is known to have great mental health benefits, especially when it comes to stress management. How about writing a quick poem, taking a picture or painting something small?"
193193- ],
194194- "enabled": true
195195- },
196196- {
197197- "data": [
198198- "Declutter",
199199- "A clean space helps your focus at work and is often linked to positive emotions like happiness."
200200- ],
201201- "enabled": true
202202- },
203203- {
204204- "data": [
205205- "Lunch outside",
206206- "Nature is linked to positive emotions and decreased stress and anxiety. Whenever possible, try to take your daily lunch break outside, surrounded by some greenery."
207207- ],
208208- "enabled": true
209209- },
210210- {
211211- "data": [
212212- "Public transport",
213213- "If you use public transport regularly, you can stand instead of sitting. If it is possible, try to replace as many of your daily trips as possible with walking or cycling."
214214- ],
215215- "enabled": true
216216- },
217217- {
218218- "data": [
219219- "Yawning",
220220- "Yawning can be really helpful, as it produces tears to help moisten and lubricate the eyes."
221221- ],
222222- "enabled": true
223223- },
224224- {
225225- "data": [
226226- "Focus change",
227227- "Hold one finger close to the eye and focus on it. Slowly move the finger away, focus far into the distance and then back to the finger. Bring the finger back and focus on something far away."
228228- ],
229229- "enabled": true
230230- },
231231- {
232232- "data": [
233233- "Palming",
234234- "While seated, brace elbows on the desk and close to the desk edge. Let your weight fall forward and cup hands over eyes. Close your eyes and inhale slowly through nose and hold for few seconds. Continue deep breathing."
235235- ],
236236- "enabled": true
237237- },
238238- {
239239- "data": [
240240- "Hand squeezes",
241241- "Squeeze a pair of balled-up socks or a soft rubber ball, hold for 5 seconds. Repeat whole process a few times."
242242- ],
243243- "enabled": true
244244- },
245245- {
246246- "data": [
247247- "Slow Breathing",
248248- "Emerging research suggests potential for use of controlled slow breathing techniques as a means of optimising physiological parameters that appear to be associated with health and longevity."
249249- ],
250250- "enabled": true
251251- },
252252- {
253253- "data": [
254254- "Imaginative visualization",
255255- "Close your eyes and imagine yourself in a peaceful and calming place, such as a beach or a forest, focusing on the sights, sounds, and sensations of that environment."
256256- ],
257257- "enabled": true
258258- }
259259- ],
260260- "breakInterval": 2,
261261- "breakNotification": true,
262262- "breakNotificationInterval": 30000,
263263- "breakPostponableDurationPercent": 30,
264264- "breakPostpone": true,
265265- "breakPostponeTime": 300000,
266266- "breakPostponesLimit": 1,
267267- "breakStartSoundPlaying": false,
268268- "breakStrictMode": false,
269269- "breakWindowHeight": 0.85,
270270- "breakWindowWidth": 0.85,
271271- "checkNewVersion": true,
272272- "currentTimeInBreaks": true,
273273- "endBreakShortcut": "CmdOrCtrl+Esc",
274274- "fullscreen": false,
275275- "ideas": true,
276276- "isFirstRun": false,
277277- "language": "en",
278278- "mainColor": "#633738",
279279- "microbreak": true,
280280- "microbreakDuration": 20000,
281281- "microbreakIdeas": [
282282- {
283283- "data": "Go grab a glass of water.",
284284- "enabled": true
285285- },
286286- {
287287- "data": "Slowly look all the way left, then right.",
288288- "enabled": true
289289- },
290290- {
291291- "data": "Slowly look all the way up, then down.",
292292- "enabled": true
293293- },
294294- {
295295- "data": "Close your eyes and take few deep breaths.",
296296- "enabled": true
297297- },
298298- {
299299- "data": "Close your eyes and relax.",
300300- "enabled": true
301301- },
302302- {
303303- "data": "Stretch your legs.",
304304- "enabled": true
305305- },
306306- {
307307- "data": "Stretch your arms.",
308308- "enabled": true
309309- },
310310- {
311311- "data": "Is your sitting posture correct?",
312312- "enabled": true
313313- },
314314- {
315315- "data": "Slowly turn head to side and hold for 10 seconds.",
316316- "enabled": true
317317- },
318318- {
319319- "data": "Slowly tilt head to side and hold for 5-10 seconds.",
320320- "enabled": true
321321- },
322322- {
323323- "data": "Stand from your chair and stretch.",
324324- "enabled": true
325325- },
326326- {
327327- "data": "Refocus your eyes on an object at least 20 meters away.",
328328- "enabled": true
329329- },
330330- {
331331- "data": "Take a moment to think about something you appreciate.",
332332- "enabled": true
333333- },
334334- {
335335- "data": "Take a moment to smile at being alive.",
336336- "enabled": true
337337- },
338338- {
339339- "data": "A truly ergonomic workstation is one that you regularly push away from.",
340340- "enabled": true
341341- },
342342- {
343343- "data": "Close your eyes and count your breaths.",
344344- "enabled": true
345345- },
346346- {
347347- "data": "Close your eyes and name the things you hear.",
348348- "enabled": true
349349- },
350350- {
351351- "data": "Place your fingertips on your shoulders. Roll your shoulders forward for 10 seconds, then backward.",
352352- "enabled": true
353353- },
354354- {
355355- "data": "Raise your right arm, stretch it over your head to the left, and hold for 10 seconds. Repeat on the other side.",
356356- "enabled": true
357357- },
358358- {
359359- "data": "With your right hand, grab each finger of your left hand in turn and squeeze. Repeat on the other side.",
360360- "enabled": true
361361- },
362362- {
363363- "data": "Stand up and do a lunge. Hold for 10 seconds, then do the other leg.",
364364- "enabled": true
365365- },
366366- {
367367- "data": "Close your eyes and simply notice whatever arises in current moment, without judgement.",
368368- "enabled": true
369369- },
370370- {
371371- "data": "Focus every 20 minutes for 20 seconds on an object at 20 feet distance.",
372372- "enabled": true
373373- },
374374- {
375375- "data": "If you need help, ask for it.",
376376- "enabled": true
377377- },
378378- {
379379- "data": "Do one thing at a time.",
380380- "enabled": true
381381- },
382382- {
383383- "data": "Is your attention spent wisely?",
384384- "enabled": true
385385- },
386386- {
387387- "data": "Change your sitting posture.",
388388- "enabled": true
389389- },
390390- {
391391- "data": "Expose your eyes to natural light.",
392392- "enabled": true
393393- },
394394- {
395395- "data": "With your eyes closed, slowly and gently raise your eyes to the ceiling and back down to the floor.",
396396- "enabled": true
397397- },
398398- {
399399- "data": "With your eyes closed, slowly and gently move your eyes to the left, then slowly to the right.",
400400- "enabled": true
401401- },
402402- {
403403- "data": "Shake your hands out to get some relief.",
404404- "enabled": true
405405- },
406406- {
407407- "data": "One at a time, touch the tip of each finger to the tip of your thumb so they make an O-shape.",
408408- "enabled": true
409409- },
410410- {
411411- "data": "Make a fist and then slide your fingers up until they point toward the ceiling, like you're telling someone to stop.",
412412- "enabled": true
413413- },
414414- {
415415- "data": "Make a fist and then fan your fingers out and stretch them as far as you can.",
416416- "enabled": true
417417- },
418418- {
419419- "data": "Sit tall, arms hanging at your sides, and slowly rotate neck in one direction in a large circle.",
420420- "enabled": true
421421- },
422422- {
423423- "data": "Stand tall and slowly tilt your head toward the shoulder using the same hand until you feel a stretch.",
424424- "enabled": true
425425- },
426426- {
427427- "data": "Stand tall with your arms by your side. Squeeze your shoulder blades together and hold.",
428428- "enabled": true
429429- },
430430- {
431431- "data": "Stand tall with your arms raised along your shoulders. Move hands slightly behind your back, hold for a second and return.",
432432- "enabled": true
433433- },
434434- {
435435- "data": "Sit on the edge of your chair, twist your torso to one side and hold for 10-15 seconds. Repeat on the other side.",
436436- "enabled": true
437437- },
438438- {
439439- "data": "Stand up and put one foot on a nearby object, like a chair or step stool. Keep your knee bent and hold for 10-15 seconds. Repeat with the other foot.",
440440- "enabled": true
441441- },
442442- {
443443- "data": "Stand with your feet shoulder-width apart, lower your body down as if you were sitting back into a chair, then stand back up. Repeat several times.",
444444- "enabled": true
445445- },
446446- {
447447- "data": "Stand with you back and hands on a wall, then slowly move your arms up and down as if you were making snow angels.",
448448- "enabled": true
449449- },
450450- {
451451- "data": "Stand facing a wall and place your hands on it, then do several push-ups.",
452452- "enabled": true
453453- },
454454- {
455455- "data": "Sit on the edge of your chair and extend one leg straight out in front of you, holding for 10-15 seconds. Repeat with the other leg.",
456456- "enabled": true
457457- },
458458- {
459459- "data": "Stand facing a wall, put one foot back and the other foot forward, then lean into the wall. Repeat with the other leg.",
460460- "enabled": true
461461- },
462462- {
463463- "data": "Hold one arm straight up, then use the other arm to gently push the elbow of the first arm towards your head. Hold for 10-15 seconds. Repeat with the other arm.",
464464- "enabled": true
465465- },
466466- {
467467- "data": "Tilt your head to one side, then to the other side, and then gently tilt it forward and backward.",
468468- "enabled": true
469469- },
470470- {
471471- "data": "Reach one arm across your chest, hold onto the elbow with the other hand, and gently pull it in towards your chest. Repeat with the other arm.",
472472- "enabled": true
473473- },
474474- {
475475- "data": "Stand up, put one foot on a nearby object, like a chair or step stool, and reach down to touch your toes. Repeat with the other leg.",
476476- "enabled": true
477477- },
478478- {
479479- "data": "Stand in a doorway and place one arm on each side of the doorway, then gently lean forward until you feel a stretch in your chest.",
480480- "enabled": true
481481- },
482482- {
483483- "data": "Sit on the edge of a chair or on the floor, and place the soles of your feet together, gently pressing down with your elbows to stretch your inner thighs.",
484484- "enabled": true
485485- }
486486- ],
487487- "microbreakInterval": 2400000,
488488- "microbreakNotification": true,
489489- "microbreakNotificationInterval": 10000,
490490- "microbreakPostponableDurationPercent": 30,
491491- "microbreakPostpone": true,
492492- "microbreakPostponeTime": 120000,
493493- "microbreakPostponesLimit": 1,
494494- "microbreakStartSoundPlaying": false,
495495- "microbreakStrictMode": false,
496496- "miniBreakAudio": "reverie",
497497- "miniBreakColor": "#633738",
498498- "monitorDnd": true,
499499- "morningHour": 7,
500500- "naturalBreaks": true,
501501- "naturalBreaksInactivityResetTime": 300000,
502502- "notifyNewVersion": true,
503503- "opacity": 0.9,
504504- "pauseBreaksToggleShortcut": "",
505505- "pauseForSuspendOrLock": true,
506506- "posLatitude": 42.37,
507507- "posLongitude": 71.1,
508508- "resetBreaksShortcut": "",
509509- "screen": "primary",
510510- "showBreaksAsRegularWindows": false,
511511- "showTrayIcon": true,
512512- "silentNotifications": false,
513513- "skipToNextLongBreakShortcut": "",
514514- "skipToNextMiniBreakShortcut": "",
515515- "skipToNextScheduledBreakShortcut": "",
516516- "themeSource": "system",
517517- "timeToBreakInTray": false,
518518- "transparentMode": false,
519519- "useIdeasFromSettings": false,
520520- "useMonochromeInvertedTrayIcon": false,
521521- "useMonochromeTrayIcon": true,
522522- "volume": 0.75
22+ "__internal__": {
33+ "migrations": {
44+ "version": "1.15.1"
55+ }
66+ },
77+ "allScreens": true,
88+ "appExclusions": [ ],
99+ "appExclusionsCheckInterval": 1000,
1010+ "audio": "reverie",
1111+ "break": true,
1212+ "breakDuration": 300000,
1313+ "breakIdeas": [
1414+ {
1515+ "data": [
1616+ "Not alone",
1717+ "Do you find it hard to take a break alone? Try to do it with a co-worker. Aside from making it easier to stick to breaks, you will have a chance to get to know them better. Taking breaks together increases productivity."
1818+ ],
1919+ "enabled": true
2020+ },
2121+ {
2222+ "data": [
2323+ "Step away",
2424+ "Do you ever notice how your brain can figure things out by itself? All it takes is to step away from the computer and take a break to think about something totally unrelated."
2525+ ],
2626+ "enabled": true
2727+ },
2828+ {
2929+ "data": [
3030+ "Microbreaks",
3131+ "Rest is a key component in ensuring the performance of the musculoskeletal system. Frequent breaks can decrease the duration of a task and help lower the exposure to ergonomic injury risk."
3232+ ],
3333+ "enabled": true
3434+ },
3535+ {
3636+ "data": [
3737+ "Meditation",
3838+ "Research studies suggest that mindfulness-based exercises help decrease anxiety, depression, stress, and pain, and help improve general health, mental health, and quality of life. Not sure how to start? There are numerous apps to help you out."
3939+ ],
4040+ "enabled": true
4141+ },
4242+ {
4343+ "data": [
4444+ "Blink",
4545+ "Looking at screens for a long time causes you to blink less, thus exposing your eyes to the air. Blink rapidly for a few seconds to refresh the tear film and clear dust from the eye surface."
4646+ ],
4747+ "enabled": true
4848+ },
4949+ {
5050+ "data": [
5151+ "Ergonomics",
5252+ "Improper height and angle of the keyboard, mouse, monitor or working surface can cause health problems. Take some time to read about desk ergonomics."
5353+ ],
5454+ "enabled": true
5555+ },
5656+ {
5757+ "data": [
5858+ "Move",
5959+ "There are a lot of ways you can exercise within your office. Try marching in place or doing desk push-ups."
6060+ ],
6161+ "enabled": true
6262+ },
6363+ {
6464+ "data": [
6565+ "Change",
6666+ "Do you have a stability ball or standing work desk? Consider replacing your desk chair with them for a while."
6767+ ],
6868+ "enabled": true
6969+ },
7070+ {
7171+ "data": [
7272+ "Notice",
7373+ "Are you daydreaming or having trouble focusing? It is a sign that you need to take a break."
7474+ ],
7575+ "enabled": true
7676+ },
7777+ {
7878+ "data": [
7979+ "Tech",
8080+ "How about taking a no-tech walk?"
8181+ ],
8282+ "enabled": true
8383+ },
8484+ {
8585+ "data": [
8686+ "Metabolism",
8787+ "Emerging research shows that sitting for long periods of time contributes to risk of metabolic syndrome, heart attack and stroke risk and overall death risk, among others. Taking regular walking breaks can help your circulation, working to counteract some of those problems."
8888+ ],
8989+ "enabled": true
9090+ },
9191+ {
9292+ "data": [
9393+ "Active Meetings",
9494+ "How about moving meetings from the conference room to the concourse? Walking not only burns calories but it may even foster a sense of collaboration."
9595+ ],
9696+ "enabled": true
9797+ },
9898+ {
9999+ "data": [
100100+ "Fruit",
101101+ "Take your time and eat some fruit. Slowly. Notice the flavor, the texture, the freshness."
102102+ ],
103103+ "enabled": true
104104+ },
105105+ {
106106+ "data": [
107107+ "Bathrooms",
108108+ "Walk to the farthest bathroom in the worksite facility when going to the restroom."
109109+ ],
110110+ "enabled": true
111111+ },
112112+ {
113113+ "data": [
114114+ "Coffee break",
115115+ "Going on coffee break? Consider doing a 5-minute walk every time you go for one."
116116+ ],
117117+ "enabled": true
118118+ },
119119+ {
120120+ "data": [
121121+ "Colleagues",
122122+ "Do not email or message office colleagues, walk to their desks to communicate with them."
123123+ ],
124124+ "enabled": true
125125+ },
126126+ {
127127+ "data": [
128128+ "Learning",
129129+ "In a study of healthy volunteers, NIH researchers found that taking short breaks, early and often, may help our brains learn new skills."
130130+ ],
131131+ "enabled": true
132132+ },
133133+ {
134134+ "data": [
135135+ "Exercise",
136136+ "Evidence suggests small amounts of regular exercise can bring dramatic health benefits, including measurably reducing stress."
137137+ ],
138138+ "enabled": true
139139+ },
140140+ {
141141+ "data": [
142142+ "Repeat",
143143+ "Have you found your stretch-ly-routine? Do not forget to repeat it for more than once to better fight effects of prolonged sitting."
144144+ ],
145145+ "enabled": true
146146+ },
147147+ {
148148+ "data": [
149149+ "Wrist and forearm",
150150+ "Extend your arms with the palms facing towards you, then slowly rotate the hands four times clockwise, then four times counter-clockwise."
151151+ ],
152152+ "enabled": true
153153+ },
154154+ {
155155+ "data": [
156156+ "Back stretching",
157157+ "Join your hands behind your head, then lift them together up above your head ending with your palms facing upward."
158158+ ],
159159+ "enabled": true
160160+ },
161161+ {
162162+ "data": [
163163+ "Mobilize",
164164+ "For every thirty minutes of stagnation, you should have at least one minute of stimulation."
165165+ ],
166166+ "enabled": true
167167+ },
168168+ {
169169+ "data": [
170170+ "7 Minute Workout",
171171+ "This workout packs in a full-body exercise routine in a fraction of the time. But as with any exercise, be careful. There are numerous apps to get you started."
172172+ ],
173173+ "enabled": true
174174+ },
175175+ {
176176+ "data": [
177177+ "Pulse",
178178+ " Raise your pulse rate to 120 beats per minute for 20 straight minutes four or five times a week doing anything you enjoy. Regularly raising your heart rate results in improved cardiovascular health."
179179+ ],
180180+ "enabled": true
181181+ },
182182+ {
183183+ "data": [
184184+ "Take the stairs ",
185185+ "Studies have shown that stair climbing, which is considered vigorous-intensity physical activity, burns more calories per minute than jogging."
186186+ ],
187187+ "enabled": true
188188+ },
189189+ {
190190+ "data": [
191191+ "Make art",
192192+ "Art therapy is known to have great mental health benefits, especially when it comes to stress management. How about writing a quick poem, taking a picture or painting something small?"
193193+ ],
194194+ "enabled": true
195195+ },
196196+ {
197197+ "data": [
198198+ "Declutter",
199199+ "A clean space helps your focus at work and is often linked to positive emotions like happiness."
200200+ ],
201201+ "enabled": true
202202+ },
203203+ {
204204+ "data": [
205205+ "Lunch outside",
206206+ "Nature is linked to positive emotions and decreased stress and anxiety. Whenever possible, try to take your daily lunch break outside, surrounded by some greenery."
207207+ ],
208208+ "enabled": true
209209+ },
210210+ {
211211+ "data": [
212212+ "Public transport",
213213+ "If you use public transport regularly, you can stand instead of sitting. If it is possible, try to replace as many of your daily trips as possible with walking or cycling."
214214+ ],
215215+ "enabled": true
216216+ },
217217+ {
218218+ "data": [
219219+ "Yawning",
220220+ "Yawning can be really helpful, as it produces tears to help moisten and lubricate the eyes."
221221+ ],
222222+ "enabled": true
223223+ },
224224+ {
225225+ "data": [
226226+ "Focus change",
227227+ "Hold one finger close to the eye and focus on it. Slowly move the finger away, focus far into the distance and then back to the finger. Bring the finger back and focus on something far away."
228228+ ],
229229+ "enabled": true
230230+ },
231231+ {
232232+ "data": [
233233+ "Palming",
234234+ "While seated, brace elbows on the desk and close to the desk edge. Let your weight fall forward and cup hands over eyes. Close your eyes and inhale slowly through nose and hold for few seconds. Continue deep breathing."
235235+ ],
236236+ "enabled": true
237237+ },
238238+ {
239239+ "data": [
240240+ "Hand squeezes",
241241+ "Squeeze a pair of balled-up socks or a soft rubber ball, hold for 5 seconds. Repeat whole process a few times."
242242+ ],
243243+ "enabled": true
244244+ },
245245+ {
246246+ "data": [
247247+ "Slow Breathing",
248248+ "Emerging research suggests potential for use of controlled slow breathing techniques as a means of optimising physiological parameters that appear to be associated with health and longevity."
249249+ ],
250250+ "enabled": true
251251+ },
252252+ {
253253+ "data": [
254254+ "Imaginative visualization",
255255+ "Close your eyes and imagine yourself in a peaceful and calming place, such as a beach or a forest, focusing on the sights, sounds, and sensations of that environment."
256256+ ],
257257+ "enabled": true
258258+ }
259259+ ],
260260+ "breakInterval": 2,
261261+ "breakNotification": true,
262262+ "breakNotificationInterval": 30000,
263263+ "breakPostponableDurationPercent": 30,
264264+ "breakPostpone": true,
265265+ "breakPostponeTime": 300000,
266266+ "breakPostponesLimit": 1,
267267+ "breakStartSoundPlaying": false,
268268+ "breakStrictMode": false,
269269+ "breakWindowHeight": 0.9,
270270+ "breakWindowWidth": 0.9,
271271+ "checkNewVersion": true,
272272+ "currentTimeInBreaks": true,
273273+ "endBreakShortcut": "CmdOrCtrl+Esc",
274274+ "fullscreen": false,
275275+ "ideas": true,
276276+ "isFirstRun": false,
277277+ "language": "en",
278278+ "mainColor": "#633738",
279279+ "microbreak": true,
280280+ "microbreakDuration": 20000,
281281+ "microbreakIdeas": [
282282+ {
283283+ "data": "Go grab a glass of water.",
284284+ "enabled": true
285285+ },
286286+ {
287287+ "data": "Slowly look all the way left, then right.",
288288+ "enabled": true
289289+ },
290290+ {
291291+ "data": "Slowly look all the way up, then down.",
292292+ "enabled": true
293293+ },
294294+ {
295295+ "data": "Close your eyes and take few deep breaths.",
296296+ "enabled": true
297297+ },
298298+ {
299299+ "data": "Close your eyes and relax.",
300300+ "enabled": true
301301+ },
302302+ {
303303+ "data": "Stretch your legs.",
304304+ "enabled": true
305305+ },
306306+ {
307307+ "data": "Stretch your arms.",
308308+ "enabled": true
309309+ },
310310+ {
311311+ "data": "Is your sitting posture correct?",
312312+ "enabled": true
313313+ },
314314+ {
315315+ "data": "Slowly turn head to side and hold for 10 seconds.",
316316+ "enabled": true
317317+ },
318318+ {
319319+ "data": "Slowly tilt head to side and hold for 5-10 seconds.",
320320+ "enabled": true
321321+ },
322322+ {
323323+ "data": "Stand from your chair and stretch.",
324324+ "enabled": true
325325+ },
326326+ {
327327+ "data": "Refocus your eyes on an object at least 20 meters away.",
328328+ "enabled": true
329329+ },
330330+ {
331331+ "data": "Take a moment to think about something you appreciate.",
332332+ "enabled": true
333333+ },
334334+ {
335335+ "data": "Take a moment to smile at being alive.",
336336+ "enabled": true
337337+ },
338338+ {
339339+ "data": "A truly ergonomic workstation is one that you regularly push away from.",
340340+ "enabled": true
341341+ },
342342+ {
343343+ "data": "Close your eyes and count your breaths.",
344344+ "enabled": true
345345+ },
346346+ {
347347+ "data": "Close your eyes and name the things you hear.",
348348+ "enabled": true
349349+ },
350350+ {
351351+ "data": "Place your fingertips on your shoulders. Roll your shoulders forward for 10 seconds, then backward.",
352352+ "enabled": true
353353+ },
354354+ {
355355+ "data": "Raise your right arm, stretch it over your head to the left, and hold for 10 seconds. Repeat on the other side.",
356356+ "enabled": true
357357+ },
358358+ {
359359+ "data": "With your right hand, grab each finger of your left hand in turn and squeeze. Repeat on the other side.",
360360+ "enabled": true
361361+ },
362362+ {
363363+ "data": "Stand up and do a lunge. Hold for 10 seconds, then do the other leg.",
364364+ "enabled": true
365365+ },
366366+ {
367367+ "data": "Close your eyes and simply notice whatever arises in current moment, without judgement.",
368368+ "enabled": true
369369+ },
370370+ {
371371+ "data": "Focus every 20 minutes for 20 seconds on an object at 20 feet distance.",
372372+ "enabled": true
373373+ },
374374+ {
375375+ "data": "If you need help, ask for it.",
376376+ "enabled": true
377377+ },
378378+ {
379379+ "data": "Do one thing at a time.",
380380+ "enabled": true
381381+ },
382382+ {
383383+ "data": "Is your attention spent wisely?",
384384+ "enabled": true
385385+ },
386386+ {
387387+ "data": "Change your sitting posture.",
388388+ "enabled": true
389389+ },
390390+ {
391391+ "data": "Expose your eyes to natural light.",
392392+ "enabled": true
393393+ },
394394+ {
395395+ "data": "With your eyes closed, slowly and gently raise your eyes to the ceiling and back down to the floor.",
396396+ "enabled": true
397397+ },
398398+ {
399399+ "data": "With your eyes closed, slowly and gently move your eyes to the left, then slowly to the right.",
400400+ "enabled": true
401401+ },
402402+ {
403403+ "data": "Shake your hands out to get some relief.",
404404+ "enabled": true
405405+ },
406406+ {
407407+ "data": "One at a time, touch the tip of each finger to the tip of your thumb so they make an O-shape.",
408408+ "enabled": true
409409+ },
410410+ {
411411+ "data": "Make a fist and then slide your fingers up until they point toward the ceiling, like you're telling someone to stop.",
412412+ "enabled": true
413413+ },
414414+ {
415415+ "data": "Make a fist and then fan your fingers out and stretch them as far as you can.",
416416+ "enabled": true
417417+ },
418418+ {
419419+ "data": "Sit tall, arms hanging at your sides, and slowly rotate neck in one direction in a large circle.",
420420+ "enabled": true
421421+ },
422422+ {
423423+ "data": "Stand tall and slowly tilt your head toward the shoulder using the same hand until you feel a stretch.",
424424+ "enabled": true
425425+ },
426426+ {
427427+ "data": "Stand tall with your arms by your side. Squeeze your shoulder blades together and hold.",
428428+ "enabled": true
429429+ },
430430+ {
431431+ "data": "Stand tall with your arms raised along your shoulders. Move hands slightly behind your back, hold for a second and return.",
432432+ "enabled": true
433433+ },
434434+ {
435435+ "data": "Sit on the edge of your chair, twist your torso to one side and hold for 10-15 seconds. Repeat on the other side.",
436436+ "enabled": true
437437+ },
438438+ {
439439+ "data": "Stand up and put one foot on a nearby object, like a chair or step stool. Keep your knee bent and hold for 10-15 seconds. Repeat with the other foot.",
440440+ "enabled": true
441441+ },
442442+ {
443443+ "data": "Stand with your feet shoulder-width apart, lower your body down as if you were sitting back into a chair, then stand back up. Repeat several times.",
444444+ "enabled": true
445445+ },
446446+ {
447447+ "data": "Stand with you back and hands on a wall, then slowly move your arms up and down as if you were making snow angels.",
448448+ "enabled": true
449449+ },
450450+ {
451451+ "data": "Stand facing a wall and place your hands on it, then do several push-ups.",
452452+ "enabled": true
453453+ },
454454+ {
455455+ "data": "Sit on the edge of your chair and extend one leg straight out in front of you, holding for 10-15 seconds. Repeat with the other leg.",
456456+ "enabled": true
457457+ },
458458+ {
459459+ "data": "Stand facing a wall, put one foot back and the other foot forward, then lean into the wall. Repeat with the other leg.",
460460+ "enabled": true
461461+ },
462462+ {
463463+ "data": "Hold one arm straight up, then use the other arm to gently push the elbow of the first arm towards your head. Hold for 10-15 seconds. Repeat with the other arm.",
464464+ "enabled": true
465465+ },
466466+ {
467467+ "data": "Tilt your head to one side, then to the other side, and then gently tilt it forward and backward.",
468468+ "enabled": true
469469+ },
470470+ {
471471+ "data": "Reach one arm across your chest, hold onto the elbow with the other hand, and gently pull it in towards your chest. Repeat with the other arm.",
472472+ "enabled": true
473473+ },
474474+ {
475475+ "data": "Stand up, put one foot on a nearby object, like a chair or step stool, and reach down to touch your toes. Repeat with the other leg.",
476476+ "enabled": true
477477+ },
478478+ {
479479+ "data": "Stand in a doorway and place one arm on each side of the doorway, then gently lean forward until you feel a stretch in your chest.",
480480+ "enabled": true
481481+ },
482482+ {
483483+ "data": "Sit on the edge of a chair or on the floor, and place the soles of your feet together, gently pressing down with your elbows to stretch your inner thighs.",
484484+ "enabled": true
485485+ }
486486+ ],
487487+ "microbreakInterval": 2400000,
488488+ "microbreakNotification": true,
489489+ "microbreakNotificationInterval": 10000,
490490+ "microbreakPostponableDurationPercent": 30,
491491+ "microbreakPostpone": true,
492492+ "microbreakPostponeTime": 120000,
493493+ "microbreakPostponesLimit": 1,
494494+ "microbreakStartSoundPlaying": false,
495495+ "microbreakStrictMode": false,
496496+ "miniBreakAudio": "reverie",
497497+ "miniBreakColor": "#633738",
498498+ "monitorDnd": true,
499499+ "morningHour": 7,
500500+ "naturalBreaks": true,
501501+ "naturalBreaksInactivityResetTime": 300000,
502502+ "notifyNewVersion": true,
503503+ "opacity": 0.75,
504504+ "pauseBreaksToggleShortcut": "",
505505+ "pauseForSuspendOrLock": true,
506506+ "posLatitude": 42.37,
507507+ "posLongitude": 71.1,
508508+ "resetBreaksShortcut": "",
509509+ "screen": "primary",
510510+ "showBreaksAsRegularWindows": false,
511511+ "showTrayIcon": true,
512512+ "silentNotifications": false,
513513+ "skipToNextLongBreakShortcut": "",
514514+ "skipToNextMiniBreakShortcut": "",
515515+ "skipToNextScheduledBreakShortcut": "",
516516+ "themeSource": "system",
517517+ "timeToBreakInTray": false,
518518+ "transparentMode": true,
519519+ "useIdeasFromSettings": false,
520520+ "useMonochromeInvertedTrayIcon": false,
521521+ "useMonochromeTrayIcon": true,
522522+ "volume": 0.8
523523}