making emacs decorate less
This commit is contained in:
		
							parent
							
								
									11321edc89
								
							
						
					
					
						commit
						2ac0daa4a0
					
				
					 2 changed files with 10 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -97,8 +97,8 @@ In order to have this config work on both my desktop with regular joe-schmoe mon
 | 
			
		|||
                      :height chris/default-font-size)
 | 
			
		||||
  (set-face-attribute 'fixed-pitch nil :font "VictorMono Nerd Font"
 | 
			
		||||
                      :height chris/default-font-size)
 | 
			
		||||
  (set-face-attribute 'variable-pitch nil :font "Cantarell"
 | 
			
		||||
                      :height (+ chris/default-font-size (/ chris/default-font-size 8))
 | 
			
		||||
  (set-face-attribute 'variable-pitch nil :font "Noto Sans"
 | 
			
		||||
                      :height (+ chris/default-font-size (/ chris/default-font-size 12))
 | 
			
		||||
                      :weight 'regular))
 | 
			
		||||
 | 
			
		||||
(defun chris/set-transparency ()
 | 
			
		||||
| 
						 | 
				
			
			@ -116,7 +116,9 @@ In order to have this config work on both my desktop with regular joe-schmoe mon
 | 
			
		|||
              (lambda (frame)
 | 
			
		||||
                (with-selected-frame frame
 | 
			
		||||
                  (chris/set-font-faces)))
 | 
			
		||||
  (chris/set-font-faces)))
 | 
			
		||||
              (chris/set-font-faces)))
 | 
			
		||||
 | 
			
		||||
(add-to-list 'default-frame-alist '(undecorated . t))
 | 
			
		||||
#+end_src
 | 
			
		||||
 | 
			
		||||
Then let's make sure line-numbers are relative and on. And let's turn on visual-line-mode globally.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										8
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								init.el
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -32,8 +32,8 @@
 | 
			
		|||
                      :height chris/default-font-size)
 | 
			
		||||
  (set-face-attribute 'fixed-pitch nil :font "VictorMono Nerd Font"
 | 
			
		||||
                      :height chris/default-font-size)
 | 
			
		||||
  (set-face-attribute 'variable-pitch nil :font "Cantarell"
 | 
			
		||||
                      :height (+ chris/default-font-size (/ chris/default-font-size 8))
 | 
			
		||||
  (set-face-attribute 'variable-pitch nil :font "Noto Sans"
 | 
			
		||||
                      :height (+ chris/default-font-size (/ chris/default-font-size 12))
 | 
			
		||||
                      :weight 'regular))
 | 
			
		||||
 | 
			
		||||
(defun chris/set-transparency ()
 | 
			
		||||
| 
						 | 
				
			
			@ -51,7 +51,9 @@
 | 
			
		|||
              (lambda (frame)
 | 
			
		||||
                (with-selected-frame frame
 | 
			
		||||
                  (chris/set-font-faces)))
 | 
			
		||||
  (chris/set-font-faces)))
 | 
			
		||||
              (chris/set-font-faces)))
 | 
			
		||||
 | 
			
		||||
(add-to-list 'default-frame-alist '(undecorated . t))
 | 
			
		||||
 | 
			
		||||
(setq display-line-numbers-type 'relative)
 | 
			
		||||
(global-display-line-numbers-mode +1)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue