feat(wpcarro/marcus): Install xsecurelock
TL;DR: - Install `xsecurelock` - Support screen-locking for personal (and corporate) devices Change-Id: Ife2ead109c60b69b817775d8d6524c6aece5f376 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4354 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
This commit is contained in:
		
							parent
							
								
									854dcbc55e
								
							
						
					
					
						commit
						ec76f6264d
					
				
					 2 changed files with 5 additions and 2 deletions
				
			
		|  | @ -195,7 +195,9 @@ | |||
| ;; TODO: Is there a shell-command API that accepts an alist and serializes it | ||||
| ;; into variables to pass to the shell command? | ||||
| (defconst window-manager--xsecurelock | ||||
|   "/usr/share/goobuntu-desktop-files/xsecurelock.sh" | ||||
|   (if (device-corporate?) | ||||
|       "/usr/share/goobuntu-desktop-files/xsecurelock.sh" | ||||
|     "xsecurelock") | ||||
|   "Path to the proper xsecurelock executable. | ||||
| The other path to xsecurelock is /usr/bin/xsecurelock, which works fine, but it | ||||
| is not optimized for Goobuntu devices.  Goobuntu attempts to check a user's | ||||
|  | @ -347,7 +349,7 @@ predicate." | |||
| 
 | ||||
| (add-hook 'exwm-init-hook | ||||
|           (lambda () | ||||
|             (display-arrange-primary) | ||||
|             ;; (display-arrange-primary) | ||||
|             (window-manager--switch "Coding"))) | ||||
| 
 | ||||
| (provide 'window-manager) | ||||
|  |  | |||
|  | @ -83,6 +83,7 @@ in { | |||
|     weechat | ||||
|     wpcarros-emacs | ||||
|     xclip | ||||
|     xsecurelock | ||||
|   ]; | ||||
| 
 | ||||
|   system.stateVersion = "21.11"; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue