mirror of
				https://github.com/tiyn/slock.git
				synced 2025-10-31 03:01:19 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			534 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			534 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* user and group to drop privileges to */
 | |
| static const char *user  = "user";
 | |
| static const char *group = "nobody";
 | |
| 
 | |
| static const char *colorname[NUMCOLS] = {
 | |
| 	[INIT] =   "black",     /* after initialization */
 | |
| 	[INPUT] =  "#005577",   /* during input */
 | |
| 	[FAILED] = "#CC3333",   /* wrong password */
 | |
| };
 | |
| 
 | |
| /* treat a cleared input like a wrong password (color) */
 | |
| static const int failonclear = 1;
 | |
| 
 | |
| /* Background image path, should be available to the user above */
 | |
| static const char* background_image = "/home/user/.local/share/lock";
 |