fix indendation
This commit is contained in:
parent
5049fe3f29
commit
792b0b9480
102
README.md
102
README.md
|
@ -214,64 +214,64 @@ E.g. you might want add the rightclick menu to your tasklist:
|
||||||
Example Configuration (as shown on top gif):
|
Example Configuration (as shown on top gif):
|
||||||
------------
|
------------
|
||||||
```
|
```
|
||||||
require("smart_borders"){
|
require("smart_borders") {
|
||||||
show_button_tooltips = true,
|
show_button_tooltips = true,
|
||||||
|
|
||||||
button_positions = { "top" },
|
button_positions = {"top"},
|
||||||
buttons = { "floating", "minimize", "maximize", "close" },
|
buttons = {"floating", "minimize", "maximize", "close"},
|
||||||
|
|
||||||
layout = "fixed",
|
layout = "fixed",
|
||||||
align_horizontal = "center",
|
align_horizontal = "center",
|
||||||
button_size = 40,
|
button_size = 40,
|
||||||
button_floating_size = 60,
|
button_floating_size = 60,
|
||||||
button_close_size = 60,
|
button_close_size = 60,
|
||||||
border_width = 6,
|
border_width = 6,
|
||||||
|
|
||||||
color_close_normal = {
|
color_close_normal = {
|
||||||
type = "linear",
|
type = "linear",
|
||||||
from = { 0, 0 },
|
from = {0, 0},
|
||||||
to = { 60, 0 },
|
to = {60, 0},
|
||||||
stops = { { 0, "#fd8489" }, { 1, "#56666f" } }
|
stops = {{0, "#fd8489"}, {1, "#56666f"}}
|
||||||
},
|
},
|
||||||
color_close_focus = {
|
color_close_focus = {
|
||||||
type = "linear",
|
type = "linear",
|
||||||
from = { 0, 0 },
|
from = {0, 0},
|
||||||
to = { 60, 0 },
|
to = {60, 0},
|
||||||
stops = { { 0, "#fd8489" }, { 1, "#a1bfcf" } }
|
stops = {{0, "#fd8489"}, {1, "#a1bfcf"}}
|
||||||
},
|
},
|
||||||
color_close_hover = {
|
color_close_hover = {
|
||||||
type = "linear",
|
type = "linear",
|
||||||
from = { 0, 0 },
|
from = {0, 0},
|
||||||
to = { 60, 0 },
|
to = {60, 0},
|
||||||
stops = { { 0, "#FF9EA3" }, { 1, "#a1bfcf" } }
|
stops = {{0, "#FF9EA3"}, {1, "#a1bfcf"}}
|
||||||
},
|
},
|
||||||
color_floating_normal = {
|
color_floating_normal = {
|
||||||
type = "linear",
|
type = "linear",
|
||||||
from = { 0, 0 },
|
from = {0, 0},
|
||||||
to = { 40, 0 },
|
to = {40, 0},
|
||||||
stops = { { 0, "#56666f" }, { 1, "#ddace7" } }
|
stops = {{0, "#56666f"}, {1, "#ddace7"}}
|
||||||
},
|
},
|
||||||
color_floating_focus = {
|
color_floating_focus = {
|
||||||
type = "linear",
|
type = "linear",
|
||||||
from = { 0, 0 },
|
from = {0, 0},
|
||||||
to = { 40, 0 },
|
to = {40, 0},
|
||||||
stops = { { 0, "#a1bfcf" }, { 1, "#ddace7" } }
|
stops = {{0, "#a1bfcf"}, {1, "#ddace7"}}
|
||||||
},
|
},
|
||||||
color_floating_hover = {
|
color_floating_hover = {
|
||||||
type = "linear",
|
type = "linear",
|
||||||
from = { 0, 0 },
|
from = {0, 0},
|
||||||
to = { 40, 0 },
|
to = {40, 0},
|
||||||
stops = { { 0, "#a1bfcf" }, { 1, "#F7C6FF" } }
|
stops = {{0, "#a1bfcf"}, {1, "#F7C6FF"}}
|
||||||
},
|
},
|
||||||
|
|
||||||
snapping = true,
|
snapping = true,
|
||||||
snapping_center_mouse = true,
|
snapping_center_mouse = true,
|
||||||
|
|
||||||
-- custom control example:
|
-- custom control example:
|
||||||
button_back = function(c)
|
button_back = function(c)
|
||||||
-- set client as master
|
-- set client as master
|
||||||
c:swap(awful.client.getmaster())
|
c:swap(awful.client.getmaster())
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue