Added status indicators for common commands
This commit is contained in:
parent
e201e46dd1
commit
ac3f227ecf
@ -2,4 +2,5 @@ clear Lock
|
||||
keysym Caps_Lock = Escape
|
||||
keysym Escape = Caps_Lock
|
||||
add Lock = Caps_Lock
|
||||
keycode 248 =
|
||||
pointer = 3 2 1
|
||||
|
26
i3/config
26
i3/config
@ -1,4 +1,5 @@
|
||||
set $mod Mod4
|
||||
exec --no-startup-id "zsh -c 'xrandr --output LVDS1 --primary || xrandr --output HDMI3 --primary'"
|
||||
bindsym $mod+d exec i3-input -F 'rename workspace to "%s"' -P 'Rename to: '
|
||||
#exec xrandr --output HDMI3 --left-of HDMI1 &
|
||||
#exec xmodmap ~/.Xmodmap &
|
||||
@ -9,7 +10,8 @@ bindsym Print exec "shutter -r"
|
||||
#bindsym XF86AudioMute exec amixer -q set Master toggle
|
||||
|
||||
#screensaver
|
||||
exec --no-startup-id xautolock -time 3 -locker 'i3lock -di `shuf -n1 -e ~/.i3/wall/*`' &
|
||||
bindsym $mod+shift+backslash exec "cat /tmp/noss&&(rm /tmp/noss;notify-send 'Screensaver Enabled' -t 200)||(touch /tmp/noss;notify-send 'Screensaver Disabled' -t 200)"
|
||||
exec --no-startup-id xautolock -time 3 -locker 'zsh -c "cat /tmp/noss||i3lock -di `shuf -n1 -e ~/.i3/wall/*`"'
|
||||
|
||||
set $bg #121212
|
||||
set $fg #9f9f9f
|
||||
@ -57,22 +59,22 @@ bindsym $mod+Shift+v split v
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
bindsym $mod+h resize shrink width 10 px or 10 ppt
|
||||
bindsym $mod+j resize grow height 10 px or 10 ppt
|
||||
bindsym $mod+k resize shrink height 10 px or 10 ppt
|
||||
bindsym $mod+l resize grow width 10 px or 10 ppt
|
||||
bindsym $mod+h resize shrink width 1 px or 1 ppt
|
||||
bindsym $mod+j resize grow height 1 px or 1 ppt
|
||||
bindsym $mod+k resize shrink height 1 px or 1 ppt
|
||||
bindsym $mod+l resize grow width 1 px or 1 ppt
|
||||
# same bindings, but for the arrow keys
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
bindsym Left resize shrink width 15 px or 15 ppt
|
||||
bindsym Down resize grow height 15 px or 15 ppt
|
||||
bindsym Up resize shrink height 15 px or 15 ppt
|
||||
bindsym Right resize grow width 15 px or 15 ppt
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
#font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
||||
floating_modifier $mod
|
||||
bindsym $mod+Return exec xterm
|
||||
bindsym $mod+Return exec xterm
|
||||
bindsym $mod+Shift+c kill
|
||||
bindsym $mod+c move absolute position center
|
||||
bindsym XF86TouchpadToggle exec "synclient TouchpadOff=$(synclient -l | grep -c 'TouchpadOff.*=.*0')"
|
||||
@ -159,8 +161,8 @@ exec --no-startup-id "~/.i3/wall.sh"
|
||||
exec --no-startup-id xmodmap ~/.xmodmap
|
||||
exec --no-startup-id /home/stonewareslord/xmodmap.sh
|
||||
exec --no-startup-id i3-msg /usr/bin/redshift t -l 36.3:-80.3 -t 6500:4000
|
||||
exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/firefox &'
|
||||
exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/xterm &'
|
||||
# exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/firefox'
|
||||
exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/xterm'
|
||||
exec --no-startup-id /usr/bin/shutter --min_at_startup
|
||||
exec --no-startup-id /usr/bin/screen -dmS syncthing /home/stonewareslord/Applications/syncthing/syncthing
|
||||
exec --no-startup-id /usr/bin/owncloud
|
||||
|
@ -1,5 +1,5 @@
|
||||
exec xrandr --output HDMI1 --mode 1920x1080 --primary --output HDMI3 --mode 1920x1080 --left-of HDMI1
|
||||
xrandr --output LVDS1 --primary
|
||||
exec i3
|
||||
exec xrandr --output HDMI1 --mode 1920x1080 --primary --output HDMI3 --mode 1920x1080 --left-of HDMI1
|
||||
exec xrandr --output LVDS1 --primary
|
||||
exec numlockx
|
||||
exec syndaemon -i .5 -d
|
||||
|
@ -75,4 +75,3 @@ mplayer
|
||||
minimodem
|
||||
hfsutils
|
||||
hfsprogs
|
||||
gcp
|
||||
|
@ -1,15 +1,14 @@
|
||||
xterm*faceSize: 9
|
||||
xterm*utf8: 1
|
||||
xterm*vt100*geometry: 80x60
|
||||
xterm*saveLines: 16384
|
||||
xterm*loginShell: true
|
||||
xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48
|
||||
xterm*termName: xterm-256color
|
||||
xterm*eightBitInput: false
|
||||
xterm*selectToClipboard: true
|
||||
*VT100*Translations: #override Shift <Btn1Up>: exec-formatted("firefox '%t'", PRIMARY)
|
||||
|
||||
*VT100*Translations: #override \
|
||||
XTerm*faceSize: 9
|
||||
XTerm*utf8: 1
|
||||
XTerm*vt100*geometry: 80x60
|
||||
XTerm*saveLines: 16384
|
||||
XTerm*loginShell: true
|
||||
XTerm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48
|
||||
XTerm*termName: xterm-256color
|
||||
XTerm*eightBitInput: false
|
||||
XTerm*selectToClipboard: true
|
||||
XTerm*vt100*internalBorder: 0
|
||||
*VT100*Translations: #override \
|
||||
<Key>Home: string(0x01)\n\
|
||||
<Key>End: string(0x05)\n
|
||||
|
||||
|
22
shells/zshrc
22
shells/zshrc
@ -12,9 +12,8 @@ HISTSIZE=12000
|
||||
SAVEHIST=10000000
|
||||
setopt HIST_EXPIRE_DUPS_FIRST
|
||||
setopt EXTENDED_HISTORY
|
||||
export PAGER=/usr/bin/w3m
|
||||
# export PAGER=/usr/bin/w3m
|
||||
alias less=$PAGER
|
||||
alias zless=$PAGER
|
||||
source "$HOME/.antigen/antigen.zsh"
|
||||
antigen bundle stonewareslord/oh-my-git
|
||||
#antigen bundle arialdomartini/oh-my-git
|
||||
@ -36,6 +35,7 @@ export EDITOR='vim'
|
||||
if [ "$(uname)" != "Darwin" ]; then
|
||||
alias ls='ls --color=always -F'
|
||||
fi
|
||||
alias steam='sudo kill -9 `pidof steam`;sudo unshare -n -- sh -c "ifconfig lo up;sudo -u stonewareslord i3-msg \"workspace3;exec steam\"" > /dev/null 2>&1 & disown'
|
||||
alias matlab='matlab -glnx86'
|
||||
alias srm='srm -dv'
|
||||
alias pass='DISPLAY= pass'
|
||||
@ -53,21 +53,21 @@ alias tmux='tmux -2'
|
||||
alias tree='tree -C'
|
||||
#alias grep="egrep -i --color=auto"
|
||||
alias skim="(head -5; tail -5) <"
|
||||
alias cp="gcp -r"
|
||||
alias cp="rsync -ha --info=progress2"
|
||||
alias mv="mv -v"
|
||||
alias m="mv -v"
|
||||
alias c="gcp -r"
|
||||
alias m="mv"
|
||||
alias c="cp"
|
||||
alias la='ls -lah $LS_COLOR'
|
||||
alias dt='date "+%F %T"'
|
||||
alias awake='disphost; while true; do xdotool mousemove 0 0; sleep 60; done'
|
||||
alias adk='/home/stonewareslord/Applications/adk/bin/studio.sh & disown'
|
||||
alias resource='. ~/.zshrc'
|
||||
alias install='sudo apt-get install'
|
||||
alias install='sudo apt-get --show-progress install'
|
||||
alias search='apt-cache search'
|
||||
alias remove='sudo apt-get remove'
|
||||
alias remove='sudo apt-get --show-progress remove'
|
||||
alias update='sudo apt-get update'
|
||||
alias upgrade='sudo apt-get upgrade'
|
||||
alias autoremove='sudo apt-get autoremove'
|
||||
alias upgrade='sudo apt-get --show-progress upgrade'
|
||||
alias autoremove='sudo apt-get --show-progress autoremove'
|
||||
alias ..='k ..'
|
||||
alias ...='k ../..'
|
||||
alias ....='k ../../..'
|
||||
@ -107,6 +107,10 @@ alias -g nifyd=" > /dev/null 2>&1 & disown"
|
||||
alias -g G='|& egrep -i'
|
||||
alias -g AW='austenwares.com'
|
||||
export FZF_COMPLETION_OPTS='--no-mouse -m -1 -x'
|
||||
function offline(){
|
||||
echo unshare -n -- sh -c "sudo -u stonewareslord zsh -c '$@'"
|
||||
sudo unshare -n -- sh -c "sudo -u stonewareslord zsh -c '$@'"
|
||||
}
|
||||
function smon(){
|
||||
timeout 1s pdsh -R ssh -w 10.0.1.196,10.0.1.207 "$@"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user