summaryrefslogtreecommitdiff
path: root/lib/screen.lua
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2024-10-18 21:49:17 -0500
committerTim Keller <tjk@tjkeller.xyz>2024-10-18 21:49:17 -0500
commit923eb46350b1102749eb05cd2120c96cc6a715d0 (patch)
tree811da20b4195d4b5c65c8ac0090982a4a23f6a7d /lib/screen.lua
downloadawesome-923eb46350b1102749eb05cd2120c96cc6a715d0.tar.xz
awesome-923eb46350b1102749eb05cd2120c96cc6a715d0.zip
initial commit
Diffstat (limited to 'lib/screen.lua')
-rw-r--r--lib/screen.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/screen.lua b/lib/screen.lua
new file mode 100644
index 0000000..3cca05d
--- /dev/null
+++ b/lib/screen.lua
@@ -0,0 +1,8 @@
+local awful = require("awful")
+
+function seasonalwallpaper()
+ awful.spawn("seasonalwallpaper", false) -- if not false then spinner will always spin on desktop
+end
+
+awesome.connect_signal("startup", seasonalwallpaper)
+screen.connect_signal("property::geometry", seasonalwallpaper)