summaryrefslogtreecommitdiff
path: root/frontends/scripts
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-05-26 09:48:13 +0300
committerPaul Buetow <paul@buetow.org>2023-05-26 09:48:13 +0300
commit99a05f790f02d16f71f98c71421365eedfc5b153 (patch)
tree3a5eaa3d0068e9a30f7e9b2fb65af98befb9dfaa /frontends/scripts
parent837331983d6129bc77622f7cb45ddb5bec1507d0 (diff)
habit
Diffstat (limited to 'frontends/scripts')
-rw-r--r--frontends/scripts/gemtexter.sh.tpl6
-rw-r--r--frontends/scripts/habit.pl51
2 files changed, 30 insertions, 27 deletions
diff --git a/frontends/scripts/gemtexter.sh.tpl b/frontends/scripts/gemtexter.sh.tpl
index 4fc76d9..2b28cf4 100644
--- a/frontends/scripts/gemtexter.sh.tpl
+++ b/frontends/scripts/gemtexter.sh.tpl
@@ -45,7 +45,7 @@ function ensure_links {
}
<% if ($is_primary->($vio0_ip)) { %>
-for site in foo.zone snonux.land paul.cyou; do
+for site in foo.zone snonux.land paul.buetow.org; do
ensure_site \
/var/gemini/$site \
https://codeberg.org/snonux/$site \
@@ -56,7 +56,7 @@ for site in foo.zone snonux.land paul.cyou; do
content-html
done
-ensure_links /var/gemini/paul.cyou buetow.org
-ensure_links /var/gemini/paul.cyou paul.buetow.org
+ensure_links /var/gemini/paul.buetow.org buetow.org
+ensure_links /var/gemini/paul.buetow.org paul.cyou
<% } %>
diff --git a/frontends/scripts/habit.pl b/frontends/scripts/habit.pl
index 8671920..c8ca2e8 100644
--- a/frontends/scripts/habit.pl
+++ b/frontends/scripts/habit.pl
@@ -7,44 +7,47 @@ use warnings;
use Acme::Cow;
our @habits = (
+ '1h+ deep work',
+ 'Breathing exercise',
+ 'Do nothing',
+ 'Do pistol squads',
'Do Push-ups',
+ 'Do Shoulder stand',
'Do single-arm push-ups',
- 'Do Yoga Wheel',
'Do Yoga Bridge',
'Do Yoga Cro',
'Do Yoga Downward Facing Dog',
- 'Do Yoga Warrior 3',
'Do Yoga Half Moon',
- 'Do Shoulder stand',
- 'Do pistol squads',
- 'Meditate',
- 'Listen to music',
- 'Do nothing',
- 'Breathing exercise',
- '1h+ deep work',
- 'Play with the cat',
+ 'Do Yoga Warrior 3',
+ 'Do Yoga Wheel',
+ 'Drink tea (or an infusion)',
'Drink water',
- 'Think about the purpose of what I am doing',
- 'Write down 3 things I am grateful for',
- 'Take it easy - nobody is dying!',
+ 'Eat 99% dark chocolate',
'Enjoy my current task',
- 'It\'s family time',
+ 'Focus on things I have under control',
+ 'Got enough vitamins?',
+ 'Have a positive attitute - Be solution oriented',
+ 'Watch bulgarian TV or YouTube',
+ 'Have a walk without headphones plugged in',
'Help someone',
- 'Tonight, disconnect from work completely',
+ 'It\'s family time',
+ 'Learn/try out a new Linux/Unix command',
+ 'Learn vocs with Anki',
'Limit the use of social media',
+ 'Listen to a random 101 chapter today',
+ 'Listen to music',
+ 'Meditate',
'Only use my phone and computers intentionally',
- 'Learn vocs with Anki',
- 'Learn/try out a new Linux/Unix command',
- 'Got enough vitamins?',
+ 'Play with the cat',
'Process my last (book) notes',
- 'Drink tea (or an infusion)',
- 'Have a positive attitute - Be solution oriented',
- 'Focus on things I have under control',
- 'Listen to a random 101 chapter today',
'Read my Gemini subscriptions',
- 'Write down 10 ideas (weird and non-weird)',
- 'Have a walk without headphones plugged in',
"Read today's chapter of the daily stoic",
+ 'Revisit my core values',
+ 'Take it easy - nobody is dying!',
+ 'Think about the purpose of what I am doing',
+ 'Tonight, disconnect from work completely',
+ 'Write down 10 ideas (weird and non-weird)',
+ 'Write down 3 things I am grateful for',
);
my $habit = $habits[rand @habits];