less transparency
This commit is contained in:
		
							parent
							
								
									00d79d6edf
								
							
						
					
					
						commit
						4de2d59f08
					
				
					 2 changed files with 7 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -135,9 +135,9 @@ In order to have this config work on both my desktop with regular joe-schmoe mon
 | 
			
		|||
 | 
			
		||||
(defun chris/set-transparency ()
 | 
			
		||||
  "Set the frame to be transparent but not the text"
 | 
			
		||||
  (set-frame-parameter (selected-frame) 'alpha-background 85)
 | 
			
		||||
  (add-to-list 'default-frame-alist '(alpha-background . 85))
 | 
			
		||||
  (add-to-list 'initial-frame-alist '(alpha-background . 85)))
 | 
			
		||||
  (set-frame-parameter (selected-frame) 'alpha-background 95)
 | 
			
		||||
  (add-to-list 'default-frame-alist '(alpha-background . 95))
 | 
			
		||||
  (add-to-list 'initial-frame-alist '(alpha-background . 95)))
 | 
			
		||||
 | 
			
		||||
(if (daemonp) (add-hook 'after-make-frame-functions
 | 
			
		||||
          (lambda (frame)
 | 
			
		||||
| 
						 | 
				
			
			@ -149,6 +149,7 @@ In order to have this config work on both my desktop with regular joe-schmoe mon
 | 
			
		|||
#+end_src
 | 
			
		||||
 | 
			
		||||
Then let's make sure line-numbers are relative and on. And let's turn on visual-line-mode globally.
 | 
			
		||||
 | 
			
		||||
#+begin_src emacs-lisp
 | 
			
		||||
(setq display-line-numbers-type t)
 | 
			
		||||
(global-display-line-numbers-mode +1)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										6
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								init.el
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -41,9 +41,9 @@
 | 
			
		|||
 | 
			
		||||
(defun chris/set-transparency ()
 | 
			
		||||
  "Set the frame to be transparent but not the text"
 | 
			
		||||
  (set-frame-parameter (selected-frame) 'alpha-background 85)
 | 
			
		||||
  (add-to-list 'default-frame-alist '(alpha-background . 85))
 | 
			
		||||
  (add-to-list 'initial-frame-alist '(alpha-background . 85)))
 | 
			
		||||
  (set-frame-parameter (selected-frame) 'alpha-background 95)
 | 
			
		||||
  (add-to-list 'default-frame-alist '(alpha-background . 95))
 | 
			
		||||
  (add-to-list 'initial-frame-alist '(alpha-background . 95)))
 | 
			
		||||
 | 
			
		||||
(if (daemonp) (add-hook 'after-make-frame-functions
 | 
			
		||||
          (lambda (frame)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue