Added more of awesome into fennel over lua

This commit is contained in:
Chris Cochrun 2020-09-16 06:30:31 -05:00
parent 3d48649971
commit bdc9927c62
8 changed files with 104 additions and 71 deletions

View file

@ -5,8 +5,24 @@
(local gears (require "gears"))
(local keys (require "keys"))
;; (gears.wallpaper.set (beautiful.wallpaper))
;;; rules
(set awful.rules.rules rules)
(root.keys keys.globalkeys)
;;; wallpaper
(fn set-wallpaper [s]
(local wallpaper beautiful.wallpaper)
(gears.wallpaper.maximized wallpaper s false))
(awful.screen.connect_for_each_screen set-wallpaper)
(screen.connect_signal "property::geometry" set-wallpaper)
;;; autostart applications
(awful.spawn.with_shell "picom --experimental-backend")
(awful.spawn.with_shell "xset r rate 220 90")
(awful.spawn.with_shell "/usr/lib/polkit-kde-authentication-agent-1")
(awful.spawn.with_shell "feh --bg-fill ~/Pictures/wallpapers/RoyalKing.png")
(awful.spawn.with_shell "flameshot")
(awful.spawn.with_shell "caffeine")
(awful.spawn.with_shell "nextcloud --background")
(awful.spawn.with_shell "emacs -daemon")
(awful.spawn.with_shell "libinput-gestures-setup start")