Minor changes

This commit is contained in:
Derek Taylor
2022-07-13 14:12:30 -05:00
parent 30d40faeea
commit 3cd3bc2576
119 changed files with 46 additions and 823 deletions

View File

@@ -14,22 +14,22 @@ local math, string, os = math, string, os
local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {}
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/powerarrow"
theme.wallpaper = theme.dir .. "/wally.jpg"
theme.font = "Noto Sans Regular 11"
theme.taglist_font = "Noto Sans Regular 14"
theme.fg_normal = "#FEFEFE"
theme.fg_focus = "#7b88d3"
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/powerarrow-blue"
--theme.wallpaper = theme.dir .. "/starwars.jpg"
theme.font = "Mononoki Nerd Font 9"
theme.taglist_font = "Droid Sans Bold 7"
theme.fg_normal = "#ffffff"
theme.fg_focus = "#A77AC4"
theme.fg_urgent = "#b74822"
theme.bg_normal = "#222222"
theme.bg_focus = "#1E2320"
theme.bg_normal = "#282a36"
theme.bg_focus = "#FF79C6"
theme.bg_urgent = "#3F3F3F"
theme.taglist_fg_focus = "#7b88d3"
theme.tasklist_bg_focus = "#222222"
theme.tasklist_fg_focus = "#7b88d3"
theme.taglist_fg_focus = "#282a36"
theme.tasklist_bg_focus = "#000000"
theme.tasklist_fg_focus = "#A77AC4"
theme.border_width = 2
theme.border_normal = "#3F3F3F"
theme.border_focus = "#6F6F6F"
theme.border_normal = "#282a36"
theme.border_focus = "#F07178"
theme.border_marked = "#CC9393"
theme.titlebar_bg_focus = "#3F3F3F"
theme.titlebar_bg_normal = "#3F3F3F"
@@ -115,7 +115,7 @@ local clock = awful.widget.watch(
theme.cal = lain.widget.cal({
attach_to = { clock },
notification_preset = {
font = "Noto Sans Mono Medium 10",
font = "Mononoki Nerd Font 11",
fg = theme.fg_normal,
bg = theme.bg_normal
}
@@ -231,7 +231,6 @@ local temp = lain.widget.temp({
--]]
local tempicon = wibox.widget.imagebox(theme.widget_temp)
--[[ Weather
https://openweathermap.org/
Type in the name of your city
@@ -240,7 +239,7 @@ Copy/paste the city code in the URL to this file in city_id
local weathericon = wibox.widget.imagebox(theme.widget_weather)
theme.weather = lain.widget.weather({
city_id = 2803138, -- placeholder (Belgium)
notification_preset = { font = "Noto Sans Mono Medium 10", fg = theme.fg_normal },
notification_preset = { font = "Mononoki Nerd Font 11", fg = theme.fg_normal },
weather_na_markup = markup.fontfg(theme.font, "#ffffff", "N/A "),
settings = function()
descr = weather_now["weather"][1]["description"]:lower()
@@ -370,7 +369,7 @@ function theme.at_screen_connect(s)
--s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, awful.util.tasklist_buttons)
-- Create the wibox
s.mywibox = awful.wibar({ position = "top", screen = s, height = 22, bg = theme.bg_normal, fg = theme.fg_normal })
s.mywibox = awful.wibar({ position = "top", screen = s, height = 20, bg = theme.bg_normal, fg = theme.fg_normal })
-- Add widgets to the wibox
s.mywibox:setup {
@@ -401,25 +400,25 @@ function theme.at_screen_connect(s)
-- using separators
--arrow(theme.bg_normal, "#343434"),
-- wibox.container.background(wibox.container.margin(wibox.widget { mailicon, mail and mail.widget, layout = wibox.layout.align.horizontal }, 4, 7), "#343434"),
arrow("alpha", "#889FA7"),
wibox.container.background(wibox.container.margin(wibox.widget { mpdicon, theme.mpd.widget, layout = wibox.layout.align.horizontal }, 3, 6), "#889FA7"),
arrow("#889FA7", "#497B96"),
wibox.container.background(wibox.container.margin(wibox.widget { volicon, theme.volume.widget, layout = wibox.layout.align.horizontal }, 2, 3), "#497B96"),
arrow("#497B96", "#777E76"),
wibox.container.background(wibox.container.margin(wibox.widget { memicon, mem.widget, layout = wibox.layout.align.horizontal }, 2, 3), "#777E76"),
arrow("#777E76", "#4B696D"),
wibox.container.background(wibox.container.margin(wibox.widget { cpuicon, cpu.widget, layout = wibox.layout.align.horizontal }, 3, 4), "#4B696D"),
arrow("#4B696D", "#4B3B51"),
wibox.container.background(wibox.container.margin(wibox.widget { tempicon, temp.widget, layout = wibox.layout.align.horizontal }, 4, 4), "#4B3B51"),
arrow("#4B3B51", "#CB755B"),
wibox.container.background(wibox.container.margin(wibox.widget { weathericon, theme.weather.widget, layout = wibox.layout.align.horizontal }, 3, 3), "#CB755B"),
arrow("#CB755B", "#8DAA9A"),
wibox.container.background(wibox.container.margin(wibox.widget { baticon, bat.widget, layout = wibox.layout.align.horizontal }, 3, 3), "#8DAA9A"),
arrow("#8DAA9A", "#C0C0A2"),
wibox.container.background(wibox.container.margin(wibox.widget { nil, neticon, net.widget, layout = wibox.layout.align.horizontal }, 3, 3), "#C0C0A2"),
arrow("#C0C0A2", "#777E76"),
wibox.container.background(wibox.container.margin(clock, 4, 8), "#777E76"),
arrow("#777E76", "alpha"),
arrow("alpha", "#7197E7"),
wibox.container.background(wibox.container.margin(wibox.widget { mpdicon, theme.mpd.widget, layout = wibox.layout.align.horizontal }, 3, 6), "#7197E7"),
arrow("#7197E7", "#A77AC4"),
wibox.container.background(wibox.container.margin(wibox.widget { volicon, theme.volume.widget, layout = wibox.layout.align.horizontal }, 2, 3), "#A77AC4"),
arrow("#A77AC4", "#7197E7"),
wibox.container.background(wibox.container.margin(wibox.widget { memicon, mem.widget, layout = wibox.layout.align.horizontal }, 2, 3), "#7197E7"),
arrow("#7197E7", "#A77AC4"),
wibox.container.background(wibox.container.margin(wibox.widget { cpuicon, cpu.widget, layout = wibox.layout.align.horizontal }, 3, 4), "#A77AC4"),
arrow("#A77AC4", "#7197E7"),
wibox.container.background(wibox.container.margin(wibox.widget { tempicon, temp.widget, layout = wibox.layout.align.horizontal }, 4, 4), "#7197E7"),
arrow("#7197E7", "#A77AC4"),
wibox.container.background(wibox.container.margin(wibox.widget { weathericon, theme.weather.widget, layout = wibox.layout.align.horizontal }, 3, 3), "#A77AC4"),
arrow("#A77AC4", "#7197E7"),
wibox.container.background(wibox.container.margin(wibox.widget { baticon, bat.widget, layout = wibox.layout.align.horizontal }, 3, 3), "#7197E7"),
arrow("#7197E7", "#A77AC4"),
wibox.container.background(wibox.container.margin(wibox.widget { nil, neticon, net.widget, layout = wibox.layout.align.horizontal }, 3, 3), "#A77AC4"),
arrow("#A77AC4", "#7197E7"),
wibox.container.background(wibox.container.margin(clock, 4, 8), "#7197E7"),
arrow("#7197E7", "alpha"),
--]]
s.mylayoutbox,
},