Made changes
This commit is contained in:
parent
4789f76cec
commit
38b625763b
@ -1,3 +1,4 @@
|
|||||||
|
bindsym $mod+d exec i3-input -F 'rename workspace to "%s"' -P 'Rename to: '
|
||||||
#exec xrandr --output HDMI3 --left-of HDMI1 &
|
#exec xrandr --output HDMI3 --left-of HDMI1 &
|
||||||
#exec xmodmap ~/.Xmodmap &
|
#exec xmodmap ~/.Xmodmap &
|
||||||
|
|
||||||
@ -11,7 +12,7 @@ exec --no-startup-id xautolock -time 3 -locker 'i3lock -i `shuf -n1 -e ~/.i3/wal
|
|||||||
|
|
||||||
#startup
|
#startup
|
||||||
exec --no-startup-id i3-msg 'workspace 10; exec /home/stonewareslord/xmodmap.sh&/usr/bin/owncloud&/usr/bin/redshift t -l 36.3:-80.3 -t 6500:4000&wicd-gtk&'
|
exec --no-startup-id i3-msg 'workspace 10; exec /home/stonewareslord/xmodmap.sh&/usr/bin/owncloud&/usr/bin/redshift t -l 36.3:-80.3 -t 6500:4000&wicd-gtk&'
|
||||||
exec --no-startup-id i3-msg 'workspace 10; exec /home/stonewareslord/applications/Telegram/Telegram&'
|
#exec --no-startup-id i3-msg 'workspace 10; exec /home/stonewareslord/applications/Telegram/Telegram&'
|
||||||
exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/firefox&'
|
exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/firefox&'
|
||||||
exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/konsole -e wemux&'
|
exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/konsole -e wemux&'
|
||||||
exec --no-startup-id i3-msg 'nitrogen --restore'
|
exec --no-startup-id i3-msg 'nitrogen --restore'
|
||||||
@ -215,4 +216,4 @@ bindsym $mod+m focus mode_toggle
|
|||||||
#bar {
|
#bar {
|
||||||
# #status_command i3status
|
# #status_command i3status
|
||||||
#}
|
#}
|
||||||
exec feh --bg-scale "`shuf -n1 -e ~/ownCloud/wallpaper/{std,mlp}/*`"
|
exec --no-startup-id feh --bg-scale "`shuf -n1 -e ~/.i3/wall/*`"
|
||||||
|
0
i3/sleep.sh
Executable file → Normal file
0
i3/sleep.sh
Executable file → Normal file
0
i3/xsession
Executable file → Normal file
0
i3/xsession
Executable file → Normal file
@ -10,8 +10,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# primary prompt
|
# primary prompt
|
||||||
PROMPT='$FG[237]------------------------------------------------------------%{$reset_color%}
|
PROMPT='$FG[032]%~\
|
||||||
$FG[032]%~\
|
|
||||||
$(git_prompt_info) \
|
$(git_prompt_info) \
|
||||||
$FG[105]%(!.#.»)%{$reset_color%} '
|
$FG[105]%(!.#.»)%{$reset_color%} '
|
||||||
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
|
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
|
||||||
|
94
shells/zshrc
94
shells/zshrc
@ -1,88 +1,34 @@
|
|||||||
# Path to your oh-my-zsh installation.
|
|
||||||
export ZSH=$HOME/.oh-my-zsh
|
export ZSH=$HOME/.oh-my-zsh
|
||||||
|
|
||||||
# Set name of the theme to load.
|
|
||||||
# Look in ~/.oh-my-zsh/themes/
|
|
||||||
# Optionally, if you set this to "random", it'll load a random theme each
|
|
||||||
# time that oh-my-zsh is loaded.
|
|
||||||
ZSH_THEME="af-magic"
|
ZSH_THEME="af-magic"
|
||||||
|
|
||||||
# Uncomment the following line to use case-sensitive completion.
|
|
||||||
# CASE_SENSITIVE="true"
|
|
||||||
|
|
||||||
# Uncomment the following line to disable bi-weekly auto-update checks.
|
|
||||||
# DISABLE_AUTO_UPDATE="true"
|
|
||||||
|
|
||||||
# Uncomment the following line to change how often to auto-update (in days).
|
|
||||||
# export UPDATE_ZSH_DAYS=13
|
|
||||||
# Uncomment the following line to disable colors in ls.
|
|
||||||
# DISABLE_LS_COLORS="true"
|
|
||||||
|
|
||||||
# Uncomment the following line to disable auto-setting terminal title.
|
|
||||||
# DISABLE_AUTO_TITLE="true"
|
|
||||||
|
|
||||||
# Uncomment the following line to enable command auto-correction.
|
# Uncomment the following line to enable command auto-correction.
|
||||||
# ENABLE_CORRECTION="true"
|
# ENABLE_CORRECTION="true"
|
||||||
|
COMPLETION_WAITING_DOTS="true"
|
||||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
|
||||||
# COMPLETION_WAITING_DOTS="true"
|
|
||||||
|
|
||||||
# Uncomment the following line if you want to disable marking untracked files
|
|
||||||
# under VCS as dirty. This makes repository status check for large repositories
|
|
||||||
# much, much faster.
|
|
||||||
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
|
||||||
|
|
||||||
# Uncomment the following line if you want to change the command execution time
|
# Uncomment the following line if you want to change the command execution time
|
||||||
# stamp shown in the history command output.
|
# stamp shown in the history command output.
|
||||||
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||||
HIST_STAMPS="mm/dd/yyyy"
|
HIST_STAMPS="dd/mm/yyyy"
|
||||||
|
setopt APPEND_HISTORY
|
||||||
|
HISTSIZE=12000
|
||||||
|
SAVEHIST=10000000
|
||||||
|
setopt HIST_EXPIRE_DUPS_FIRST
|
||||||
|
setopt EXTENDED_HISTORY
|
||||||
|
|
||||||
|
export PAGER=/usr/local/bin/vimpager
|
||||||
|
alias less=$PAGER
|
||||||
|
alias zless=$PAGER
|
||||||
|
|
||||||
|
|
||||||
# Would you like to use another custom folder than $ZSH/custom?
|
# Would you like to use another custom folder than $ZSH/custom?
|
||||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||||
|
|
||||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
|
||||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
|
||||||
plugins=(git)
|
plugins=(git)
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
source /etc/zsh_command_not_found
|
source /etc/zsh_command_not_found
|
||||||
|
|
||||||
# User configuration
|
|
||||||
|
|
||||||
export PATH="/home/stonewareslord/.autojump/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
|
export PATH="/home/stonewareslord/.autojump/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
|
||||||
# export MANPATH="/usr/local/man:$MANPATH"
|
export EDITOR='vim'
|
||||||
|
|
||||||
# You may need to manually set your language environment
|
|
||||||
# export LANG=en_US.UTF-8
|
|
||||||
|
|
||||||
# Preferred editor for local and remote sessions
|
|
||||||
# if [[ -n $SSH_CONNECTION ]]; then
|
|
||||||
# export EDITOR='vim'
|
|
||||||
# else
|
|
||||||
# export EDITOR='mvim'
|
|
||||||
# fi
|
|
||||||
|
|
||||||
# Compilation flags
|
|
||||||
# export ARCHFLAGS="-arch x86_64"
|
|
||||||
|
|
||||||
# ssh
|
|
||||||
# export SSH_KEY_PATH="~/.ssh/dsa_id"
|
|
||||||
|
|
||||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
|
||||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
|
||||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
|
||||||
# For a full list of active aliases, run `alias`.
|
|
||||||
#
|
|
||||||
# Example aliases
|
|
||||||
# alias zshconfig="mate ~/.zshrc"
|
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
|
||||||
alias ls='ls --color=always -F'
|
alias ls='ls --color=always -F'
|
||||||
alias ehistory='cat ~/.bash_eternal_history|grep $@'
|
alias ehistory='cat ~/.bash_eternal_history|grep $@'
|
||||||
alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep -E "state|to\ full|percentage"'
|
alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep -E "state|to\ full|percentage"'
|
||||||
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
||||||
#alias vim='vim +"au BufWritePost .vimrc so ~/.vimrc" +"au BufWritePost vimrc so ~/.vimrc"'
|
|
||||||
alias disphost='export DISPLAY=:0.0'
|
alias disphost='export DISPLAY=:0.0'
|
||||||
alias ll='ls -alF'
|
alias ll='ls -alF'
|
||||||
alias la='ls -A'
|
alias la='ls -A'
|
||||||
@ -90,7 +36,7 @@ alias l='ls -CF'
|
|||||||
alias logout='sudo pkill -u $USER'
|
alias logout='sudo pkill -u $USER'
|
||||||
alias fixsh='ssh-keygen -R'
|
alias fixsh='ssh-keygen -R'
|
||||||
alias tmux='tmux -2'
|
alias tmux='tmux -2'
|
||||||
alias less='less -r'
|
#alias less='less -r'
|
||||||
alias tree='tree -C'
|
alias tree='tree -C'
|
||||||
alias grep="grep --color=auto"
|
alias grep="grep --color=auto"
|
||||||
alias skim="(head -5; tail -5) <"
|
alias skim="(head -5; tail -5) <"
|
||||||
@ -124,11 +70,21 @@ alias ...............='k ../../../../../../../../../../../../../..'
|
|||||||
alias ytdl="youtube-dl $@ -x --audio-format mp3 --audio-quality 0 -c -o '%(title)s.%(ext)s'"
|
alias ytdl="youtube-dl $@ -x --audio-format mp3 --audio-quality 0 -c -o '%(title)s.%(ext)s'"
|
||||||
alias tux="wemux"
|
alias tux="wemux"
|
||||||
alias rmgit="git remote rm origin;git remote rm https;git remote rm oOrigin;git remote rm oHttps"
|
alias rmgit="git remote rm origin;git remote rm https;git remote rm oOrigin;git remote rm oHttps"
|
||||||
alias rname="while true;do echo -n \"Rename: \";read a;echo -n \"To: \";read b;i3-msg \"rename workspace $a to $b\";done"
|
alias rname="while true;do echo -n \"Rename: \";read A;echo -n \"To: \";read B;i3-msg 'rename workspace $A to $B';done"
|
||||||
alias g="git $@"
|
alias g="git $@"
|
||||||
|
alias echip="curl ifconfig.me"
|
||||||
|
alias vpn="cd ~/.openvpn;sudo openvpn config.ovpn;cd -"
|
||||||
alias -s html="firefox"
|
alias -s html="firefox"
|
||||||
alias -s log="less -MN"
|
alias -s log="less -MN"
|
||||||
alias -g nify=" > /dev/null 2>&1 &"
|
alias -g nify=" > /dev/null 2>&1 &"
|
||||||
|
function dnstest(){
|
||||||
|
echo "Testing ping:"
|
||||||
|
ping -c 3 8.8.8.8
|
||||||
|
echo "Testing IP curl:"
|
||||||
|
curl -k https://98.26.78.121/b/
|
||||||
|
echo "Testing DNS"
|
||||||
|
curl -k https://austenwares.com/b/
|
||||||
|
}
|
||||||
function cinitify(){
|
function cinitify(){
|
||||||
mkdir $2
|
mkdir $2
|
||||||
cd $2
|
cd $2
|
||||||
|
Loading…
Reference in New Issue
Block a user