Skip to content

Instantly share code, notes, and snippets.

View mkmkme's full-sized avatar
🦀
crab

Mikhail Koviazin mkmkme

🦀
crab
View GitHub Profile
@mkmkme
mkmkme / aliases.py
Created July 10, 2019 12:09 — forked from sampsyo/aliases.py
hack for argparse adding subcommand aliases
#!/usr/bin/env python
"""Aliases for argparse positional arguments."""
import argparse
class AliasedSubParsersAction(argparse._SubParsersAction):
class _AliasedPseudoAction(argparse.Action):
def __init__(self, name, aliases, help):
@mkmkme
mkmkme / iceWMdual.mkd
Created December 21, 2015 21:12 — forked from bxt/iceWMdual.mkd
IceWM Dual Screen expanding howto (very basic)

Step 1: Make sure xrandr works fine

Check your screen's names by typing:

xrandr -q

Step 2: Expand your screen

Then disable one of them: (notice VGA-1 is the name of the screen, will differ, e.g. HDMI-1 if the screen is connected via HDMI)

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
Documented at
http://linux.die.net/man/5/fonts-conf
To check font mapping run the command at terminal
$ fc-match 'helvetica Neue'