fork/home-manager
git clone https://git.julia.blue/fork/home-manager
63dccc4e
master
1{ 2config = { 3services . twmn = { 4enable = true ; 5duration = 4242 ; 6host = "example.com" ; 7port = 9006 ; 8screen = 0 ; 9soundCommand = "/path/sound/command" ; 10icons . critical = "/path/icon/critical" ; 11icons . info = "/path/icon/info" ; 12icons . warning = "/path/icon/warning" ; 13text = { 14color = "#FF00FF" ; 15font . family = "Noto Sans" ; 16font . size = 16 ; 17font . variant = "italic" ; 18maxLength = 80 ; 19}; 20window = { 21alwaysOnTop = true ; 22color = "black" ; 23height = 20 ; 24offset . x = 20 ; 25offset . y = - 60 ; 26opacity = 80 ; 27position = "center" ; 28animation = { 29easeIn . curve = 27 ; 30easeIn . duration = 314 ; 31easeOut . curve = 13 ; 32easeOut . duration = 168 ; 33bounce . enable = true ; 34bounce . duration = 271 ; 35}; 36}; 37}; 38 39test . stubs . twmn = { }; 40 41nmt . script = '' 42serviceFile ="home-files/.config/systemd/user/twmnd.service" 43assertFileExists " $ serviceFile " 44assertFileRegex " $ serviceFile " 'X-Restart-Triggers=.*twmn\.conf' 45assertFileRegex " $ serviceFile " 'ExecStart=@twmn@/bin/twmnd' 46assertFileExists "home-files/.config/twmn/twmn.conf" 47assertFileContent "home-files/.config/twmn/twmn.conf" \ 48${ ./basic-configuration.conf } 49'' ; 50}; 51}