First things first, you need to install the cairo-lang package, preferably in a virtual env you can later use and upgrade. Currently only python 3.7 and 3.8 is supported
python3 -m venv ~/cairo_venv
source ~/cairo_venv/bin/activate
" Vim syntax file | |
" | |
" Language: CAIRO | |
if exists("b:current_syntax") | |
finish | |
endif | |
syntax include @python syntax/python.vim |
#!/bin/bash | |
# This script is intended to make switching between laptop and external displays easier when using i3+dmenu | |
# To run this script, map it to some shortcut in your i3 config, e.g: | |
# bindsym $mod+p exec --no-startup-id $config/display.sh |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#ifdef _MSC_VER | |
#include <intrin.h> /* for rdtscp and clflush */ | |
#pragma optimize("gt",on) | |
#else | |
#include <x86intrin.h> /* for rdtscp and clflush */ | |
#endif |