diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2020-06-29 21:05:34 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2020-06-29 21:05:34 +0700 |
commit | 95cbffa6b37213ea6b3dc2ee788fc37c6d312b8b (patch) | |
tree | e793dd75595fb85498a8677efa092e4e9aaa7d09 /awesome | |
parent | 4b637dae5cb2db3dc66af59b3afb8370e5686d23 (diff) | |
download | dotfiles-95cbffa6b37213ea6b3dc2ee788fc37c6d312b8b.tar.gz |
Update 2020-06-29
Diffstat (limited to 'awesome')
-rw-r--r-- | awesome/.config/awesome/rc.lua | 7 |
1 files changed, 5 insertions, 2 deletions
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), |