Awful doesn't work...

This commit is contained in:
Chris Cochrun 2021-04-24 05:55:47 -05:00
parent a71179957a
commit 75186b40a8

View file

@ -68,10 +68,10 @@
(local alt "Mod1") (local alt "Mod1")
;; Set hostname so that we can utilize specific features on different machines ;; Set hostname so that we can utilize specific features on different machines
(global hostname-handle (io.popen "hostname")) (awful.spawn.easy_async "cat /etc/hostname" (fn [ stdout stderr reason exit_code ]
(global hostname (hostname-handle:read "a")) (if (= "syl\n" stdout)
(hostname-handle:close) (global laptop true)
(local laptop (if (= hostname "syl"))) (global laptop false))))
;; 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 [