Added default theme to file structure

This commit is contained in:
Noella
2024-03-04 16:26:49 -07:00
parent 3f676b7b00
commit 59fb9ea4f5
2 changed files with 131 additions and 12 deletions

14
rc.lua
View File

@@ -2,27 +2,17 @@
-- found (e.g. lgi). If LuaRocks is not installed, do nothing.
pcall(require, "luarocks.loader")
-- Standard awesome library
local gears = require("gears")
local awful = require("awful")
require("awful.autofocus")
-- Widget and layout library
local wibox = require("wibox")
-- Theme handling library
local beautiful = require("beautiful")
-- Notification library
local naughty = require("naughty")
local menubar = require("menubar")
local hotkeys_popup = require("awful.hotkeys_popup")
-- Enable hotkeys help widget for VIM and other apps
-- when client with a matching name is opened:
require("awful.hotkeys_popup.keys")
require("awful.autofocus")
require("main.error_handling")
-- {{{ Variable definitions
-- Themes define colours, icons, font and wallpapers.
beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua")
beautiful.init(require("theme"))
-- This is used later as the default terminal and editor to run.
terminal = "xterm"