1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 23:12:32 +01:00
This commit is contained in:
eoli3n 2016-12-27 19:40:18 +01:00
parent 942003a3d1
commit 13f1d29d03
7 changed files with 61 additions and 28 deletions

@ -1,5 +1,5 @@
# Shadow # Shadow
shadow = true; shadow = false;
no-dnd-shadow = true; no-dnd-shadow = true;
no-dock-shadow = true; no-dock-shadow = true;
clear-shadow = true; clear-shadow = true;

@ -112,6 +112,12 @@ client.unfocused #333333 #222222 #888888 #292d2e #222222
client.urgent #2f343a #900000 #ffffff #900000 #900000 client.urgent #2f343a #900000 #ffffff #900000 #900000
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
#i3-gaps
for_window [class="^.*"] border pixel 0
gaps inner 3
gaps outer 0
smart_gaps on
############################################################################################################################# #############################################################################################################################
#zmenu #zmenu
@ -137,9 +143,9 @@ for_window [class="feh"] floating enable, border normal
bindsym $mod+Control+Left exec mpc prev bindsym $mod+Control+Left exec mpc prev
bindsym $mod+Control+Down exec mpc toggle bindsym $mod+Control+Down exec mpc toggle
bindsym $mod+Control+Right exec mpc next bindsym $mod+Control+Right exec mpc next
bindsym $mod+Control+Up exec ~/dev/git/lyricsdownloader/graphicalrapgenius.sh bindsym $mod+Control+Up exec "~/dev/git/lyricsdownloader/graphicalrapgenius.sh"
bindsym $mod+Control+Prior exec "cd ~/dev/git/interfaceliftdownloader/ ; ./interfacelift.sh -c ./wallpaper.conf" bindsym $mod+Control+Prior exec "cd ~/dev/git/interfaceliftdownloader/ ; ./interfacelift.sh -c ./wallpaper.conf"
bindsym $mod+Control+Next exec ~/dev/git/interfaceliftdownloader/interfacelift.sh -sc ~/dev/git/interfaceliftdownloader/wallpaper.conf bindsym $mod+Control+Next exec "~/dev/git/interfaceliftdownloader/interfacelift.sh -sc ~/dev/git/interfaceliftdownloader/wallpaper.conf"
#toggle workspace's display screen #toggle workspace's display screen
bindsym $mod+less move workspace to output right bindsym $mod+less move workspace to output right
@ -209,23 +215,23 @@ mode "resize" {
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
# i3bars exec always --no-startup-id $HOME/.config/polybar/launch.sh
bar { #bar {
position top # position top
strip_workspace_numbers yes # strip_workspace_numbers yes
status_command $HOME/.i3/conky-top.sh # status_command $HOME/.i3/conky-top.sh
tray_output none # tray_output none
colors{ # colors{
background #202020 # background #202020
focused_workspace #FFFFFF #A4A4A4 #000000 # focused_workspace #FFFFFF #A4A4A4 #000000
} # }
} #}
#
bar { #bar {
position bottom # position bottom
status_command $HOME/.i3/conky-bottom.sh # status_command $HOME/.i3/conky-bottom.sh
workspace_buttons no # workspace_buttons no
colors{ # colors{
background #202020 # background #202020
} # }
} #}

@ -185,6 +185,9 @@ ${else}
$endif $endif
$endif $endif
#SEPARATOR
{"full_text":" ","color":"\#2aa198","separator":false,"separator_block_width":15},\
#DATE #DATE
#{"full_text":"","color":"\#268bd2","separator":false,"separator_block_width":0},\ #{"full_text":"","color":"\#268bd2","separator":false,"separator_block_width":0},\
#{"full_text":" ${time %d}","color":"\#073642","background":"\#268bd2","separator":false,"separator_block_width":0},\ #{"full_text":" ${time %d}","color":"\#073642","background":"\#268bd2","separator":false,"separator_block_width":0},\

@ -1,3 +1,4 @@
let g:netrw_dirhistmax =10 let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =1 let g:netrw_dirhist_cnt =2
let g:netrw_dirhist_1='/home/user/downloads/ompd/ompd' let g:netrw_dirhist_1='/home/user/downloads/ompd/ompd'
let g:netrw_dirhist_2='/home/user/.config/retroarch'

@ -11,6 +11,9 @@ feh --bg-scale ~/img/wallpaper/current_wp.jpg &
#key mapping #key mapping
xbindkeys & xbindkeys &
#app launcher
albert &
#sound #sound
#cadence & #cadence &
#pavucontrol & #pavucontrol &

27
.zshrc

@ -16,13 +16,11 @@ alias zshconfig="vi ~/.zshrc_node"
alias zshconfig_global="vi ~/.zshrc" alias zshconfig_global="vi ~/.zshrc"
alias vimconfig="vi ~/.vimrc" alias vimconfig="vi ~/.vimrc"
alias sshconfig="vi ~/.ssh/config" alias sshconfig="vi ~/.ssh/config"
alias lh="du -hs * | sort -h" alias lh="du -ahd1 | sort -h"
alias lha="du -hs .* | sort -h"
alias lhs="(lh;lha) | sort -h"
#lhs() { for list in $(ls -a | sed 's/\ /\\ /g'); do du -hs $list; done | sort -hr } #lhs() { for list in $(ls -a | sed 's/\ /\\ /g'); do du -hs $list; done | sort -hr }
alias sprunge="curl -F 'sprunge=<-' http://sprunge.us" alias sprunge="curl -F 'sprunge=<-' http://sprunge.us"
alias ix="curl -s -F 'f:1=<-' ix.io" alias ix="curl -s -F 'f:1=<-' ix.io"
alias upics="curl -F c=@- https://ptpb.pw <" up () { curl -F "c=@${1:--}" http://ptpb.pw/ }
alias vi="vim" alias vi="vim"
alias sudo="sudo " alias sudo="sudo "
alias installed="pacman -Qqen" alias installed="pacman -Qqen"
@ -30,6 +28,27 @@ alias chrome="google-chrome-stable"
alias tmux="tmux -2" alias tmux="tmux -2"
bak() { cp "$1" "$1.bak" } bak() { cp "$1" "$1.bak" }
chromeapp() { google-chrome-stable --app=$1 } chromeapp() { google-chrome-stable --app=$1 }
extract() {
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xvjf $1 ;;
*.tar.gz) tar xvzf $1 ;;
*.tar.xz) tar xJf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xvf $1 ;;
*.tbz2) tar xvjf $1 ;;
*.tgz) tar xvzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1 ;;
*.7z) 7z x $1 ;;
*) echo "Unable to extract '$1'" ;;
esac
else
echo "'$1' is not a valid file"
fi
}
#exports #exports
export EDITOR='vim' export EDITOR='vim'

1
a Normal file

@ -0,0 +1 @@
a