My life today is wonderful, I believe that I am needed… That’s the most important sense of life, that you are needed, that you are not just an emptiness that breathes and walks and eats something.
— Pres. Zelenskyy, via translator, asked about his living conditions in Ukraine
Avete presente Matteo Salvini? (Per il quale «servirebbero quattro mesi di servizio militare per insegnare ai nostri ragazzi l’uso delle armi», per il quale contro gli immigrati «i confini ci sono e vanno difesi anche con le armi», per il quale «in Siria e in Libia serve l’intervento militare e chi dice di no è un senza palle: con i tagliagole bisogna intervenire militarmente e massicciamente», per il quale «il modello è la Svizzera dove un cittadino su due è legittimamente armato e dove ogni cittadino ha la possibilità di difendersi», per il quale – ricordo bene ‘sta dichiarazione, perché la fece ispirandosi a un fatto violento avvenuto a Frattamaggiore – per il quale, dicevo, «se io vengo aggredito o minacciato nella mia azienda, nel mio negozio, nella mia casa ho il diritto di difendermi», anche con le armi perché «la difesa è sempre legittima», per il quale «se ti trovi una o più persone in casa alle tre di notte, mascherate, sono a casa tua e violano la proprietà privata, che cosa fai prima di sparare, gli chiedi se hanno una pistola?», per il quale se spari a un rapinatore «e se il rapinatore ci rimane, nella prossima vita farà un altro lavoro», per il quale «se si ha il porto d’armi è normale andare in giro armati e difendersi»)… Ecco, sì, proprio il Matteo di cui sopra, viene a dirci, con viso preoccupato e pensoso – e già ‘sta cosa, detta così, fa ridere -, che, per aiutare l’Ucraina invasa dai carrarmati di Vladimir Putin, lui «fatica a parlare di armi con leggerezza».
#! /bin/bash
send_notification() {
TODAY=$(date '+%-d')
HEAD=$(cal "$1" | head -n1)
BODY=$(cal "$1" | tail -n7 | sed -z "s|$TODAY|<u><b>$TODAY</b></u>|1")
FOOT="\n<i> ~ calendar</i> B. Raucci"
dunstify -h string:x-canonical-private-synchronous:calendar \
"$HEAD" "$BODY$FOOT" -u NORMAL
}
handle_action() {
echo "$DIFF" > "$TMP"
if [ "$DIFF" -ge 0 ]; then
send_notification "+$DIFF months"
else
send_notification "$((-DIFF)) months ago"
fi
}
TMP=${XDG_RUNTIME_DIR:-/tmp}/"$UID"_calendar_notification_month
touch "$TMP"
DIFF=$(<"$TMP")
case $1 in
"curr") DIFF=0;;
"next") DIFF=$((DIFF+1));;
"prev") DIFF=$((DIFF-1));;
esac
handle_action
The calendar script is responsible for handling mouse events triggered by your bar, following are valid arguments:
./calendar curr # current month
./calendar next # increment month
./calendar prev # decrement month
Copy calendar to your polybar config directory. Then, in your polybar config, you can use click-left, scroll-up and scroll-down actions to invoke the script. For example:
Just like TikZ, Inkscape has the option to render the text of a figure using LaTeX. For this, it exports figures as both a pdf and a LaTeX file. The pdf document contains the figure with text stripped, and the LaTeX file contains the code needed to place the text at the correct position. For example, suppose you’re working on the following figure in Inkscape:
To include this figure in a LaTeX document, you’d go to File › Save As, select ‘pdf’ as the extension and then press Save which makes the following dialog pop up:
Choosing ‘Omit text in pdf and create LaTeX file’, will save the figure as pdf+LaTeX. To include these Inkscape figures in your LaTeX document, you can add the following code to your preamble: