diff options
author | tdro <tdro@users.noreply.github.com> | 2020-07-27 20:00:23 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-07-27 20:01:22 -0400 |
commit | 1b52f3db0a70a3a8bcb05e7f41dab5532f73cbfa (patch) | |
tree | 9771c236eb5b3a8f8d46121ca5310f6e367ddee5 /.config/awesome | |
parent | fde0688e1744023962e6bb3f5897397f3f671c15 (diff) | |
download | dotfiles-1b52f3db0a70a3a8bcb05e7f41dab5532f73cbfa.tar.gz dotfiles-1b52f3db0a70a3a8bcb05e7f41dab5532f73cbfa.tar.bz2 dotfiles-1b52f3db0a70a3a8bcb05e7f41dab5532f73cbfa.zip |
.config/awesome/rc.lua: Cleanup
Diffstat (limited to '.config/awesome')
-rw-r--r-- | .config/awesome/rc.lua | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index a7798fd..dbcfc05 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -1,5 +1,3 @@ --- Load luarocks packages if installed -pcall(require, "luarocks.loader") -- Standard awesome library local gears = require("gears") local awful = require("awful") @@ -11,7 +9,6 @@ local beautiful = require("beautiful") -- Notification library local naughty = require("naughty") local menubar = require("menubar") -local hotkeys_popup = require("awful.hotkeys_popup").widget -- Disable window edge snapping awful.mouse.snap.edge_enabled = false -- Naughty notification presets @@ -58,22 +55,12 @@ end -- }}} -- {{{ Variable definitions --- Themes define colours, icons, font and wallpapers. -beautiful.init(awful.util.getdir("config") .. "/themes/default/theme.lua") - --- This is used later as the default terminal and editor to run. +modkey = "Mod4" terminal = "urxvt" editor = os.getenv("EDITOR") or "nano" editor_cmd = terminal .. " -e " .. editor +beautiful.init(awful.util.getdir("config") .. "/themes/default/theme.lua") --- Default modkey. --- Usually, Mod4 is the key with a logo between Control and Alt. --- If you do not like this or do not have such a key, --- I suggest you to remap Mod4 to another key using xmodmap or other tools. --- However, you can use another modifier like Mod1, but it may interact with others. -modkey = "Mod4" - --- Table of layouts to cover with awful.layout.inc, order matters. awful.layout.layouts = { awful.layout.suit.floating, awful.layout.suit.tile, |