Use cool aliases for dnd-wrapper

master
Jacopo De Simoi 2 years ago
parent 8a6dcd45e6
commit 8049f9164a
  1. 21
      zshrc.org

@ -55,6 +55,8 @@ defined in the previous section.
now, the em-world is an alias that only exists in the version of
zshrc that I use for root. How do I want to proceed?
*** TODO replace pomodoro aliases with actual scripts
*** Include :daily:android:
First, include a script that sets a number of confidential data (e.g. API keys and such)
#+begin_src sh
@ -463,6 +465,15 @@ This needs to be diff'd among the versions
#+begin_src sh
alias hugo="/snap/bin/hugo"
#+end_src
*** dnd management :daily:
#+begin_src sh
alias with-dnd=~/scripts/dnd-wrapper.py
#+end_src
This silences the fan:
#+qbegin_src sh
alias with-power-save="powerprofilesctl launch -p power-saver -r 'quiet operations'"
#+end_src
*** Pomodoro aliases :pi:android:
These aliases help setting up termdown to countdown for the pomodoro
technique
@ -490,12 +501,12 @@ technique
pomo_break_cmd="$termdown_bin $termdown_opts 5m -c 60 -q 10 $@"
pomodorino_break_cmd="$termdown_bin 2m30s $termdown_opts -c 45 -q 10 $@"
alias pomo="~/scripts/dnd-wrapper.py '$pomo_cmd' Pomodoro"
alias pomo="with-dnd '$pomo_cmd' Pomodoro"
alias pomodoro=pomo
alias heirloom="~/scripts/dnd-wrapper.py '$heirloom_cmd' Pomodoro"
alias pomodorino="~/scripts/dnd-wrapper.py '$pomodorino_cmd' Pomodoro"
alias pomo-break="~/scripts/dnd-wrapper.py '$pomo_break_cmd' Pomodoro"
alias pomodorino-break="~/scripts/dnd-wrapper.py '$pomodorino_break_cmd' Pomodoro"
alias heirloom="with-dnd '$heirloom_cmd' Pomodoro"
alias pomodorino="with-dnd '$pomodorino_cmd' Pomodoro"
alias pomo-break="with-dnd '$pomo_break_cmd' Pomodoro"
alias pomodorino-break="with-dnd '$pomodorino_break_cmd' Pomodoro"
#+end_src
*** Android aliases :daily:

Loading…
Cancel
Save