maim/-scrot, nautilus/-spacefm, -vim-go, rangerbookmarks

clean_emacs
Tuan-Dat Tran 2019-03-27 11:20:04 +01:00
parent ed7df28683
commit 181d3b6475
4 changed files with 13 additions and 6 deletions

View File

@ -137,12 +137,12 @@ bindsym XF86AudioPrevious exec "playerctl previous; cmus-remote -r"
# Application Shortcuts # Application Shortcuts
bindsym $mod+b exec firefox bindsym $mod+b exec firefox
bindsym $mod+e exec i3-sensible-terminal -e ranger bindsym $mod+e exec i3-sensible-terminal -e ranger
bindsym $mod+Shift+e exec spacefm bindsym $mod+Shift+e exec nautilus
bindsym $mod+m exec thunderbird bindsym $mod+m exec thunderbird
bindsym Print exec --no-startup-id scrot bindsym Print exec --no-startup-id maim -f png ~/Pictures/Screenshots/$(date +%G-%m)/$(cat /proc/$(xdotool getwindowpid $(xdotool getwindowfocus))/comm)_$(date +%G-%m-%d_%H-%M-%S).png
bindsym control+Shift+Print --release exec --no-startup-id scrot -f bindsym control+Shift+Print --release exec --no-startup-id maim -u -s -f png ~/Pictures/Screenshots/$(date +%G-%m)/$(cat /proc/$(xdotool getwindowpid $(xdotool getwindowfocus))/comm)_$(date +%G-%m-%d_%H-%M-%S).png
bindsym Shift+Print --release exec --no-startup-id scrot -s bindsym Shift+Print --release exec --no-startup-id maim -u -i $(xdotool getactivewindow) -f png ~/Pictures/Screenshots/$(date +%G-%m)/$(cat /proc/$(xdotool getwindowpid $(xdotool getwindowfocus))/comm)_$(date +%G-%m-%d_%H-%M-%S).png
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
# change focus # change focus

View File

@ -0,0 +1,6 @@
':/home/tuan/.dotfiles/config/.local/share/ranger
u:/home/tuan/Documents/Uni/Studium
p:/home/tuan/Documents/Protokolle/FSE
o:/home/tuan/.dotfiles/config
w:/home/tuan/Documents/Collection/wiki
m:/run/media/tuan

View File

@ -7,7 +7,6 @@ call vundle#begin()
Plugin 'VundleVim/Vundle.vim' Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-pandoc/vim-pandoc' Plugin 'vim-pandoc/vim-pandoc'
Plugin 'vim-pandoc/vim-pandoc-syntax' Plugin 'vim-pandoc/vim-pandoc-syntax'
Plugin 'fatih/vim-go'
Plugin 'vimwiki/vimwiki' Plugin 'vimwiki/vimwiki'
call vundle#end() call vundle#end()
filetype plugin indent on filetype plugin indent on

View File

@ -4,9 +4,11 @@ export PATH="$PATH:$HOME/.go/bin"
export GOPATH="$HOME/.go/" export GOPATH="$HOME/.go/"
# Alias # Alias
alias background='feh --randomize --bg-fill /usr/share/backgrounds/*'
alias gowinbuild='GOOS=windows GOARCH=amd64 go build'
alias pwgen='pwgen -y 20 1'
alias q="exit" alias q="exit"
alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"' alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"'
alias pwgen='pwgen -y 20 1'
alias xsel='xsel -ib' alias xsel='xsel -ib'
# Theme # Theme