Bunch of improvements

This commit is contained in:
Austen Adler 2017-10-10 17:24:36 -04:00
parent 91e5f222c2
commit 0c3d34486b
7 changed files with 21 additions and 15 deletions

View File

@ -49,8 +49,6 @@
[color] [color]
ui = auto ui = auto
[gui] [gui]
recentrepo = /home/stonewareslord/git/sync
recentrepo = /home/stonewareslord/git/school/service-garage
[filter "lfs"] [filter "lfs"]
required = true required = true
clean = git-lfs clean -- %f clean = git-lfs clean -- %f

View File

@ -77,7 +77,8 @@ bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split bindsym $mod+e layout toggle split
bindsym $mod+shift+space floating toggle bindsym $mod+shift+space floating toggle
bindsym $mod+space focus mode_toggle #bindsym $mod+space focus mode_toggle
bindsym $mod+space exec "~/.i3/run.sh window"
bindsym $mod+1 $x_switch 1 bindsym $mod+1 $x_switch 1
bindsym $mod+2 $x_switch 2 bindsym $mod+2 $x_switch 2
bindsym $mod+3 $x_switch 3 bindsym $mod+3 $x_switch 3

View File

@ -1,4 +1,4 @@
#!/bin/zsh #!/usr/bin/env zsh
if [ "$1" = "lock" ];then if [ "$1" = "lock" ];then
#!/bin/bash #!/bin/bash
@ -24,7 +24,7 @@ if [ "$1" = "wall" ];then
#if [[ -d ~/.i3/wallOM ]];then feh --bg-scale "`shuf -n1 -e ~/.i3/wallOM/*`";else feh --bg-scale "`shuf -n1 -e ~/.i3/wall/*`";fi; #if [[ -d ~/.i3/wallOM ]];then feh --bg-scale "`shuf -n1 -e ~/.i3/wallOM/*`";else feh --bg-scale "`shuf -n1 -e ~/.i3/wall/*`";fi;
#feh --bg-scale "$(shuf -n1 -e ~/.i3/wallOM/*)" #feh --bg-scale "$(shuf -n1 -e ~/.i3/wallOM/*)"
#feh --bg-scale ~/.i3/image.png #feh --bg-scale ~/.i3/image.png
feh --bg-scale $(shuf -n1 <(realpath /home/stonewareslord/sync/wallpaper/$(hostname))) feh --bg-scale "$(shuf -n1 <(realpath /home/stonewareslord/sync/wallpaper/"$(hostname)"/*))"
fi fi
if [ "$1" = "swap" ];then if [ "$1" = "swap" ];then
python << EOF python << EOF
@ -109,9 +109,12 @@ if [ "$1" = "copy" ]; then
(printf '-chegg ';xsel | perl -pe 's/[^a-zA-Z ]//g;chomp()') | xsel && notify-send "Copied" || notify-send "Error" (printf '-chegg ';xsel | perl -pe 's/[^a-zA-Z ]//g;chomp()') | xsel && notify-send "Copied" || notify-send "Error"
fi fi
if [ "$1" = "screenshot" ]; then if [ "$1" = "screenshot" ]; then
rm ~/last-photo/*(N) \rm -f ~/last-photo/*(N)
DISPLAY=:0.0 xfce4-screenshooter -r -s ~/last-photo #DISPLAY=:0.0 xfce4-screenshooter -r -s ~/last-photo
cp ~/last-photo/* ~/Pictures #DISPLAY=:0.0 import "$HOME/last-photo/$(date +'%Y-%m-%d_%T').png"
sleep .25
DISPLAY=:0.0 scrot -s "$HOME/last-photo/$(date +'%Y-%m-%d_%T').png"
\cp ~/last-photo/* ~/Pictures
fi fi
if [ "$1" = "shutdownprompt" ]; then if [ "$1" = "shutdownprompt" ]; then
RESP=$(printf 'Sleep\nNMRestart\nShutdown\nRestart\nLogout\n' | rofi -i -dmenu 2>/dev/null) RESP=$(printf 'Sleep\nNMRestart\nShutdown\nRestart\nLogout\n' | rofi -i -dmenu 2>/dev/null)
@ -139,5 +142,8 @@ if [ "$1" = "shutdownprompt" ]; then
fi fi
fi fi
if [ "$1" = "run" ]; then if [ "$1" = "run" ]; then
PATH="$HOME/bin:$PATH" rofi -show run PATH="$HOME/bin:/usr/games/bin:$PATH" rofi -show run
fi
if [ "$1" = "window" ]; then
rofi -show window
fi fi

View File

@ -93,8 +93,9 @@ rofi.padding: 0
! -bg #121212 -fg #8f8f8f -hlbg #5a5a5a -hlfg #000000 ! -bg #121212 -fg #8f8f8f -hlbg #5a5a5a -hlfg #000000
rofi.color-window: #000000, #ffffff, #000000 rofi.color-window: #000000, #ffffff, #000000
rofi.color-normal: #000000, #ffffff, #000000, #2e2e2e, #ffffff rofi.color-normal: #000000, #ffffff, #000000, #2e2e2e, #ffffff
rofi.color-active: #000000, #ffffff, #000000, #268bd2, #ffffff rofi.color-active: #000000, #ffffff, #000000, #2e2e2e, #ffffff
rofi.color-urgent: #ffffff, #ff0400, #ffffff, #ff0000, #ffffff rofi.color-urgent: #ffffff, #ff0400, #ffffff, #ff0000, #ffffff
rofi.hide-scrollbar: true
!rofi.bg: #121212 !rofi.bg: #121212
!rofi.fg: #8f8f8f !rofi.fg: #8f8f8f
!rofi.hlbg: #5a5a5a !rofi.hlbg: #5a5a5a

View File

@ -319,9 +319,9 @@ if ex sudo; then
fi fi
alias -g PA='2>&1 | paste' alias -g PA='2>&1 | paste'
if ex rsync; then if ex rsync; then
alias -g c='rsync --partial -ha --info=progress2 "$@"' alias -g c='rsync --no-inc-recursive --partial -ha --info=progress2 "$@"'
alias -g cfat='rsync --partial -hrlc --info=progress2 "$@"' alias -g cfat='rsync --no-inc-recursive --partial -hrlc --info=progress2 "$@"'
alias cp='rsync --partial -ha --info=progress2 "$@"' alias cp='rsync --no-inc-recursive --partial -ha --info=progress2 "$@"'
fi fi
alias -g nify=" > /dev/null 2>&1 &" alias -g nify=" > /dev/null 2>&1 &"
alias -g nifyd=" > /dev/null 2>&1 & disown" alias -g nifyd=" > /dev/null 2>&1 & disown"

View File

@ -275,7 +275,7 @@ endif
"Exchange two selections of text | https://github.com/tommcdo/vim-exchange "Exchange two selections of text | https://github.com/tommcdo/vim-exchange
Plug 'https://austenwares.com/gitea/vim/vim-repeat' Plug 'https://austenwares.com/gitea/vim/vim-repeat'
"Repeat last tpope command with . | https://github.com/tpope/vim-repeat "Repeat last tpope command with . | https://github.com/tpope/vim-repeat
"Plug 'https://austenwares.com/gitea/vim/vim-fugitive', { 'on': ['Gstatus','Gcommit', 'Gwrite', 'Git'] } Plug 'https://austenwares.com/gitea/vim/vim-fugitive'
"Great Vim-Git compatibility | https://github.com/tpope/vim-fugitive "Great Vim-Git compatibility | https://github.com/tpope/vim-fugitive
Plug 'https://austenwares.com/gitea/vim/ctrlp.vim' Plug 'https://austenwares.com/gitea/vim/ctrlp.vim'
"Fuzzy file search | https://github.com/kien/ctrlp.vim "Fuzzy file search | https://github.com/kien/ctrlp.vim

View File

@ -31,7 +31,7 @@ vnoremap H ^
noremap Y :js util.copyToClipboard(content.document.title, true)<CR> noremap Y :js util.copyToClipboard(content.document.title, true)<CR>
"set animations=true "set animations=true
silent! colorscheme vimPgray silent! colorscheme vimPgray
set defsearch=encryptedgoogle set defsearch=startpage
style -name ublick * #nav-bar * { visibility: visible; } style -name ublick * #nav-bar * { visibility: visible; }
set titlestring=Firefox set titlestring=Firefox
set toolbars=noaddons,nobookmarks,nomenu,tabs,nonavigation set toolbars=noaddons,nobookmarks,nomenu,tabs,nonavigation