Merge pull request #1833 from Elv13/del_white_space
quality: Remove trailing white spaces
This commit is contained in:
commit
714baacc8c
|
@ -175,7 +175,7 @@ Code:
|
|||
|
||||
local tb = wibox.widget.textbox()
|
||||
tb:set_markup("Hello world! ")
|
||||
|
||||
|
||||
-- Repeat "tb" 3 times
|
||||
s.mywibox : setup {
|
||||
tb,
|
||||
|
@ -222,7 +222,7 @@ Code:
|
|||
id = "first",
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
}
|
||||
|
||||
|
||||
s.mywibox.first.second:set_markup("changed!")
|
||||
s.mywibox:get_children_by_id("third")[1]:set_markup("Also changed!")
|
||||
|
||||
|
@ -284,10 +284,10 @@ Code:
|
|||
end,
|
||||
layout = wibox.widget.base.make_widget,
|
||||
}
|
||||
|
||||
|
||||
-- Define a layout with the imperative syntax
|
||||
local l = wibox.widget.align()
|
||||
|
||||
|
||||
-- 3 circle
|
||||
s.mywibox : setup {
|
||||
circle,
|
||||
|
@ -296,12 +296,12 @@ Code:
|
|||
l,
|
||||
layout = wibox.layout.align.horizontal
|
||||
}
|
||||
|
||||
|
||||
-- This can be done instead
|
||||
local three_circle = {layout = wibox.layout.align.horizontal}
|
||||
for i=1, 3 do
|
||||
table.insert(three_circle, circle)
|
||||
end
|
||||
|
||||
|
||||
s.mywibox : setup (three_circle)
|
||||
|
||||
|
|
|
@ -168,7 +168,7 @@ You can ensure no application ever starts maximized in the first rule of your
|
|||
|
||||
-- Search for this rule,
|
||||
keys = clientkeys,
|
||||
|
||||
|
||||
-- add the following two:
|
||||
maximized_vertical = false,
|
||||
maximized_horizontal = false,
|
||||
|
@ -217,7 +217,7 @@ terminal output you can use the following to match clients in awesome:
|
|||
| |--- class
|
||||
|
|
||||
|--- instance
|
||||
|
||||
|
||||
WM_NAME(STRING) = "SMPlayer"
|
||||
|
|
||||
|--- name
|
||||
|
|
|
@ -215,7 +215,7 @@ drawin_apply_moveresize(drawin_t *w)
|
|||
|
||||
w->geometry_dirty = false;
|
||||
client_ignore_enterleave_events();
|
||||
xcb_configure_window(globalconf.connection, w->window,
|
||||
xcb_configure_window(globalconf.connection, w->window,
|
||||
XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y
|
||||
| XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT,
|
||||
(const uint32_t [])
|
||||
|
|
Loading…
Reference in New Issue