mirror of
				https://github.com/rbreaves/kinto.git
				synced 2025-11-03 21:04:00 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			508 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			508 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
if [ -f {homedir}/.config/systemd/user/keyswap.timer ]; then
 | 
						|
	systemctl --user stop keyswap.timer >/dev/null 2>&1
 | 
						|
	systemctl --user disable keyswap.timer >/dev/null 2>&1
 | 
						|
fi
 | 
						|
if [ -f {homedir}/.config/systemd/user/keyswap.service ]; then
 | 
						|
	systemctl --user stop keyswap >/dev/null 2>&1
 | 
						|
	systemctl --user disable keyswap >/dev/null 2>&1
 | 
						|
fi
 | 
						|
 | 
						|
# export DISPLAY={displayid};/usr/bin/xhost +SI:localuser:root
 | 
						|
mkdir -p /tmp/kinto/xkeysnail
 | 
						|
cp {homedir}/.config/kinto/kinto.py /tmp/kinto/xkeysnail/kinto.py
 |