Redirect stderr to logs
This commit is contained in:
		
							parent
							
								
									584c900e84
								
							
						
					
					
						commit
						ffd832d066
					
				
					 19 changed files with 31 additions and 5 deletions
				
			
		|  | @ -8,4 +8,6 @@ if [[ ! -e ${0:a:h}/server ]] then | ||||||
| fi | fi | ||||||
| source ${0:a:h:h}/import-env.zsh | source ${0:a:h:h}/import-env.zsh | ||||||
| import-env awesome || exit 1 | import-env awesome || exit 1 | ||||||
|  | 
 | ||||||
|  | exec 2>&1 | ||||||
| exec barrierc --no-daemon $(<${0:a:h}/server) | exec barrierc --no-daemon $(<${0:a:h}/server) | ||||||
|  |  | ||||||
|  | @ -1,4 +1,6 @@ | ||||||
| #!/bin/zsh | #!/bin/zsh | ||||||
| source ${0:a:h:h}/import-env.zsh | source ${0:a:h:h}/import-env.zsh | ||||||
| import-env awesome || exit 1 | import-env awesome || exit 1 | ||||||
|  | 
 | ||||||
|  | exec 2>&1 | ||||||
| exec barriers --no-daemon -c ${XDG_CONFIG_HOME:-$HOME/.config}/Debauchee/home.conf | exec barriers --no-daemon -c ${XDG_CONFIG_HOME:-$HOME/.config}/Debauchee/home.conf | ||||||
|  |  | ||||||
|  | @ -1,2 +1,4 @@ | ||||||
| #!/bin/zsh | #!/bin/zsh | ||||||
|  | 
 | ||||||
|  | exec 2>&1 | ||||||
| exec blueman-applet | exec blueman-applet | ||||||
|  |  | ||||||
|  | @ -4,4 +4,6 @@ if ! pgrep -x awesome; then | ||||||
| 	exit 1 | 	exit 1 | ||||||
| fi | fi | ||||||
| export DISPLAY=:0 | export DISPLAY=:0 | ||||||
|  | 
 | ||||||
|  | exec 2>&1 | ||||||
| exec kdeconnect-indicator | exec kdeconnect-indicator | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								mpd/run
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								mpd/run
									
										
									
									
									
								
							|  | @ -1,2 +1,4 @@ | ||||||
| #!/bin/sh | #!/bin/sh | ||||||
|  | 
 | ||||||
|  | exec 2>&1 | ||||||
| exec mpd --no-daemon | exec mpd --no-daemon | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ ln -s ${XDG_RUNTIME_DIR:-/run/user/$UID}/supervise.$1 $1/supervise | ||||||
| 		echo 'source ${0:a:h:h}/import-env.zsh' | 		echo 'source ${0:a:h:h}/import-env.zsh' | ||||||
| 		echo "import-env ${importenv[2]} || exit 1" | 		echo "import-env ${importenv[2]} || exit 1" | ||||||
| 	fi | 	fi | ||||||
|  | 	echo 'exec 2>&1' | ||||||
| 	echo "exec $*" | 	echo "exec $*" | ||||||
| } > $1/run | } > $1/run | ||||||
| chmod +x $1/run | chmod +x $1/run | ||||||
|  |  | ||||||
|  | @ -1,2 +1,4 @@ | ||||||
| #!/bin/zsh | #!/bin/zsh | ||||||
|  | 
 | ||||||
|  | exec 2>&1 | ||||||
| exec onboard | exec onboard | ||||||
|  |  | ||||||
|  | @ -1,4 +1,6 @@ | ||||||
| #!/bin/zsh | #!/bin/zsh | ||||||
| source ${0:A:h:h}/import-env.zsh | source ${0:A:h:h}/import-env.zsh | ||||||
| import-env awesome || exit 1 | import-env awesome || exit 1 | ||||||
|  | 
 | ||||||
|  | exec 2>&1 | ||||||
| exec picom | exec picom | ||||||
|  |  | ||||||
|  | @ -1,2 +1,3 @@ | ||||||
| #!/bin/sh | #!/bin/sh | ||||||
|  | exec 2>&1 | ||||||
| exec pipewire-pulse | exec pipewire-pulse | ||||||
|  |  | ||||||
|  | @ -1,2 +1,4 @@ | ||||||
| #!/bin/zsh | #!/bin/zsh | ||||||
|  | 
 | ||||||
|  | exec 2>&1 | ||||||
| exec /usr/libexec/polkit-gnome-authentication-agent-1 | exec /usr/libexec/polkit-gnome-authentication-agent-1 | ||||||
|  |  | ||||||
|  | @ -1,2 +1,4 @@ | ||||||
| #!/bin/sh | #!/bin/sh | ||||||
|  | 
 | ||||||
|  | exec 2>&1 | ||||||
| exec pueued | exec pueued | ||||||
|  |  | ||||||
|  | @ -5,4 +5,5 @@ if ! pidof awesome; then | ||||||
| 	exit | 	exit | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
|  | exec 2>&1 | ||||||
| exec redshift-gtk | exec redshift-gtk | ||||||
|  |  | ||||||
|  | @ -5,4 +5,3 @@ export HOME="/home/$USERNAME" | ||||||
| 
 | 
 | ||||||
| exec 2>&1 | exec 2>&1 | ||||||
| exec syncthing -logflags 0 | exec syncthing -logflags 0 | ||||||
| 
 |  | ||||||
|  |  | ||||||
|  | @ -1,3 +1,4 @@ | ||||||
| #!/bin/sh | #!/bin/sh | ||||||
| env > /tmp/env.synergys | env > /tmp/env.synergys | ||||||
|  | 
 | ||||||
| exec synergys --enable-crypto --config /home/crater2150/.synergy.conf -f 2>&1 | exec synergys --enable-crypto --config /home/crater2150/.synergy.conf -f 2>&1 | ||||||
|  |  | ||||||
|  | @ -2,4 +2,6 @@ | ||||||
| export DISPLAY=:0 | export DISPLAY=:0 | ||||||
| export XAUTHORITY=/home/crater2150/.Xauthority | export XAUTHORITY=/home/crater2150/.Xauthority | ||||||
| if ! pidof awesome; then sleep 5; exit; fi | if ! pidof awesome; then sleep 5; exit; fi | ||||||
|  | 
 | ||||||
|  | exec 2>&1 | ||||||
| exec /home/crater2150/.local/bin/taralli | exec /home/crater2150/.local/bin/taralli | ||||||
|  |  | ||||||
|  | @ -1,2 +1,3 @@ | ||||||
| #!/bin/zsh | #!/bin/zsh | ||||||
|  | exec 2>&1 | ||||||
| exec touchegg | exec touchegg | ||||||
|  |  | ||||||
|  | @ -1,2 +1,3 @@ | ||||||
| #!/bin/zsh | #!/bin/zsh | ||||||
|  | exec 2>&1 | ||||||
| exec udiskie -ant | exec udiskie -ant | ||||||
|  |  | ||||||
|  | @ -1,8 +1,7 @@ | ||||||
| #!/bin/zsh | #!/bin/zsh | ||||||
| 
 | 
 | ||||||
| if ! pidof awesome; then | source ${0:a:h:h}/import-env.zsh | ||||||
| 	sleep 5 | import-env awesome || exit 1 | ||||||
| 	exit |  | ||||||
| fi |  | ||||||
| 
 | 
 | ||||||
|  | exec 2>&1 | ||||||
| exec xiccd | exec xiccd | ||||||
|  |  | ||||||
|  | @ -1,4 +1,6 @@ | ||||||
| #!/bin/zsh | #!/bin/zsh | ||||||
| source ${0:a:h:h}/import-env.zsh | source ${0:a:h:h}/import-env.zsh | ||||||
| import-env awesome || exit 1 | import-env awesome || exit 1 | ||||||
|  | 
 | ||||||
|  | exec 2>&1 | ||||||
| exec xss-lock -l -- xsecurelock-wrapper 2>&1 | exec xss-lock -l -- xsecurelock-wrapper 2>&1 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue