Compare commits
No commits in common. "9e2d872968a5ed32847aee4964f8d6a753f5203e" and "38d690c5aa198f644dfccea06e9f7684165cc5a4" have entirely different histories.
9e2d872968
...
38d690c5aa
|
@ -9,5 +9,4 @@ return {
|
||||||
thunderbird = conf_dir .. "assets/apps/thunderbird.svg",
|
thunderbird = conf_dir .. "assets/apps/thunderbird.svg",
|
||||||
writer = conf_dir .. "assets/apps/writer.svg",
|
writer = conf_dir .. "assets/apps/writer.svg",
|
||||||
phone = conf_dir .. "assets/apps/phone.svg",
|
phone = conf_dir .. "assets/apps/phone.svg",
|
||||||
code = conf_dir .. "assets/apps/code.svg",
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" version="1">
|
|
||||||
<rect style="opacity:0.2" width="56" height="48" x="4" y="9" rx="2.8" ry="2.4"/>
|
|
||||||
<rect style="fill:#167abf" width="56" height="48" x="4" y="8" rx="2.8" ry="2.4"/>
|
|
||||||
<path style="fill:#ffffff;opacity:0.1" d="M 6.8007812 8 C 5.2495813 8 4 9.0707908 4 10.400391 L 4 11.400391 C 4 10.070791 5.2495813 9 6.8007812 9 L 57.199219 9 C 58.750419 9 60 10.070791 60 11.400391 L 60 10.400391 C 60 9.0707908 58.750419 8 57.199219 8 L 6.8007812 8 z"/>
|
|
||||||
<path style="opacity:0.2" d="m 6.8,7.9999992 c -1.5512,0 -2.8,1.0692973 -2.8,2.3988968 v 43.202207 c 0,1.3296 1.2488,2.398898 2.8,2.398898 H 22.2 V 7.9999992 Z"/>
|
|
||||||
<path style="opacity:0.2" d="M 21.955078,4.9143037 A 3.0003,3.0003 0 0 0 19,7.9572725 V 57.957273 a 3.0003,3.0003 0 1 0 6,0 V 7.9572725 A 3.0003,3.0003 0 0 0 21.955078,4.9143037 Z m 8.087891,7.0429693 a 3.0003,3.0003 0 1 0 0,6 H 41 a 3.0003,3.0003 0 1 0 0,-6 z m 4,9 a 3.0003,3.0003 0 1 0 0,6 H 48 a 3.0003,3.0003 0 1 0 0,-6 z m 0,9 a 3.0003,3.0003 0 1 0 0,6 H 48 a 3.0003,3.0003 0 1 0 0,-6 z m 0,9 a 3.0003,3.0003 0 1 0 0,6 H 48 a 3.0003,3.0003 0 1 0 0,-6 z m -4,9 a 3.0003,3.0003 0 1 0 0,6 H 41 a 3.0003,3.0003 0 1 0 0,-6 z"/>
|
|
||||||
<path style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:round" d="M 22,7 V 57"/>
|
|
||||||
<path style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:round" d="M 30.042727,13.9994 H 41"/>
|
|
||||||
<path style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:round" d="M 34.042727,22.9997 H 48"/>
|
|
||||||
<path style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:round" d="M 34.042727,31.9997 H 48"/>
|
|
||||||
<path style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:round" d="M 34.042727,40.9997 H 48"/>
|
|
||||||
<path style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:round" d="M 30.042727,49.9997 H 41"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.8 KiB |
|
@ -1,53 +1,22 @@
|
||||||
-- Default configuration values.
|
-- Copy this file to `config.lua` before starting awesome.
|
||||||
-- Override these by creating `config.lua`
|
|
||||||
-- Example contents:
|
|
||||||
--
|
|
||||||
--[[ config.lua
|
|
||||||
|
|
||||||
|
-- To enable a module, add a line like the ones below.
|
||||||
|
-- To disable a module, delete its config table or set
|
||||||
|
-- enabled to false.
|
||||||
|
|
||||||
-- Override values in defaults.lua.
|
config.picom = { enabled = true }
|
||||||
-- 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"}
|
|
||||||
config.lock = { enabled = true, type = "i3lock"}
|
config.lock = { enabled = true, type = "i3lock"}
|
||||||
config.screenshot = { enabled = true }
|
|
||||||
config.simple_widgets = { enabled = true }
|
|
||||||
config.keymap_popup = { enabled = true }
|
|
||||||
config.battery = { enabled = false }
|
config.battery = { enabled = false }
|
||||||
config.backlight = { enabled = false }
|
config.backlight = { enabled = false }
|
||||||
config.picom = { enabled = true }
|
config.simple_widgets = { enabled = true }
|
||||||
|
config.launcher = { enabled = true, icon = "arch" } -- available icons: arch, nix
|
||||||
|
config.screenshot = { enabled = true }
|
||||||
|
config.keymap_popup = { enabled = true }
|
||||||
|
|
||||||
config.core = {
|
config.core = {
|
||||||
-- Icon to use when a window doesn't provide one
|
wallpaper = "/home/assets/wallpapers/Themed/Stellaris/Gigapixel/City.png",
|
||||||
default_clienticon = "arch_grey",
|
default_clienticon = "arch_grey",
|
||||||
continuous_tag_updates = true,
|
--
|
||||||
|
|
||||||
-- Run these commands in this order when awesome starts.
|
|
||||||
startup_commands = {},
|
|
||||||
|
|
||||||
wallpaper = "",
|
|
||||||
|
|
||||||
-- Dynamic: a table of files and times
|
-- Dynamic: a table of files and times
|
||||||
-- {file = "path", start_time = {hour, minute}}
|
-- {file = "path", start_time = {hour, minute}}
|
||||||
--[[
|
--[[
|
||||||
|
@ -55,15 +24,18 @@ config.core = {
|
||||||
{ file = "morning-file.png", start_time = {04, 00} },
|
{ file = "morning-file.png", start_time = {04, 00} },
|
||||||
{ file = "noon-file.png", start_time = {11, 00} },
|
{ file = "noon-file.png", start_time = {11, 00} },
|
||||||
{ file = "night-file.png", start_time = {19, 00} },
|
{ file = "night-file.png", start_time = {19, 00} },
|
||||||
}
|
},
|
||||||
]]--
|
]]--
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-- Font definitions
|
||||||
font = {
|
font = {
|
||||||
normal_large = "Hack NF 16",
|
normal_large = "Hack NF 16",
|
||||||
normal_medium = "Hack NF 14",
|
normal_medium = "Hack NF 14",
|
||||||
normal = "Hack NF 12",
|
normal = "Hack NF 12",
|
||||||
normal_small = "Hack NF 10",
|
normal_small = "Hack NF 10",
|
||||||
|
|
||||||
prompt = "Hack NF 14"
|
prompt = "Hack NF 14"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -78,7 +50,7 @@ config.core = {
|
||||||
-- Preferred terminal.
|
-- Preferred terminal.
|
||||||
terminal = "kitty",
|
terminal = "kitty",
|
||||||
-- Preferred browser.
|
-- Preferred browser.
|
||||||
browser = "firefox --new-tab",
|
browser = "firefox-developer-edition --new-tab",
|
||||||
|
|
||||||
-- Table of layouts.
|
-- Table of layouts.
|
||||||
-- This is not handled by the regular awesomewm facility.
|
-- This is not handled by the regular awesomewm facility.
|
||||||
|
@ -118,8 +90,19 @@ config.core = {
|
||||||
--awful.layout.suit.corner.se,
|
--awful.layout.suit.corner.se,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- Run these commands, in this order, when awesome starts.
|
||||||
|
startup_commands = {
|
||||||
|
"ibus-daemon --daemonize --replace --xim",
|
||||||
|
"keepassxc"
|
||||||
|
},
|
||||||
|
|
||||||
|
continuous_tag_updates = true,
|
||||||
|
|
||||||
|
-- Format:
|
||||||
|
-- {command, icon-name}
|
||||||
|
--
|
||||||
|
-- Icons files are in assets/apps,
|
||||||
|
-- Icon names are defined in assts/apps.lua.
|
||||||
bar_shortcuts = {
|
bar_shortcuts = {
|
||||||
{
|
{
|
||||||
"thunar",
|
"thunar",
|
||||||
|
@ -134,8 +117,8 @@ config.core = {
|
||||||
"thunderbird"
|
"thunderbird"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"code",
|
"onlyoffice-desktopeditors",
|
||||||
"code"
|
"writer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"signal-desktop",
|
"signal-desktop",
|
||||||
|
@ -146,6 +129,7 @@ config.core = {
|
||||||
"keepassx"
|
"keepassx"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
config.mpc = {
|
config.mpc = {
|
||||||
|
@ -161,6 +145,7 @@ config.mpc = {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
config.volume = {
|
config.volume = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
|
||||||
|
@ -171,10 +156,11 @@ config.volume = {
|
||||||
-- The pulse sink volume widgets and keybinds should use.
|
-- The pulse sink volume widgets and keybinds should use.
|
||||||
-- To use the default, keep this value an empty string.
|
-- To use the default, keep this value an empty string.
|
||||||
-- Applies the --sink option to pamixer
|
-- Applies the --sink option to pamixer
|
||||||
pamixer_sink = "",
|
pamixer_sink = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
config.ibus = {
|
config.ibus = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
|
||||||
|
@ -192,18 +178,16 @@ config.ibus = {
|
||||||
indicator_code = "en",
|
indicator_code = "en",
|
||||||
ibus_engine = "xkb:us::eng",
|
ibus_engine = "xkb:us::eng",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title = "Russian",
|
|
||||||
indicator_code = "ru",
|
|
||||||
ibus_engine = "xkb:ru::rus"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title = "LaTeX",
|
title = "LaTeX",
|
||||||
indicator_code = "∫x",
|
indicator_code = "∫x",
|
||||||
ibus_engine = "table:latex",
|
ibus_engine = "table:latex",
|
||||||
requires_engine = "xkb:us::eng"
|
requires_engine = "xkb:us::eng"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title = "Russian",
|
||||||
|
indicator_code = "ru",
|
||||||
|
ibus_engine = "xkb:ru::rus"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return config
|
|
3
rc.lua
3
rc.lua
|
@ -10,8 +10,7 @@ require("awful.autofocus")
|
||||||
-- Load configuration
|
-- Load configuration
|
||||||
conf_dir = gears.filesystem.get_configuration_dir()
|
conf_dir = gears.filesystem.get_configuration_dir()
|
||||||
conf_env = os.getenv("AWESOMEWM_CONFIG")
|
conf_env = os.getenv("AWESOMEWM_CONFIG")
|
||||||
config = require("defaults")
|
config = {}
|
||||||
|
|
||||||
if (conf_env == nil) then
|
if (conf_env == nil) then
|
||||||
-- Default location: in this directory
|
-- Default location: in this directory
|
||||||
dofile(conf_dir .. "/config.lua")
|
dofile(conf_dir .. "/config.lua")
|
||||||
|
|
Loading…
Reference in New Issue