From 7e2a016dc724dd9f6767a002f5da889740f137c6 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 29 Nov 2020 11:30:01 +0700 Subject: Update 2020-11-29 --- awesome/.config/awesome/rc.lua | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) (limited to 'awesome/.config/awesome/rc.lua') diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 2a6d61d..bfb390d 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -46,18 +46,15 @@ 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 = "gvim" +local editor = terminal .. " -e vim" -- 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 python2 = terminal .. " -e python2" +local python = terminal .. " -e python" local guile = terminal .. " -e guile" local clojure = terminal .. " -e clojure" +local aerc = terminal .. " -e aerc" local emacs = "emacs" -local netrw = terminal .. " -e vim" local slock_suspend = "slock systemctl --ignore-inhibitors suspend" -- Audacious media player @@ -142,7 +139,7 @@ local mymainmenu = freedesktop.menu.build{ -- Menubar configuration -- Set geometry so it would overlay the wibox -menubar.geometry = {y = 0, height = 22} +menubar.geometry = {y = 0, height = 28} -- Set the terminal for applications that require it menubar.utils.terminal = terminal -- }}} @@ -348,7 +345,7 @@ awful.screen.connect_for_each_screen(function (s) -- ) -- Create the wibox - s.mywibox = awful.wibar{position = "top", height = "22", screen = s} + s.mywibox = awful.wibar{position = "top", height = "28", screen = s} -- Add widgets to the wibox s.mywibox:setup{ @@ -465,12 +462,12 @@ local globalkeys = awful.util.table.join( {description = "open a terminal", group = "launcher"}), awful.key({modkey, "Shift"}, "x", spawner(root_terminal), {description = "open a root terminal", group = "launcher"}), - awful.key({modkey}, "v", spawner(netrw), - {description = "open GVim", group = "launcher"}), - awful.key({modkey}, "e", spawner(emacs), + awful.key({modkey}, "v", spawner(editor), + {description = "open Vim", group = "launcher"}), + awful.key({modkey, "Shift"}, "e", spawner(emacs), {description = "open Emacs", group = "launcher"}), - awful.key({modkey}, "b", spawner"qutebrowser", - {description = "open qutebrowser", group = "launcher"}), + awful.key({modkey}, "e", spawner(aerc), + {description = "open aerc", group = "launcher"}), awful.key({modkey}, "f", spawner"firefox", {description = "open Firefox", group = "launcher"}), awful.key({modkey, "Shift"}, "f", spawner"torbrowser-launcher", @@ -487,10 +484,8 @@ local globalkeys = awful.util.table.join( {description = "open ranger file manager", group = "launcher"}), awful.key({modkey, "Shift"}, "r", spawner(ranger .. " /data"), {description = "open ranger at /data", group = "launcher"}), - awful.key({modkey}, "p", spawner(python3), + awful.key({modkey}, "p", spawner(python), {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), @@ -501,8 +496,8 @@ local globalkeys = awful.util.table.join( {description = "lock screen", group = "launcher"}), awful.key({modkey, "Shift"}, "s", spawner(slock_suspend), {description = "lock screen then suspend", group = "launcher"}), - awful.key({modkey, "Control"}, "m", spawner(pulsemixer), - {description = "open PulseAudio mixer", group = "multimedia"}), + awful.key({modkey, "Shift"}, "m", spawner("tootle"), + {description = "open Tootle", group = "launcher"}), awful.key({modkey}, "a", spawner(audacious_jump_box), {description = "Audacious: jump-to-song", group = "multimedia"}), awful.key({modkey, "Shift"}, "a", spawner(audacious_main_window), @@ -769,7 +764,7 @@ client.connect_signal( end) ) - awful.titlebar(c, {size=22}):setup{ + awful.titlebar(c, {size=28}):setup{ {-- Left awful.titlebar.widget.closebutton(c), awful.titlebar.widget.ontopbutton(c), -- cgit 1.4.1