vertex: uniform focus sizes; some tweaks; closes #200
This commit is contained in:
parent
0dbf618bd6
commit
4e01272133
|
@ -1 +1 @@
|
|||
Subproject commit 8013a6ee26559fb9dbfb94f44cd30dfdbbaf582a
|
||||
Subproject commit 4226433ff9a1b431d07ae1592550dbc691c3d1fd
|
2
lain
2
lain
|
@ -1 +1 @@
|
|||
Subproject commit a34e72b42bfa681afba744a190d8bb3e26252310
|
||||
Subproject commit 94770930fbad1f1641f4268348545adc30c8e186
|
Binary file not shown.
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 168 B |
Binary file not shown.
Before Width: | Height: | Size: 157 B |
Binary file not shown.
Before Width: | Height: | Size: 158 B |
|
@ -22,6 +22,7 @@ theme.taglist_font = "FontAwesome 17"
|
|||
theme.fg_normal = "#FFFFFF"
|
||||
theme.fg_focus = "#6A95EB"
|
||||
theme.bg_focus = "#303030"
|
||||
theme.bg_focus2 = "#3762B8"
|
||||
theme.bg_normal = "#242424"
|
||||
theme.fg_urgent = "#CC9393"
|
||||
theme.bg_urgent = "#006B8E"
|
||||
|
@ -33,8 +34,8 @@ theme.tooltip_border_width = theme.border_width
|
|||
theme.menu_height = 24
|
||||
theme.menu_width = 140
|
||||
theme.awesome_icon = theme.icon_dir .. "/awesome.png"
|
||||
theme.taglist_squares_sel = theme.icon_dir .. "/square_sel.png"
|
||||
theme.taglist_squares_unsel = theme.icon_dir .. "/square_unsel.png"
|
||||
theme.taglist_squares_sel = gears.surface.load_from_shape(3, 30, gears.shape.rectangle, theme.fg_focus)
|
||||
theme.taglist_squares_unsel = gears.surface.load_from_shape(3, 30, gears.shape.rectangle, theme.bg_focus2)
|
||||
theme.panelbg = theme.icon_dir .. "/panel.png"
|
||||
theme.bat000charging = theme.icon_dir .. "/bat-000-charging.png"
|
||||
theme.bat000 = theme.icon_dir .. "/bat-000.png"
|
||||
|
@ -104,7 +105,7 @@ theme.titlebar_maximized_button_normal_active = theme.default_dir.."/titlebar/
|
|||
theme.titlebar_maximized_button_focus_active = theme.default_dir.."/titlebar/maximized_focus_active.png"
|
||||
|
||||
-- http://fontawesome.io/cheatsheet
|
||||
awful.util.tagnames = { " ", " ", " ", " ", " ", " ", " ", " ", " " }
|
||||
awful.util.tagnames = { "", "", "", "", "", "", "", "" }
|
||||
|
||||
local markup = lain.util.markup
|
||||
|
||||
|
@ -229,7 +230,7 @@ volicon:buttons(my_table.join (
|
|||
))
|
||||
|
||||
-- Wifi carrier and signal strength
|
||||
local wificon = wibox.widget.imagebox()
|
||||
local wificon = wibox.widget.imagebox(theme.wifidisc)
|
||||
local wifitooltip = awful.tooltip({
|
||||
objects = { wificon },
|
||||
margin_leftright = 15,
|
||||
|
@ -308,7 +309,7 @@ local barcolor = gears.color({
|
|||
type = "linear",
|
||||
from = { 0, 46 },
|
||||
to = { 46, 46 },
|
||||
stops = { {0, theme.bg_focus}, {0.9, "#457be7"} }
|
||||
stops = { {0, theme.bg_focus}, {0.9, theme.bg_focus2} }
|
||||
})
|
||||
|
||||
local barcolor2 = gears.color({
|
||||
|
@ -324,7 +325,7 @@ end
|
|||
|
||||
function theme.vertical_wibox(s)
|
||||
-- Create the vertical wibox
|
||||
s.dockheight = (40 * s.workarea.height)/100
|
||||
s.dockheight = (35 * s.workarea.height)/100
|
||||
|
||||
s.myleftwibox = wibox({ screen = s, x=0, y=s.workarea.height/2 - s.dockheight/2, width = 6, height = s.dockheight, fg = theme.fg_normal, bg = barcolor2, ontop = true, visible = true, type = "dock" })
|
||||
|
||||
|
@ -349,7 +350,7 @@ function theme.vertical_wibox(s)
|
|||
s.docktimer = gears.timer{ timeout = 2 }
|
||||
s.docktimer:connect_signal("timeout", function()
|
||||
local s = awful.screen.focused()
|
||||
s.myleftwibox.width = 6
|
||||
s.myleftwibox.width = 9
|
||||
s.layoutb.visible = false
|
||||
mylauncher.visible = false
|
||||
if s.docktimer.started then
|
||||
|
@ -358,7 +359,7 @@ function theme.vertical_wibox(s)
|
|||
end)
|
||||
tag.connect_signal("property::selected", function(t)
|
||||
local s = t.screen or awful.screen.focused()
|
||||
s.myleftwibox.width = 46
|
||||
s.myleftwibox.width = 38
|
||||
s.layoutb.visible = true
|
||||
mylauncher.visible = true
|
||||
gears.surface.apply_shape_bounding(s.myleftwibox, dockshape)
|
||||
|
@ -369,14 +370,14 @@ function theme.vertical_wibox(s)
|
|||
|
||||
s.myleftwibox:connect_signal("mouse::leave", function()
|
||||
local s = awful.screen.focused()
|
||||
s.myleftwibox.width = 6
|
||||
s.myleftwibox.width = 9
|
||||
s.layoutb.visible = false
|
||||
mylauncher.visible = false
|
||||
end)
|
||||
|
||||
s.myleftwibox:connect_signal("mouse::enter", function()
|
||||
local s = awful.screen.focused()
|
||||
s.myleftwibox.width = 46
|
||||
s.myleftwibox.width = 38
|
||||
s.layoutb.visible = true
|
||||
mylauncher.visible = true
|
||||
gears.surface.apply_shape_bounding(s.myleftwibox, dockshape)
|
||||
|
|
Loading…
Reference in New Issue