Added floating for AirVPN in i3, emacs monokai instead of material, delete trailing whitespaces at save

clean_emacs
Tuan-Dat Tran 2018-05-27 18:52:35 +02:00
parent c12494cdb4
commit 977c3a6266
No known key found for this signature in database
GPG Key ID: 0DA1B0B23302CA72
2 changed files with 20 additions and 12 deletions

View File

@ -90,7 +90,10 @@ for_window [class="Thus"] floating enable border normal
for_window [class="Timeset-gui"] floating enable border normal for_window [class="Timeset-gui"] floating enable border normal
for_window [class="(?i)virtualbox"] floating enable border normal for_window [class="(?i)virtualbox"] floating enable border normal
for_window [title="KeePassX$"] floating enable border normal for_window [title="KeePassX$"] floating enable border normal
for_window [title="Eddie - Settings"] floating enable border normal
for_window [title="(?i)termite"] border pixel 3 for_window [title="(?i)termite"] border pixel 3
# switch to workspace with urgent window automatically # switch to workspace with urgent window automatically
for_window [urgent=latest] focus for_window [urgent=latest] focus
@ -319,4 +322,3 @@ mode "$mode_gaps_outer" {
bindsym Return mode "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
} }

View File

@ -43,24 +43,24 @@ A list of installed packages and details about them.
(use-package eclim) (use-package eclim)
(use-package flycheck) (use-package flycheck)
(use-package google-this) (use-package google-this)
(use-package ledger-mode)
(use-package ivy) (use-package ivy)
(use-package ledger-mode)
(use-package material-theme) (use-package material-theme)
(use-package ox-gfm)
(use-package ox-twbs) (use-package ox-twbs)
(use-package php-mode)
(use-package powerline)
(use-package rainbow-delimiters) (use-package rainbow-delimiters)
(use-package rainbow-mode) (use-package rainbow-mode)
(use-package smart-compile) (use-package smart-compile)
(use-package smartparens) (use-package smartparens)
(use-package swiper) (use-package swiper)
(use-package powerline)
(use-package php-mode)
(use-package visual-regexp) (use-package visual-regexp)
(use-package nasm-mode)
#+END_SRC #+END_SRC
* Appearance * Appearance
Using the [[https://github.com/cpaulik/emacs-material-theme][Material]]-Theme. Using the [[https://github.com/cpaulik/emacs-material-theme][Material]]-Theme.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(load-theme 'material t) (load-theme 'monokai t)
#+END_SRC #+END_SRC
Changes the Emacs background to the terminals defaults. (Generally) Changes the Emacs background to the terminals defaults. (Generally)
@ -91,6 +91,12 @@ Powerline for Emacs
(setq custom-file "~/.emacs.d/config.el") (setq custom-file "~/.emacs.d/config.el")
#+END_SRC #+END_SRC
Delete trailing spaces before saving
#+BEGIN_SRC emacs-lisp
(add-hook 'before-save-hook 'delete-trailing-whitespace)
#+END_SRC
* Functions * Functions
All the functions I use. All the functions I use.
** Cut/Copy and Paste by Boruch Baum ** Cut/Copy and Paste by Boruch Baum