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