Stuff
This commit is contained in:
parent
52ef92f5d3
commit
6944bc9884
29
bashrc
29
bashrc
|
@ -20,7 +20,7 @@ trap 'echo -ne "\e[0m"' DEBUG
|
|||
export EDITOR=vim
|
||||
export BROWSER=/usr/bin/xdg-open
|
||||
|
||||
export PATH="$PATH:$HOME/.local/bin:$HOME/.cabal/bin"
|
||||
export PATH="$PATH:$HOME/.local/bin:$HOME/.cabal/bin:$HOME/.gem/ruby/2.2.0/bin/"
|
||||
export LANG=fr_FR.utf8
|
||||
export HISTSIZE=10000
|
||||
export HISTFILESIZE=${HISTSIZE}
|
||||
|
@ -57,6 +57,32 @@ alias cp="cp -i" # confirm before overwriting something
|
|||
alias df='df -h' # human-readable sizes
|
||||
alias free='free -m' # show sizes in MB
|
||||
|
||||
# Solarized theme for tty, the dark version.
|
||||
# Based on:
|
||||
# - Solarized (http://ethanschoonover.com/solarized)
|
||||
# - Xresources from http://github.com/altercation/solarized
|
||||
# Generated with pty2tty.awk by Joep van Delft
|
||||
# http://github.com/joepvd/tty-solarized
|
||||
if [ "$TERM" = "linux" ]; then
|
||||
echo -en "\e]PB657b83" # S_base00
|
||||
echo -en "\e]PA586e75" # S_base01
|
||||
echo -en "\e]P0073642" # S_base02
|
||||
echo -en "\e]P62aa198" # S_cyan
|
||||
echo -en "\e]P8002b36" # S_base03
|
||||
echo -en "\e]P2859900" # S_green
|
||||
echo -en "\e]P5d33682" # S_magenta
|
||||
echo -en "\e]P1dc322f" # S_red
|
||||
echo -en "\e]PC839496" # S_base0
|
||||
echo -en "\e]PE93a1a1" # S_base1
|
||||
echo -en "\e]P9cb4b16" # S_orange
|
||||
echo -en "\e]P7eee8d5" # S_base2
|
||||
echo -en "\e]P4268bd2" # S_blue
|
||||
echo -en "\e]P3b58900" # S_yellow
|
||||
echo -en "\e]PFfdf6e3" # S_base3
|
||||
echo -en "\e]PD6c71c4" # S_violet
|
||||
clear # against bg artifacts
|
||||
fi
|
||||
|
||||
# Utils
|
||||
alias fuck='eval $(thefuck $(fc -ln -1))'
|
||||
alias FUCK='fuck'
|
||||
|
@ -80,3 +106,4 @@ function dafont {
|
|||
rm -rf /tmp/dafont.zip
|
||||
}
|
||||
|
||||
alias nw="sudo systemctl restart NetworkManager"
|
||||
|
|
|
@ -30,10 +30,9 @@ font pango:Sans 8
|
|||
floating_modifier $mod
|
||||
|
||||
# start a terminal
|
||||
set $TERMINAL uxterm
|
||||
# set TERMINAL=i3-sensible-terminal
|
||||
bindsym $mod+Return exec $TERMINAL
|
||||
bindsym $mod+p exec nemo --no-desktop ~
|
||||
bindsym $mod+Return exec exo-open --launch TerminalEmulator
|
||||
bindsym $mod+p exec exo-open --launch FileManager
|
||||
bindsym $mod+m exec exo-open --launch WebBrowser
|
||||
|
||||
# kill focused window
|
||||
|
@ -234,7 +233,7 @@ mode "$mode_screen_select" {
|
|||
}
|
||||
bindsym $mod+t mode "$mode_screen_select"
|
||||
|
||||
set $mode_screen_VGA1 [R] Right [L] Left [U] Up [D] Down [C] Copy [O] Off
|
||||
set $mode_screen_VGA1 VGA [R] Right [L] Left [U] Up [D] Down [C] Copy [O] Off
|
||||
mode "$mode_screen_VGA1" {
|
||||
bindsym r exec xrandr --output VGA1 --auto --right-of LVDS1
|
||||
bindsym l exec xrandr --output VGA1 --auto --left-of LVDS1
|
||||
|
@ -254,7 +253,7 @@ bindsym $mod+Ctrl+Shift+l move workspace to output left
|
|||
bindsym $mod+Ctrl+Shift+u move workspace to output above
|
||||
bindsym $mod+Ctrl+Shift+d move workspace to output below
|
||||
|
||||
set $mode_screen_HDMI1 [R] Right [L] Left [U] Up [D] Down [C] Copy [O] Off
|
||||
set $mode_screen_HDMI1 HDMI [R] Right [L] Left [U] Up [D] Down [C] Copy [O] Off
|
||||
mode "$mode_screen_HDMI1" {
|
||||
bindsym r exec xrandr --output HDMI1 --auto --right-of LVDS1
|
||||
bindsym l exec xrandr --output HDMI1 --auto --left-of LVDS1
|
||||
|
|
2
vimrc
2
vimrc
|
@ -21,7 +21,7 @@ Plugin 'tpope/vim-surround'
|
|||
Plugin 'tpope/vim-fugitive'
|
||||
Plugin 'tpope/vim-repeat'
|
||||
Plugin 'scrooloose/syntastic'
|
||||
Plugin 'terryma/vim-multiple-cursors'
|
||||
"Plugin 'terryma/vim-multiple-cursors'
|
||||
Plugin 'bling/vim-airline'
|
||||
Plugin 'airblade/vim-gitgutter'
|
||||
Plugin 'kien/ctrlp.vim'
|
||||
|
|
Loading…
Reference in a new issue