Add command for emacs bindings in linux

This commit is contained in:
Ivan Malison 2016-09-04 04:24:33 -07:00
parent 5bac8d639c
commit f42f3b0286
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -51,20 +51,14 @@ sudo chown root /usr/bin/hub &&
sudo chmod 777 /usr/bin/hub""")
@ctask
def get_spotify(ctx):
pass
@ctask
def setup_sources(ctx):
pass
@ctask
def monaco(ctx):
ctx.run("sudo cp {0} /usr/share/fonts/fontfiles".format(
os.path.join(RESOURCES_DIRECTORY, "Monaco-Powerline.otf")
))
ctx.run("sudo fc-cache -fv")
@ctask
def emacs_bindings_in_gnome(ctx):
ctx.run("gsettings set org.gnome.desktop.interface gtk-key-theme 'Emacs'")