mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	feat: add hilbish.interactive and hilbish.login vars
these are to check from lua if hilbish is running an interactive or login session
This commit is contained in:
		
							parent
							
								
									54d88f9f6c
								
							
						
					
					
						commit
						97a6e4baf2
					
				| @ -36,6 +36,8 @@ func HilbishLoader(L *lua.LState) int { | ||||
| 	L.SetField(mod, "host", lua.LString(host)) | ||||
| 	L.SetField(mod, "home", lua.LString(homedir)) | ||||
| 	L.SetField(mod, "dataDir", lua.LString(dataDir)) | ||||
| 	L.SetField(mod, "interactive", lua.LBool(interactive)) | ||||
| 	L.SetField(mod, "login", lua.LBool(interactive)) | ||||
| 
 | ||||
| 	xdg := L.NewTable() | ||||
| 	L.SetField(xdg, "config", lua.LString(confDir)) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user