awesomewm/defaults.lua

209 lines
4.6 KiB
Lua
Raw Normal View History

2023-10-10 10:57:39 -07:00
-- Default configuration values.
-- Override these by creating `config.lua`
-- Example contents:
--
--[[ config.lua
2022-11-04 22:17:45 -07:00
2023-10-10 10:57:39 -07:00
-- Override values in defaults.lua.
-- If you only want to overwrite one, you'll need to do explicitly:
-- config.core = { wallpaper = "" } will delete all other value in config.core.
config.battery = { enabled = true }
config.backlight = { enabled = true }
config.launcher = { enabled = true, icon = "nix"}
config.core.wallpaper = "/home/assets/wallpapers/Themed/Stellaris/upscale/City.png"
config.core.default_clienticon = "arch_grey"
config.core.browser = "firefox-developer-edition --new-tab"
config.core.startup_commands = {
"ibus-daemon --daemonize --replace --xim",
"keepassxc"
}
]]--
local config = {}
config.launcher = { enabled = true, icon = "arch"}
2022-11-04 22:17:45 -07:00
config.lock = { enabled = true, type = "i3lock"}
2022-07-17 09:01:24 -07:00
config.screenshot = { enabled = true }
2023-10-10 10:57:39 -07:00
config.simple_widgets = { enabled = true }
2022-09-30 22:13:33 -07:00
config.keymap_popup = { enabled = true }
2023-10-10 10:57:39 -07:00
config.battery = { enabled = false }
config.backlight = { enabled = false }
config.picom = { enabled = true }
2022-07-16 19:27:12 -07:00
config.core = {
2023-10-10 10:57:39 -07:00
-- Icon to use when a window doesn't provide one
2023-09-03 09:29:33 -07:00
default_clienticon = "arch_grey",
2023-10-10 10:57:39 -07:00
continuous_tag_updates = true,
-- Run these commands in this order when awesome starts.
startup_commands = {},
wallpaper = "",
-- Dynamic: a table of files and times
-- {file = "path", start_time = {hour, minute}}
--[[
2022-11-05 08:16:41 -07:00
wallpaper = {
{ file = "morning-file.png", start_time = {04, 00} },
{ file = "noon-file.png", start_time = {11, 00} },
{ file = "night-file.png", start_time = {19, 00} },
2023-10-10 10:57:39 -07:00
}
]]--
2023-08-21 19:00:27 -07:00
font = {
normal_large = "Hack NF 16",
normal_medium = "Hack NF 14",
normal = "Hack NF 12",
normal_small = "Hack NF 10",
prompt = "Hack NF 14"
},
-- The position of the bar on each screen
bar_position = "bottom",
-- Bar size in dpi
bar_height = 50,
-- Size of bar widget margins
bar_margin = 3,
-- Preferred terminal.
terminal = "kitty",
-- Preferred browser.
2023-10-10 10:57:39 -07:00
browser = "firefox --new-tab",
-- Table of layouts.
-- This is not handled by the regular awesomewm facility.
-- It's handled by layoutmanager, to add extra features.
--
-- This table is a table of tables.
-- (see the example)
-- the tables it contains are groups, switched through using the main
-- layout keybind.
--
-- groups contain one or more layouts. The first layout is selected by default,
-- and is used whenever that group is seleced.
-- Likewise, the first group is the default, and is applied to all tags at the start.
layouts = {
{
awful.layout.suit.tile.left,
awful.layout.suit.tile,
},
{
awful.layout.suit.fair,
awful.layout.suit.fair.horizontal,
},
{
awful.layout.suit.floating,
}
--awful.layout.suit.tile.bottom,
--awful.layout.suit.tile.top,
--awful.layout.suit.spiral,
--awful.layout.suit.spiral.dwindle,
--awful.layout.suit.max,
--awful.layout.suit.max.fullscreen,
--awful.layout.suit.magnifier,
--awful.layout.suit.corner.nw,
--awful.layout.suit.corner.ne,
--awful.layout.suit.corner.sw,
--awful.layout.suit.corner.se,
},
bar_shortcuts = {
{
2022-07-23 16:48:02 -07:00
"thunar",
2022-07-23 16:27:13 -07:00
"folder"
},
{
"firefox-developer-edition",
2022-07-23 17:58:40 -07:00
"firefox_dev"
},
{
2023-10-10 10:57:39 -07:00
"code",
"code"
},
2023-10-10 11:27:19 -07:00
{
"thunderbird",
"thunderbird"
},
{
"signal-desktop",
2022-07-23 16:27:13 -07:00
"signal"
},
{
"keepassxc",
2022-07-23 16:27:13 -07:00
"keepassx"
}
}
}
config.mpc = {
enabled = true,
-- If your MPC server has a password, do "passwd@host"
2022-11-05 08:42:16 -07:00
-- Default port is 6600, you probably won't need to change it.
host = "localhost",
2022-11-05 08:42:16 -07:00
port = 6600,
-- Fixed width of the mpc widget
width = 250,
}
config.volume = {
enabled = true,
2022-11-05 09:54:25 -07:00
-- How much % to change volume by
scroll_step = 2,
button_step = 5,
-- The pulse sink volume widgets and keybinds should use.
-- To use the default, keep this value an empty string.
2022-11-05 09:54:25 -07:00
-- Applies the --sink option to pamixer
2023-10-10 10:57:39 -07:00
pamixer_sink = "",
}
2022-07-16 19:27:12 -07:00
config.ibus = {
enabled = true,
-- The first entry will be activated at startup.
-- Use ibus engine to get the current engine name.
-- DUPLICATE IBUS_ENGINE VALUES WILL BREAK THE SWITCHER!
--
-- Some overlay layours require a switch to en:us first.
-- For example, switching from russian (xkb remap) to pinyin (ibus overlay on en:us)
-- will not work. `requires_engine` fixes this.
-- If it is defined, we will switch to that engine before switching to ibus_engine.
language_list = {
{
title = "English",
indicator_code = "en",
ibus_engine = "xkb:us::eng",
},
2023-10-10 10:57:39 -07:00
{
title = "Russian",
indicator_code = "ru",
ibus_engine = "xkb:ru::rus"
},
{
2022-10-04 22:19:37 -07:00
title = "LaTeX",
indicator_code = "∫x",
2022-10-04 22:19:37 -07:00
ibus_engine = "table:latex",
requires_engine = "xkb:us::eng"
}
}
2023-10-10 10:57:39 -07:00
}
return config