Skip to content

Instantly share code, notes, and snippets.

AyushRawal /
Created January 11, 2023 12:52
my qtile config
from libqtile import bar, layout, widget
from libqtile.config import Click, Drag, Group, Key, Match, Screen
from libqtile.lazy import lazy
from libqtile.utils import guess_terminal
mod = "mod4"
terminal = guess_terminal()
keys = [
# A list of available commands that can be bound to keys can be found
# A simple bash script to compile and execute cpp files during contests
usage="[USAGE]: runcpp [file] -- compile and execute file with input from input.txt
[OR]: runcpp clean -- delete input.txt and a.out if they exist
[OR]: runcpp -h | --help -- print this help mesaage and exit"
if [ ! $# -eq 1 ]; then
echo "Invalid usage! \n"