-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstartup.lua
51 lines (45 loc) · 1.37 KB
/
startup.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
-- -----------
-- startup.lua
-- -----------
-- Start applications that should always be running (particularly windowless ones)
--
-- https://github.com/Sorky/config-awesome
--
-- (c) GNU General Public License v3.0
--
-- Required code libraries
local naughty = require( "naughty" )
local utils = { run_once = require( "utils.run_once" ) }
-- Start these if not already running
utils.run_once( "guake &> /dev/null" )
utils.run_once( "remmina -i &> /dev/null" )
utils.run_once( "skypeforlinux" )
--[[
-- naughty.config.defaults
-- -----------------------
-- timeout = 5
-- text = ""
-- screen = nil
-- ontop = true
-- margin = dpi( 5 )
-- border_width = dpi( 1 )
-- position = "top_right"
--]]
-- Modify notification defaults
naughty.config.defaults.timeout = 0
--[[
-- naughty.config.presets
-- -----------------------
-- low = { timeout = 5 }
-- normal = {}
-- critical = { bg = "#ff0000", fg = "#ffffff", timeout = 0 }
-- ok = { bg = "#00bb00", fg = "#ffffff", timeout = 5 }
-- info = { bg = "#0000ff", fg = "#ffffff", timeout = 5 }
-- warn = { bg = "#ffaa00", fg = "#000000", timeout = 10 }
--]]
-- Modify notification defaults
naughty.config.presets.low.timeout = 0
naughty.config.presets.normal = { bg = "#00bb00", fg = "#ffffff", timeout = 0 }
naughty.config.presets.ok.timeout = 0
naughty.config.presets.info.timeout = 0
naughty.config.presets.warn.timeout = 0