How to use i3lock to wake from suspend state
By Raymond Li (Raymo111), September 3rd, 2019
Table of Contents
Step 0: Preparation
Step 1: Create the lock script
Step 2: Create the systemd
module
Step 3: Enable the systemd
module
Step 0: Preparation
Step 1: Create the lock script
Step 2: Create the systemd
module
Step 3: Enable the systemd
module
#!/bin/bash | |
start=$1 | |
case "$2" in | |
"") end=$1 ;; | |
*) end=$2 ;; | |
esac | |
start=$(date -d $start '+%Y-%m-%d') | |
end=$(date -d $end '+%Y-%m-%d') | |
[ -d Dilberts ] || mkdir Dilberts |
You'll need to have Dislocker installed, obviously. You'll also need accessible folders at /media/bitlocker/dislocker-file
and /media/bitlockermount
mkdir -p ~/scripts && wget +x https://gist.github.com/Raymo111/964f8c5943a64919a324b5f92ac5874b/raw/72d3b9c23189e0e1a55de7aab22578773b8f133c/dislocker.sh ~/scripts/dislocker.sh
Step 0: Hardware Prerequisites
Step 1: Flash Your MicroSD Card
Step 2: Configuring Your Pi \
Step 0: Preparation
Step 1: Server
Step 2: Client
M
is your modifier key (Alt, Win, etc.)M-T - Swap the last 2 words
M-U - Capitalize all characters from cursor to next space
M-R - Undo any changes to a command pulled from history (like with UP-ARROW
)
a ("a-ee", "a" like in "aha")
bee
cee ("c" pronounced like "ts" in "its")
dee
e ("ay-ee", "ay" like in "day")
{user}, welcome to {server}! Please use `?iwillabidebyallserverrules yourname yourprogram` here to get started!
By doing so, you acknowledge that you have read this message in its entirety and agree to abide by all server rules. Note that you will be kicked out if you enter inappropriate info. This includes that `yourname` must be your *actual* firstname, or firstname and last initial.
Use `?ranks` to show all programs, and `?rules` to show all server rules.
If you are not in any of the listed programs, please choose `spy` :)
This file was last updated on July 11th, 2020.
Last updated 26 November 2020
Disclaimer: I have personally tested every step of this. However, I'm not responsible for anything you do.
There's a Reddit thread for this laptop.