Skip to content

Instantly share code, notes, and snippets.

" RAPHAEL'S GOOD INIT.VIM
" Copyleft 2021: All Wrongs Reserved
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"
" Recommended tools:
" ripgrep, fzf, bat, lazygit
"
" PLUGINS
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
call plug#begin(stdpath('data') . '/plugged')
call pathogen#infect()
syntax on
filetype plugin indent on
set mouse=a
set number
" Turns on auto-indent
set autoindent
" Replace tabs with spaces (Ctrl-V<TAB> to type actual tab)
set expandtab
# Remap prefix key from C-b to C-a
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
#---- Generated by tint2conf a0c2 ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options.
#-------------------------------------
# Gradients
#-------------------------------------
# Backgrounds
# Background 1: Inactive taskbar, Panel
rounded = 0
border_width = 0
--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details
Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
@lowercasename
lowercasename / logs
Created November 30, 2019 12:01
Slow startup on Manjaro KDE logs
sudo systemd-analyze blame
794ms systemd-logind.service
760ms upower.service
760ms tlp.service
692ms apparmor.service
581ms lvm2-monitor.service
460ms dev-nvme0n1p7.device
420ms systemd-timesyncd.service
313ms systemd-journald.service
308ms snapd.service
@lowercasename
lowercasename / tinyzine
Created May 25, 2019 11:18
A Bash script to create print-ready tiny zines from 16-page PDF files
#!/bin/bash
if [ -z "$1" ]
then
echo "Please specify an input PDF file ('tinyzine input.pdf')."; exit 1;
else
# Check if pdfTeX is installed
command -v pdftex >/dev/null 2>&1 || { echo >&2 "I require pdfTeX to be installed but I can't find it! Aborting."; exit 1; }
# Check if PDFjam is installed
@lowercasename
lowercasename / keybase.md
Created January 9, 2019 21:05
Keybase proof

Keybase proof

I hereby claim:

  • I am lowercasename on github.
  • I am lowercasename (https://keybase.io/lowercasename) on keybase.
  • I have a public key ASDdsd2QO_C5NE3jopCbfYfWJpbVNCypjIrlpiVasBKxgwo

To claim this, I am signing this object: