updates for awesome

This commit is contained in:
Chris Cochrun 2023-03-23 13:12:52 -05:00
parent bef2f4ab4a
commit 2af53d34de
3 changed files with 12 additions and 4 deletions

View file

@ -5,6 +5,13 @@
(local xresources (require "beautiful.xresources"))
(local dpi xresources.apply_dpi)
(local file (io.open "/etc/hostname"))
(io.input file)
(local laptop (if (= (io.read) "syl")
true
false))
(io.close file)
(local rules [
;; All clients match this rule
{
@ -41,7 +48,8 @@
:floating true
:raise true
;; :height (dpi 1200)
:width (dpi 1400)
:width (if laptop (dpi 1400)
(dpi 2000))
:screen 1
:sticky true
:placement awful.placement.centered