mirror of
				https://git.davidovski.xyz/dot.git
				synced 2024-08-15 00:43:28 +00:00 
			
		
		
		
	Added slock configuration files
This commit is contained in:
		
							parent
							
								
									a8944ec46d
								
							
						
					
					
						commit
						33fb893a31
					
				
					 3 changed files with 30 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								slock/config.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								slock/config.h
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | |||
| /* user and group to drop privileges to */ | ||||
| static const char *user  = "nobody"; | ||||
| static const char *group = "nogroup"; | ||||
| 
 | ||||
| static const char *colorname[NUMCOLS] = { | ||||
| 	[INIT] =   "#191919",     /* after initialization */ | ||||
| 	[INPUT] =  "#282a2e",   /* during input */ | ||||
| 	[FAILED] = "#cc6666",   /* wrong password */ | ||||
| }; | ||||
| 
 | ||||
| /* treat a cleared input like a wrong password (color) */ | ||||
| static const int failonclear = 1; | ||||
							
								
								
									
										14
									
								
								slock/deploy.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										14
									
								
								slock/deploy.sh
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| pkgver=1.5 | ||||
| 
 | ||||
| [ -d "~/.local/src" ]mkdir -p ~/.local/src | ||||
| 
 | ||||
| curl -o ~/.local/src/slock-$pkgver.tar.gz https://dl.suckless.org/tools/slock-$pkgver.tar.gz  | ||||
| tar -C ~/.local/src/ -xvf ~/local/src/slock-$pkgver.tar.gz | ||||
| 
 | ||||
| srcdir=~/.local/src/slock-$pkgver | ||||
|     cp config.h $srcdir | ||||
| make -C $srcdir | ||||
| 
 | ||||
| doas make -C $srcdir install PREFIX=/usr | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue