From 95cbffa6b37213ea6b3dc2ee788fc37c6d312b8b Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Mon, 29 Jun 2020 21:05:34 +0700 Subject: Update 2020-06-29 --- awesome/.config/awesome/rc.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'awesome/.config') diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 4c1566f..e627faf 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -53,6 +53,7 @@ local pulsemixer = terminal .. " -e pulsemixer" local ranger = terminal .. " -e ranger" local irc = terminal .. " -e ircII cnx irc.freenode.net" local python3 = terminal .. " -e python3" +local python2 = terminal .. " -e python2" local guile = terminal .. " -e guile" local clojure = terminal .. " -e clojure" local emacs = "emacs" @@ -80,9 +81,9 @@ local modkey = "Mod4" awful.layout.layouts = { awful.layout.suit.fair, --awful.layout.suit.fair.horizontal, - --awful.layout.suit.tile, + awful.layout.suit.tile, --awful.layout.suit.tile.left, - awful.layout.suit.tile.bottom, + --awful.layout.suit.tile.bottom, --awful.layout.suit.tile.top, --awful.layout.suit.spiral, --awful.layout.suit.spiral.dwindle, @@ -485,6 +486,8 @@ local globalkeys = awful.util.table.join( {description = "open ranger at /data", group = "launcher"}), awful.key({modkey}, "p", spawner(python3), {description = "open Python 3 interpreter", group = "launcher"}), + awful.key({modkey, "Shift"}, "p", spawner(python2), + {description = "open Python 2 interpreter", group = "launcher"}), awful.key({modkey}, "c", spawner(clojure), {description = "open Clojure interpreter", group = "launcher"}), awful.key({modkey}, "g", spawner(guile), -- cgit 1.4.1