Added function to toggle audible bell for germinal
This commit is contained in:
		
							parent
							
								
									0c939ccfee
								
							
						
					
					
						commit
						695e0ac72d
					
				
							
								
								
									
										12
									
								
								.bashrc
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								.bashrc
									
									
									
									
									
								
							| @ -1,3 +1,4 @@ | |||||||
|  | #!/bin/bash | ||||||
| # | # | ||||||
| # ~/.bashrc | # ~/.bashrc | ||||||
| # | # | ||||||
| @ -9,7 +10,7 @@ | |||||||
| [[ $- != *i* ]] && return | [[ $- != *i* ]] && return | ||||||
| 
 | 
 | ||||||
| # Use powerline if it's installed | # Use powerline if it's installed | ||||||
| [ ! -z "$USING_TTY" -a  -s  "/usr/lib/python3.5/site-packages/powerline/bindings/bash/powerline.sh" ] && { | [ ! -z "$USING_TTY" ] && [  -s  "/usr/lib/python3.5/site-packages/powerline/bindings/bash/powerline.sh" ] && { | ||||||
| 	powerline-daemon -q | 	powerline-daemon -q | ||||||
| 	POWERLINE_BASH_CONTINUATION=1 | 	POWERLINE_BASH_CONTINUATION=1 | ||||||
| 	POWERLINE_BASH_SELECT=1 | 	POWERLINE_BASH_SELECT=1 | ||||||
| @ -20,7 +21,7 @@ | |||||||
| # See bash(1) for more options | # See bash(1) for more options | ||||||
| HISTCONTROL=ignoreboth | HISTCONTROL=ignoreboth | ||||||
| 
 | 
 | ||||||
| # These are the default colors, but some other programs, such as tee(1), like to use this variable | # Some programs, such as tee(1), like to use this variable | ||||||
| LS_COLORS='di=34;40:ln=35;40:so=32;40:pi=33;40:ex=31;40:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:' | LS_COLORS='di=34;40:ln=35;40:so=32;40:pi=33;40:ex=31;40:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:' | ||||||
| export LS_COLORS | export LS_COLORS | ||||||
| 
 | 
 | ||||||
| @ -58,6 +59,13 @@ awman() { | |||||||
|     awman "$@" |     awman "$@" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | # This function toggles audible bell for germinal | ||||||
|  | # because for some reason, the bell turns off after a while | ||||||
|  | 
 | ||||||
|  | gbel() { | ||||||
|  | 	dconf write /org/gnome/Germinal/audible-bell false | ||||||
|  | 	dconf write /org/gnome/Germinal/audible-bell true | ||||||
|  | } | ||||||
| 
 | 
 | ||||||
| ### PROMPT ### | ### PROMPT ### | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user