dotfiles/awesome/components/pastel/wallpaper.lua

27 lines
1.8 KiB
Lua
Raw Normal View History

2022-07-19 19:45:11 +02:00
-- ██╗ ██╗ █████╗ ██╗ ██╗ ██████╗ █████╗ ██████╗ ███████╗██████╗
-- ██║ ██║██╔══██╗██║ ██║ ██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗
-- ██║ █╗ ██║███████║██║ ██║ ██████╔╝███████║██████╔╝█████╗ ██████╔╝
-- ██║███╗██║██╔══██║██║ ██║ ██╔═══╝ ██╔══██║██╔═══╝ ██╔══╝ ██╔══██╗
-- ╚███╔███╔╝██║ ██║███████╗███████╗██║ ██║ ██║██║ ███████╗██║ ██║
-- ╚══╝╚══╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝
-- ===================================================================
-- Imports
-- ===================================================================
local awful = require("awful")
local gears = require("gears")
local naughty = require("naughty")
-- ===================================================================
-- Initialization
-- ===================================================================
local wallpaper_dir = gears.filesystem.get_configuration_dir() .. "/wallpaper"
local wallpaper = wallpaper_dir .. "/wallpaper.png"
awful.spawn.with_shell("feh --bg-fill " .. wallpaper)