Browse Source

Merge branch 'master' of https://github.com/WolfeCub/dotfiles

pull/2/head
Josh Wolfe 5 years ago
parent
commit
bded825749
  1. 60
      README.org
  2. 7
      emacs/.emacs.d/README.org
  3. 2
      i3/.config/i3/config
  4. 31
      rofi/.config/rofi/config
  5. 4
      zsh/.zshrc

60
README.org

@ -9,8 +9,7 @@ @@ -9,8 +9,7 @@
+ I also have configuration files for a few other window managers I've experimented
with. They probably won't be updated unless I switch off of i3.
+ [[https://github.com/krypt-n/bar][lemonbar]] - status bar (fork that supports more font formats)
+ [[https://github.com/DaveDavenport/rofi][rofi]] - demenu replacement
* [[https://github.com/hammerspoon/hammerspoon][hammerspoon]] - window manager when I happen to be on osx (which is very very rare these days)
+ [[https://github.com/DaveDavenport/rofi][rofi]] - dmenu replacement
** Installing
@ -23,9 +22,9 @@ @@ -23,9 +22,9 @@
#+BEGIN_SRC bash
curl https://raw.githubusercontent.com/WolfeCub/dotfiles/master/install.sh | bash -s -- -g <& 1
#+END_SRC
*** Manual Installation
If you don't want to use the one liner or the install script.
If you don't want to use the one liner or the install script.
You can install each module individually using =stow [name]= as shown below.
This allows you to only use the modules that you want.
@ -37,3 +36,56 @@ @@ -37,3 +36,56 @@
stow emacs
...
#+END_SRC
** i3
#+html: <p align="center"><img src="https://i.imgur.com/6gn3wYs.jpg"/></p>
#+html: <p align="center"><img src="https://i.imgur.com/KLvUZRE.jpg"/></p>
I don't need much out of a window window manager and I want to think about
window management as little a possible while using my computer. I've found
=i3= accomplishes this very well. Most of the time I have one window per
workspace however 2-3 windows is not entirely uncommon.
** Zsh
#+html: <p align="center"><img src="https://i.imgur.com/yW2gOLl.png"/></p>
#+html: <p align="center"><img src="https://i.imgur.com/ypDccfn.jpg"/></p>
My preffered shell is =zsh=. My customization isn't anything insanely intricate
but it's functional and I find it comfy. I =ssh= a fair amount and I find that
having the user and host always visible is very handy. The exit code and time
aren't used as much but they're out of my way on the right side and they're handy
every now and then. Personally I love the syntax highlighting it helps me visually
parse the command much more easily.
*** Other Highlights
- Better completion
- Colorized =man= pages
- =C-z= to foreground a backgrounded process
- Directory aliases
- [[https://github.com/junegunn/fzf][=fzf=]]
** Emacs
#+html: <p align="center"><img src="https://i.imgur.com/W2t0hAZ.jpg"/></p>
For all intents and purposes =emacs= might as well be my operating system.
My emacs configuration is completely literate and can be viewed [[http://wolfecub.github.io/dotfiles/][at it's documentation]]
or [[https://github.com/WolfeCub/dotfiles/tree/master/emacs/.emacs.d][in this repo]]. I use =emacs= for programming, writing, emails, calandar/TODOs,
presentations, IRC and more.
*** Highlights
- GUI and terminal compatibility
- Vim emulation (E.V.I.L.)
- C/C++/C# focus
- General for keymaps and leader emulation
- Hydra for the rest of my shortcut needs
- Project management
- Email (mu4e)
- IRC (ERC)
** Vim
#+html: <p align="center"><img src="https://i.imgur.com/kzrQCwx.jpg"/></p>
As wonderful as =emacs= is my configuration is highly customized and stock
emacs doesn't cut it for me. On remote systems or when quickly editing configs
vim is the way to go. My vim config is pretty minimal but it's very comfortable.

7
emacs/.emacs.d/README.org

@ -596,6 +596,10 @@ Setup some basic quality of life org settings. @@ -596,6 +596,10 @@ Setup some basic quality of life org settings.
org-agenda-skip-scheduled-if-done t
org-ellipsis wolfe/org-ellipsis)
(org-babel-do-load-languages
'org-babel-load-languages
'((shell . t)))
(global-set-key "\C-cl" 'org-store-link)
;; ispell ignores SRC blocks
@ -1273,6 +1277,9 @@ On the fly syntax checking @@ -1273,6 +1277,9 @@ On the fly syntax checking
(add-hook 'window-configuration-change-hook
'(lambda ()
(setq erc-fill-column (- (window-width) 2))))
(add-hook 'erc-mode-hook
'(lambda ()
(setq-local scroll-margin 0)))
(setq erc-rename-buffers t
erc-interpret-mirc-color t

2
i3/.config/i3/config

@ -85,7 +85,7 @@ bindsym $mod+backslash exec emacs @@ -85,7 +85,7 @@ bindsym $mod+backslash exec emacs
bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
bindsym $mod+space exec rofi -show combi
bindsym $mod+space exec rofi -show run
bindsym $mod+c exec google-chrome-stable
bindsym $mod+n exec "~/bin/lock.sh"

31
rofi/.config/rofi/config

@ -0,0 +1,31 @@ @@ -0,0 +1,31 @@
! Location
! 1 2 3
! 8 0 4
! 7 6 5
rofi.location: 1
rofi.xoffset: 0
rofi.yoffset: 0
! "Enabled modi" Set from: Default
rofi.modi: run
! "Window width" Set from: Default
rofi.width: 1920
! "Padding" Set from: Default
rofi.padding: 15
! "Number of lines" Set from: Default
rofi.lines: 1
rofi.line-margin: 10
rofi.line-padding: 2
! "Font to use" Set from: Default
rofi.font: Monaco 18
! Property Name BG Border Separator
rofi.color-window: #282828, #282828, #181818
! Property Name BG FG BG-alt Head-BG Head-FG
rofi.color-normal: #282828, #d8d8d8, #282828, #282828, #7cafc2

4
zsh/.zshrc

@ -155,7 +155,6 @@ qemu () { @@ -155,7 +155,6 @@ qemu () {
##
## P R O M P T
##
PROMPT_STATUS="\`$SMILE\`"
_newline=$'\n'
_lineup=$'\e[1A'
_linedown=$'\e[1B'
@ -183,9 +182,6 @@ setopt promptsubst @@ -183,9 +182,6 @@ setopt promptsubst
# Delay of 0.1 seconds
export KEYTIMEOUT=1
if type fuck >/dev/null; then
eval $(thefuck --alias)
fi
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# FZF custom options

Loading…
Cancel
Save