Trying to make laptop detect if it's laptop

This commit is contained in:
Chris Cochrun 2021-04-24 05:47:27 -05:00
parent 404b809f82
commit a71179957a

View file

@ -71,7 +71,7 @@
(global hostname-handle (io.popen "hostname")) (global hostname-handle (io.popen "hostname"))
(global hostname (hostname-handle:read "a")) (global hostname (hostname-handle:read "a"))
(hostname-handle:close) (hostname-handle:close)
(local laptop true) (local laptop (if (= hostname "syl")))
;; Table of layouts to cover with awful.layout.inc, order matters. ;; Table of layouts to cover with awful.layout.inc, order matters.
(set awful.layout.layouts [ (set awful.layout.layouts [