lots
This commit is contained in:
parent
85f24aaab6
commit
fb4804311c
10 changed files with 97 additions and 77 deletions
|
@ -26,9 +26,9 @@
|
|||
;; Check if awesome encountered an error during startup and fall back to
|
||||
;; another config (This code will only ever execute for the fallback config)
|
||||
(when awesome.startup_errors
|
||||
(naughty.notify {:preset naughty.config.presets.critical
|
||||
:title "Oops, there were errors during startup!"
|
||||
:text awesome.startup_errors}))
|
||||
(naughty.notification {:preset naughty.config.presets.critical
|
||||
:title "Oops, there were errors during startup!"
|
||||
:text awesome.startup_errors}))
|
||||
|
||||
|
||||
;; Handle runtime errors after startup
|
||||
|
@ -38,9 +38,9 @@
|
|||
;; Make sure we don't go into an endless error loop
|
||||
(when (not in_error)
|
||||
(set in_error true)
|
||||
(naughty.notify {:preset naughty.config.presets.critical
|
||||
:title "Oops, an error happened!"
|
||||
:text (tostring err)})
|
||||
(naughty.notification {:preset naughty.config.presets.critical
|
||||
:title "Oops, an error happened!"
|
||||
:text (tostring err)})
|
||||
(set in_error false)))))
|
||||
|
||||
|
||||
|
@ -50,16 +50,22 @@
|
|||
(beautiful.init "/home/chris/.config/awesome/theme.lua")
|
||||
|
||||
;; Import the bling modules and layouts
|
||||
(local bling (require "bling"))
|
||||
(local bling (require :bling))
|
||||
;; (local awestore (require "awestore"))
|
||||
|
||||
(ruled.notification.connect_signal
|
||||
"request::rules"
|
||||
(fn []
|
||||
(ruled.notification.append_rules notifications)))
|
||||
|
||||
(naughty.notification {:title beautiful.mstab_bar_padding})
|
||||
|
||||
(set naughty.config.defaults.position "bottom_middle")
|
||||
(set naughty.config.defaults.margin 10)
|
||||
(set naughty.config.defaults.border_width 0)
|
||||
(set naughty.config.defaults.hover_timeout 3)
|
||||
(set naughty.config.defaults.max_width (dpi 700))
|
||||
|
||||
|
||||
;; {
|
||||
;; :rule { }
|
||||
;; :properties {
|
||||
|
@ -95,8 +101,8 @@
|
|||
|
||||
;; Table of layouts to cover with awful.layout.inc, order matters.
|
||||
(set awful.layout.layouts [
|
||||
awful.layout.suit.tile
|
||||
bling.layout.mstab
|
||||
awful.layout.suit.tile
|
||||
bling.layout.centered
|
||||
awful.layout.suit.floating
|
||||
;; awful.layout.suit.tile.left
|
||||
|
@ -661,11 +667,6 @@
|
|||
;; Rules
|
||||
(ruled.client.append_rules clientrules)
|
||||
|
||||
(ruled.notification.connect_signal
|
||||
"request::rules"
|
||||
(fn []
|
||||
(ruled.notification.append_rules notifications)))
|
||||
|
||||
;; Signals
|
||||
;; Signal function to execute when a new client appears.
|
||||
(client.connect_signal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue