add: i3blocks
fix. aliasrc type fix: i3status config location
This commit is contained in:
		
							parent
							
								
									55f2cf3228
								
							
						
					
					
						commit
						f5efc9dff8
					
				
					 4 changed files with 39 additions and 0 deletions
				
			
		
							
								
								
									
										27
									
								
								.config/i3blocks/config
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								.config/i3blocks/config
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,27 @@
 | 
			
		|||
# Global properties
 | 
			
		||||
full_text=|
 | 
			
		||||
align=center
 | 
			
		||||
separator=false
 | 
			
		||||
separator_block_width=15
 | 
			
		||||
 | 
			
		||||
[status_mpd]
 | 
			
		||||
command=./mpc-status
 | 
			
		||||
interval=persist
 | 
			
		||||
 | 
			
		||||
[separator]
 | 
			
		||||
 | 
			
		||||
[launch_rocket_league]
 | 
			
		||||
full_text=RL
 | 
			
		||||
command=xdg-open steam://run/252950 > /dev/null
 | 
			
		||||
color=#00ffff
 | 
			
		||||
 | 
			
		||||
[launch_shell_shock]
 | 
			
		||||
full_text=SS
 | 
			
		||||
command=xdg-open steam://run/326460 > /dev/null
 | 
			
		||||
color=#00ff00
 | 
			
		||||
 | 
			
		||||
[separator]
 | 
			
		||||
 | 
			
		||||
[time]
 | 
			
		||||
command=date '+%Y-%m-%d %H:%M:%S'
 | 
			
		||||
interval=1
 | 
			
		||||
							
								
								
									
										10
									
								
								.config/i3blocks/mpc-status
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								.config/i3blocks/mpc-status
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
alias mpc-current='mpc -f "%title% - %album% - %artist%" current'
 | 
			
		||||
 | 
			
		||||
mpc-current
 | 
			
		||||
 | 
			
		||||
while :
 | 
			
		||||
do
 | 
			
		||||
    mpc-current --wait
 | 
			
		||||
done
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue