$mod
refers to the modifier key (alt by default)
startx i3
start i3 from command line$mod+<Enter>
open a terminal$mod+d
open dmenu (text based program launcher)$mod+r
resize mode ( or to leave resize mode)$mod+shift+e
exit i3
# Arch Linux installation procedure on a Lenovo ThinkPad X200s | |
# BIOS boot (no UEFI), SSD + LVM + LUKS + TRIM + discards | |
# Randomize (or zero) drive contents | |
dd if=/dev/urandom of=/dev/sda | |
# Create GPT and partitions | |
# Use gdisk to ensure proper partition alignment | |
gdisk /dev/sda | |
# 100MB boot partition on /dev/sda1 type 8300 |
00 | |
01 | |
02 | |
03 | |
04 | |
05 | |
06 | |
07 | |
08 | |
09 |
Name: Flash | |
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc= | |
if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676 | |
Thank you! |
$ uname -r
import os | |
import sys | |
import time | |
import platform | |
import subprocess | |
import urllib2 | |
import logging | |
""" Are we windows or linux """ | |
is_windows = any(platform.win32_ver()) |
# Hosts file for Pi-Hole |
; This is part of my AutoHotkey [1] script that turns off my monitor when I | |
; press Win+\. | |
; It also turns the screensaver on at the same time, so that Windows Live | |
; Messenger (and any other programs) know I am away. | |
; I don't have a password on my screensaver, so there is a second version | |
; (Win+Shift+\) that locks the PC as well. | |
; Note: Sometimes the monitor comes back on after a second and I have to |