From f42f3b02862728c7082aac29e904511d05281b15 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 4 Sep 2016 04:24:33 -0700 Subject: [PATCH] Add command for emacs bindings in linux --- tasks/linux.py | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/tasks/linux.py b/tasks/linux.py index a8c42844..dab07904 100644 --- a/tasks/linux.py +++ b/tasks/linux.py @@ -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'")