Adding some new keybindings and bling

This commit is contained in:
Chris Cochrun 2021-02-07 14:43:59 -06:00
parent 221ceb9d78
commit 48e4ba09b5
5 changed files with 33 additions and 11 deletions

View file

@ -46,6 +46,9 @@
;; Themes define colours, icons, font and wallpapers.
(beautiful.init "/home/chris/.config/awesome/theme.lua")
;; Import the bling modules and layouts
(local bling (require "bling"))
;; This is used later as the default terminal and editor to run.
(var terminal "alacritty")
(var editor (or (os.getenv "EDITOR") "emacsclient"))
@ -75,6 +78,8 @@
;; Table of layouts to cover with awful.layout.inc, order matters.
(set awful.layout.layouts [
awful.layout.suit.tile
bling.layout.centered
bling.layout.mstab
awful.layout.suit.floating
;; awful.layout.suit.tile.left
;; awful.layout.suit.tile.bottom
@ -162,6 +167,7 @@
(awful.button [] 3 (fn [] (awful.layout.inc -1 s)))
(awful.button [] 4 (fn [] (awful.layout.inc 1 s)))
(awful.button [] 5 (fn [] (awful.layout.inc -1 s)))))
;; Create a taglist widget
(set s.mytaglist (awful.widget.taglist {
:screen s