Doors/configs/awesome/rc.lua

38 lines
939 B
Lua
Raw Normal View History

2024-01-09 20:38:24 -05:00
require 'core'
-- Set up key remaps
2024-01-09 20:38:24 -05:00
os.execute 'setxkbmap -option "caps:escape,altwin:menu_win,altwin:meta_win"'
-- Some defaults
2024-01-09 20:38:24 -05:00
Browser = 'firefox-developer-edition'
Browser2 = 'chromium'
Editor = 'nvim'
Email = 'thunderbird'
Modkey = 'Mod4'
Music = 'spotify-launcher'
Terminal = 'alacritty'
Beautiful.init '.config/awesome/theme.lua'
-- Define layouts
Awful.layout.layouts = {
2024-01-09 20:38:24 -05:00
Awful.layout.suit.tile.right,
Awful.layout.suit.tile.bottom,
Awful.layout.suit.tile.left,
Awful.layout.suit.tile.top,
}
-- Set the terminal for applications that require it
Menubar.utils.terminal = Terminal
-- Split up the rest for readability
2024-01-09 20:38:24 -05:00
require 'binds' -- keyboard/mouse
require 'rules' -- client specific rules
require 'signals' -- client signals
require 'wibar' -- bar/screen/wallpaper stuff
-- Collect garbage to prevent memory leaks from widgets
2024-01-09 20:38:24 -05:00
Gears.timer.start_new(10, function()
collectgarbage('step', 20000)
return true
end)