Minor edits.

This commit is contained in:
Derek Taylor
2019-10-16 18:46:40 -05:00
parent b1963fa820
commit fc97828310
16 changed files with 88 additions and 73 deletions

View File

@@ -269,7 +269,7 @@ globalkeys = my_table.join(
-- dmenu
awful.key({ altkey, "Control" }, "Return",
function ()
awful.spawn(string.format("dmenu_run -i -nb '#292d3e' -nf '#bbc5ff' -sb '#82AAFF' -sf '#292d3e' -fn 'UbuntuMono Nerd Font:bold:pixelsize=14'",
awful.spawn(string.format("dmenu_run -i -nb '#292d3e' -nf '#bbc5ff' -sb '#82AAFF' -sf '#292d3e' -fn 'Mononoki Nerd Font:bold:pixelsize=14'",
beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus))
end,
{description = "show dmenu", group = "hotkeys"}),
@@ -578,7 +578,7 @@ globalkeys = my_table.join(
{description = "show the menubar", group = "super"})
--]]
awful.key({ altkey }, "x",
awful.key({ altkey, "Shift" }, "x",
function ()
awful.prompt.run {
prompt = "Run Lua code: ",

View File

@@ -16,19 +16,19 @@ local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {}
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/powerarrow-blue"
theme.wallpaper = theme.dir .. "/starwars.jpg"
theme.font = "UbuntuMono Nerd Font 11"
theme.taglist_font = "Droid Sans 7"
theme.fg_normal = "#FEFEFE"
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 = "#292d3e"
theme.bg_focus = "#892f4e"
theme.bg_normal = "#282a36"
theme.bg_focus = "#FF79C6"
theme.bg_urgent = "#3F3F3F"
theme.taglist_fg_focus = "#ffffff"
theme.taglist_fg_focus = "#282a36"
theme.tasklist_bg_focus = "#000000"
theme.tasklist_fg_focus = "#A77AC4"
theme.border_width = 2
theme.border_normal = "#292D3E"
theme.border_normal = "#282a36"
theme.border_focus = "#F07178"
theme.border_marked = "#CC9393"
theme.titlebar_bg_focus = "#3F3F3F"
@@ -115,7 +115,7 @@ local clock = awful.widget.watch(
theme.cal = lain.widget.cal({
attach_to = { clock },
notification_preset = {
font = "UbuntuMono Nerd Font 11",
font = "Mononoki Nerd Font 11",
fg = theme.fg_normal,
bg = theme.bg_normal
}
@@ -239,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 = "UbuntuMono Nerd Font 11", 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()

View File

@@ -13,9 +13,13 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=t
, persistent = True
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
, commands = [ Run Date "%a, %b %d %Y, %H:%M:%S" "date" 10
, Run Network "enp4s0" ["-t", "<icon=net_up_20.xpm/>up <rxbar> <icon=net_down_20.xpm/>dn <txbar>"] 10
, Run Cpu ["-t", "<icon=cpu_20.xpm/> cpu <bar> (<total>%)","-H","50","--high","red"] 10
, Run Memory ["-t", "<icon=memory-icon_20.xpm/> mem <usedbar> (<usedratio>%)"] 10
, Run DiskU [("/", "<icon=harddisk-icon_20.xpm/> hdd <usedbar> (<used>)")] [] 3600
, Run UnsafeStdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> </fc> "
, template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <fc=#FFB86C>%cpu%</fc> <fc=#FF5555>%memory%</fc> <fc=#82AAFF>%disku%</fc> <fc=#c3e88d>%enp4s0%</fc> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> "
}

View File

@@ -13,9 +13,13 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=t
, persistent = True
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
, commands = [ Run Date "%a, %b %d %Y, %H:%M:%S" "date" 10
, Run Network "enp4s0" ["-t", "<icon=net_up_20.xpm/>up <rxbar> <icon=net_down_20.xpm/>dn <txbar>"] 10
, Run Cpu ["-t", "<icon=cpu_20.xpm/> cpu <bar> (<total>%)","-H","50","--high","red"] 10
, Run Memory ["-t", "<icon=memory-icon_20.xpm/> mem <usedbar> (<usedratio>%)"] 10
, Run DiskU [("/", "<icon=harddisk-icon_20.xpm/> hdd <usedbar> (<used>)")] [] 3600
, Run UnsafeStdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> </fc> "
, template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <fc=#FFB86C>%cpu%</fc> <fc=#FF5555>%memory%</fc> <fc=#82AAFF>%disku%</fc> <fc=#c3e88d>%enp4s0%</fc> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> "
}

View File

@@ -21,5 +21,5 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=t
]
, sepChar = "%"
, alignSep = "}{"
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <fc=#FFB86C>%cpu%</fc> <fc=#FF5555>%memory%</fc> <fc=#82AAFF>%disku%</fc> <fc=#c3e88d>%enp4s0%</fc> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> </fc> "
, template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <fc=#FFB86C>%cpu%</fc> <fc=#FF5555>%memory%</fc> <fc=#82AAFF>%disku%</fc> <fc=#c3e88d>%enp4s0%</fc> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> "
}