Font sizes updated to 10

This commit is contained in:
Kolan Sh 2021-03-30 01:58:04 +03:00
parent 7573ae080d
commit 1c42902e06
3 changed files with 7 additions and 6 deletions

6
rc.lua
View File

@ -44,7 +44,7 @@ naughty.config.defaults.position = "top_right"
naughty.config.defaults.margin = 8 naughty.config.defaults.margin = 8
naughty.config.defaults.gap = 1 naughty.config.defaults.gap = 1
naughty.config.defaults.ontop = true naughty.config.defaults.ontop = true
naughty.config.defaults.font = "terminus 9" naughty.config.defaults.font = "terminus 10"
naughty.config.defaults.icon = nil naughty.config.defaults.icon = nil
naughty.config.defaults.icon_size = 256 naughty.config.defaults.icon_size = 256
naughty.config.defaults.fg = beautiful.fg_tooltip naughty.config.defaults.fg = beautiful.fg_tooltip
@ -281,7 +281,7 @@ cpuicon:set_image(beautiful.widget_cpu)
cpuicon:buttons(awful.util.table.join(awful.button({ }, 1, show_htop))) cpuicon:buttons(awful.util.table.join(awful.button({ }, 1, show_htop)))
cpu = wibox.widget.textbox() cpu = wibox.widget.textbox()
cpu.fit = function (box,w,h) cpu.fit = function (box,w,h)
return 30,0 return 45,0
end end
vicious.register(cpu, vicious.widgets.cpu, '<span color="#6FE6F2"> $1%</span>', 2) vicious.register(cpu, vicious.widgets.cpu, '<span color="#6FE6F2"> $1%</span>', 2)
cpu:buttons(cpuicon:buttons()) cpu:buttons(cpuicon:buttons())
@ -408,7 +408,7 @@ awful.screen.connect_for_each_screen(function(s)
s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, tasklist_buttons) s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, tasklist_buttons)
-- Create the wibox -- Create the wibox
s.mywibox = awful.wibar({ position = "top", screen = s, height = 15.5 }) s.mywibox = awful.wibar({ position = "top", screen = s, height = 14.5 })
-- Add widgets to the wibox -- Add widgets to the wibox
s.mywibox:setup { s.mywibox:setup {

View File

@ -14,7 +14,7 @@ theme.wallpaper = cfgpath .. "/wallpaper.slink"
-- }}} -- }}}
-- {{{ Styles -- {{{ Styles
theme.font = "sans 8" theme.font = "Terminus 10"
-- {{{ Colors -- {{{ Colors
theme.fg_normal = "#DCDCCC" theme.fg_normal = "#DCDCCC"
@ -69,8 +69,8 @@ theme.mouse_finder_color = "#CC9393"
-- Variables set for theming the menu: -- Variables set for theming the menu:
-- menu_[bg|fg]_[normal|focus] -- menu_[bg|fg]_[normal|focus]
-- menu_[border_color|border_width] -- menu_[border_color|border_width]
theme.menu_height = 15 theme.menu_height = 32
theme.menu_width = 100 theme.menu_width = 256
-- }}} -- }}}
-- {{{ Icons -- {{{ Icons

1
wi.lua
View File

@ -15,6 +15,7 @@ baticon:set_image(beautiful.widget_batfull)
-- Charge % -- Charge %
batpct = wibox.widget.textbox() batpct = wibox.widget.textbox()
batpct.font = "Terminus 10"
vicious.register(batpct, vicious.widgets.bat, function(widget, args) vicious.register(batpct, vicious.widgets.bat, function(widget, args)
bat_state = args[1] bat_state = args[1]
bat_charge = args[2] bat_charge = args[2]