diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2020-04-09 11:30:57 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2020-04-09 11:30:57 +0700 |
commit | 59fb998abb48df972a2ce399a8bacb2a5de06da2 (patch) | |
tree | 524c55afcc849475c31e3057482a430d6fadc63a /awesome | |
parent | 25f162ed00b2676dc521c055545f7ec279332061 (diff) | |
download | dotfiles-59fb998abb48df972a2ce399a8bacb2a5de06da2.tar.gz |
Update 2020-04-09
Diffstat (limited to 'awesome')
-rw-r--r-- | awesome/.config/awesome/rc.lua | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 1bf8ec3..de0faf8 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -46,17 +46,18 @@ beautiful.init"~/.config/awesome/themes/srcery/theme.lua" -- This is used later as the default terminal and editor to run. local terminal = "urxvt" -local editor = terminal .. " -e vim" +local editor = "gvim" -- And some additional applications local root_terminal = terminal .. " -e su -" 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 perl6 = terminal .. " -e perl6" local octave = terminal .. " -e octave" local guile = terminal .. " -e guile" local clojure = terminal .. " -e clojure" -local emacs = terminal .. " -e emacsclient -nw" +local emacs = "emacsclient -c" local slock_suspend = "slock systemctl --ignore-inhibitors suspend" -- Audacious media player @@ -67,7 +68,7 @@ local audacious_rewind = "audacious --rew" local audacious_forward = "audacious --fwd" local scrot = "scrot /home/cnx/Desktop/%FT%T.png" -local scrot_select = "scrot --select /home/cnx/Desktop/%FT%T.png" +local scrot_select = "scrot --border --select /home/cnx/Desktop/%FT%T.png" -- Default modkey. -- Usually, Mod4 is the key with a logo between Control and Alt. @@ -483,7 +484,9 @@ local globalkeys = awful.util.table.join( awful.key({modkey}, "r", spawner(ranger), {description = "open ranger file manager", group = "launcher"}), awful.key({modkey, "Shift"}, "r", spawner(ranger .. " /data"), - {description = "open Riboflavin", group = "launcher"}), + {description = "open ranger at /data", group = "launcher"}), + awful.key({modkey}, "i", spawner(irc), + {description = "open Freenode", group = "launcher"}), awful.key({modkey}, "p", spawner(python3), {description = "open Python 3 interpreter", group = "launcher"}), awful.key({modkey, "Shift"}, "p", spawner(perl6), |