doc: Uncomment the wallpaper `screen` property.
This commit is contained in:
parent
eb07ca4c47
commit
c3fe4c15ed
|
@ -11,7 +11,7 @@ screen._add_screen {x = 322, y = 0, width = 160, height = 96}
|
|||
require("_default_look")
|
||||
|
||||
awful.wallpaper {
|
||||
screen = screen[1], --DOC_HIDE
|
||||
screen = screen[1],
|
||||
bg = "#222222",
|
||||
widget = wibox.widget {
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@ screen._add_screen {x = 322, y = 0, width = 160, height = 96}
|
|||
require("_default_look")
|
||||
|
||||
local wall = awful.wallpaper {
|
||||
screen = screen[1], --DOC_HIDE
|
||||
screen = screen[1],
|
||||
bg = "#222222",
|
||||
widget = wibox.widget {
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ screen._add_screen {x = 322, y = 0, width = 160, height = 96}
|
|||
require("_default_look")
|
||||
|
||||
local wall = awful.wallpaper {
|
||||
screen = screen[1], --DOC_HIDE
|
||||
screen = screen[1],
|
||||
bg = "#222222",
|
||||
widget = wibox.widget {
|
||||
{
|
||||
|
|
|
@ -7,10 +7,10 @@ local wibox = require("wibox") --DOC_HIDE
|
|||
local beautiful = require("beautiful") --DOC_HIDE
|
||||
|
||||
screen[1]._resize {x = 0, y = 0, width = 320, height = 196} --DOC_HIDE
|
||||
|
||||
local s = screen[1] --DOC_HIDE
|
||||
|
||||
awful.wallpaper {
|
||||
screen = screen[1], --DOC_HIDE
|
||||
screen = s,
|
||||
bg = "#000000",
|
||||
widget = {
|
||||
{
|
||||
|
|
|
@ -2,10 +2,11 @@
|
|||
local awful = { wallpaper = require("awful.wallpaper") } --DOC_HIDE
|
||||
|
||||
screen[1]._resize {x = 0, y = 0, width = 320, height = 196} --DOC_HIDE
|
||||
local s = screen[1] --DOC_HIDE
|
||||
|
||||
|
||||
awful.wallpaper {
|
||||
screen = screen[1], --DOC_HIDE
|
||||
screen = s,
|
||||
bg = {
|
||||
type = "linear" ,
|
||||
from = { 0, 0 },
|
||||
|
|
|
@ -2,10 +2,11 @@
|
|||
local awful = { wallpaper = require("awful.wallpaper") } --DOC_HIDE
|
||||
|
||||
screen[1]._resize {x = 0, y = 0, width = 320, height = 196} --DOC_HIDE
|
||||
local s = screen[1] --DOC_HIDE
|
||||
|
||||
|
||||
awful.wallpaper {
|
||||
screen = screen[1], --DOC_HIDE
|
||||
screen = s,
|
||||
bg = {
|
||||
type = "radial",
|
||||
from = { 160, 98, 20 },
|
||||
|
|
|
@ -2,10 +2,11 @@
|
|||
local awful = { wallpaper = require("awful.wallpaper") } --DOC_HIDE
|
||||
local wibox = require("wibox") --DOC_HIDE
|
||||
local beautiful = require("beautiful") --DOC_HIDE
|
||||
local s = screen[1] --DOC_HIDE
|
||||
|
||||
|
||||
awful.wallpaper {
|
||||
screen = screen[1], --DOC_HIDE
|
||||
screen = s,
|
||||
widget = {
|
||||
{
|
||||
image = beautiful.wallpaper,
|
||||
|
|
|
@ -4,10 +4,11 @@ local wibox = require("wibox") --DOC_HIDE
|
|||
local beautiful = require("beautiful") --DOC_HIDE
|
||||
|
||||
screen[1]._resize {x = 0, y = 0, width = 320, height = 196} --DOC_HIDE
|
||||
local s = screen[1] --DOC_HIDE
|
||||
|
||||
|
||||
awful.wallpaper {
|
||||
screen = screen[1], --DOC_HIDE
|
||||
screen = s,
|
||||
bg = "#0000ff",
|
||||
widget = {
|
||||
{
|
||||
|
|
|
@ -4,10 +4,10 @@ local wibox = require("wibox") --DOC_HIDE
|
|||
local beautiful = require("beautiful") --DOC_HIDE
|
||||
|
||||
screen[1]._resize {x = 0, y = 0, width = 320, height = 196} --DOC_HIDE
|
||||
|
||||
local s = screen[1] --DOC_HIDE
|
||||
|
||||
awful.wallpaper {
|
||||
screen = screen[1], --DOC_HIDE
|
||||
screen = s,
|
||||
widget = {
|
||||
horizontal_fit_policy = "fit",
|
||||
vertical_fit_policy = "fit",
|
||||
|
|
|
@ -4,10 +4,10 @@ local wibox = require("wibox") --DOC_HIDE
|
|||
local beautiful = require("beautiful") --DOC_HIDE
|
||||
|
||||
screen[1]._resize {x = 0, y = 0, width = 320, height = 196} --DOC_HIDE
|
||||
|
||||
local s = screen[1] --DOC_HIDE
|
||||
|
||||
awful.wallpaper {
|
||||
screen = screen[1], --DOC_HIDE
|
||||
screen = s,
|
||||
bg = "#0000ff",
|
||||
widget = {
|
||||
{
|
||||
|
|
|
@ -4,10 +4,10 @@ local wibox = require("wibox") --DOC_HIDE
|
|||
local gears = { shape = require("gears.shape") } --DOC_HIDE
|
||||
|
||||
screen[1]._resize {x = 0, y = 0, width = 320, height = 196} --DOC_HIDE
|
||||
|
||||
local s = screen[1] --DOC_HIDE
|
||||
|
||||
awful.wallpaper {
|
||||
screen = screen[1], --DOC_HIDE
|
||||
screen = s,
|
||||
bg = "#0000ff",
|
||||
widget = {
|
||||
{
|
||||
|
|
|
@ -4,10 +4,10 @@ local wibox = require("wibox") --DOC_HIDE
|
|||
local gears = {color = require("gears.color") } --DOC_HIDE
|
||||
|
||||
screen[1]._resize {x = 0, y = 0, width = 320, height = 196} --DOC_HIDE
|
||||
|
||||
local s = screen[1] --DOC_HIDE
|
||||
|
||||
awful.wallpaper {
|
||||
screen = screen[1], --DOC_HIDE
|
||||
screen = s,
|
||||
widget = wibox.widget {
|
||||
fit = function(_, width, height)
|
||||
return width, height
|
||||
|
|
Loading…
Reference in New Issue