doc: Uncomment the wallpaper `screen` property.

This commit is contained in:
Emmanuel Lepage Vallee 2021-10-01 16:54:22 -07:00
parent eb07ca4c47
commit c3fe4c15ed
12 changed files with 21 additions and 17 deletions

View File

@ -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 {
{

View File

@ -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 {
{

View File

@ -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 {
{

View File

@ -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 = {
{

View File

@ -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 },

View File

@ -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 },

View File

@ -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,

View File

@ -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 = {
{

View File

@ -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",

View File

@ -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 = {
{

View File

@ -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 = {
{

View File

@ -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