summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-22 22:38:20 -0500
committerluxagraf <sng@luxagraf.net>2020-11-22 22:38:20 -0500
commitb5f9119f640afe8090f2c699671118192600b527 (patch)
tree962b695801ba80490314ee4130a3e40c0ad18eb8
parent57d0188139ee3d71dd816c0fa2d88a91cec55af5 (diff)
latest changes
-rw-r--r--.aliases7
-rw-r--r--.bashrc3
-rw-r--r--.config/ranger/bookmarks3
-rw-r--r--.config/ranger/history50
-rw-r--r--.config/ranger/rc.conf3
-rw-r--r--.config/ranger/tagged1
-rw-r--r--.config/sway/config4
-rw-r--r--.offlineimaprc2
-rw-r--r--.vimrc24
9 files changed, 78 insertions, 19 deletions
diff --git a/.aliases b/.aliases
index b2e9256..4dfec1f 100644
--- a/.aliases
+++ b/.aliases
@@ -5,7 +5,7 @@ alias tmux="tmux -2"
alias v="nvim "
#alias vim="nvim "
alias dmenu="dmenu_run "
-alias thunar="pcmanfm-qt"
+#alias thunar="pcmanfm-qt"
# I like feedback
alias cp='cp -v'
@@ -53,6 +53,7 @@ alias s3pics="s3cmd sync --rr --exclude '*.*' pictures/ s3://lxfpictures"
# rename files etc
alias reraw="~/./bin/rename_raw_files.sh"
+alias regoproraw="~/./bin/rename_gopro_raw.sh"
alias remts="~/./bin/rename_mts_files.sh"
alias remp4="~/./bin/rename_mp4_files.sh"
alias mtsconvert="~/./bin/mts-convert.sh"
@@ -65,6 +66,7 @@ alias servenet="python -c 'import BaseHTTPServer as bhs, SimpleHTTPServer as shs
# download movies
alias yt='youtube-dl $1 --no-check-certificate --format best'
+alias yt-audio='youtube-dl --no-check-certificate --ignore-errors --output "%(title)s.%(ext)s" --extract-audio --audio-format mp3'
alias @less="fc -s | less"
@@ -95,3 +97,6 @@ alias mntHFS="sudo mount -t hfsplus -o force,rw"
# get battery info:
alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT1 | egrep "time to empty|percentage"'
+
+alias gpphoto="~/./bin/download-photos-gopro.py /mnt/card/DCIM/100GOPRO/"
+alias gpvid="~/./bin/download-videos-gopro.py /mnt/card/DCIM/100GOPRO/"
diff --git a/.bashrc b/.bashrc
index 4bc3ca0..710740b 100644
--- a/.bashrc
+++ b/.bashrc
@@ -17,7 +17,8 @@ export PATH=$PATH:$HOME/bin
export PATH=$PATH:$HOME/bin/bash-scripts
export PATH=$PATH:$HOME/.gem/ruby/2.6.0/bin
export QT_QPA_PLATFORM=wayland
-export QT_QPA_PLATFORMTHEME=qt5ct
+export QT_PLATFORM_THEME=qt5ct
+#export QT_QPA_PLATFORMTHEME=qt5ct
#export XDG_SESSION_TYPE=wayland
#export GDK_BACKEND=wayland
diff --git a/.config/ranger/bookmarks b/.config/ranger/bookmarks
index 155c305..9a8fa01 100644
--- a/.config/ranger/bookmarks
+++ b/.config/ranger/bookmarks
@@ -1,4 +1,4 @@
-':/home/lxf/writing/conde/wired
+':/home/lxf/notes/recipes
d:/home/lxf/documents
l:/home/lxf/writing/luxagraf
b:/home/lxf/writing/lbh
@@ -13,3 +13,4 @@ i:/home/lxf
c:/home/lxf/pictures/nextcloud-ccg-phone
t:/home/lxf/temp
p:/home/lxf/temp/wired
+u:/home/lxf/music/library/Neutral Milk Hotel/Kool Haus Toronto 2014
diff --git a/.config/ranger/history b/.config/ranger/history
new file mode 100644
index 0000000..c548711
--- /dev/null
+++ b/.config/ranger/history
@@ -0,0 +1,50 @@
+rename 2020-07-23_232959_lilah-vampire.mp4
+rename 2020-07-23_233014_lilah-vampire.mp4
+rename 2020-08-22_210134_kids-workout.mp4
+rename 2020-08-22_210153_kids-workout.mp4
+rename 2020-08-22_211931_lilah-muscles.mp4
+mkdir video-clips
+rename 2019-04-26_102023_girls-riding-horses.MTS
+rename 2019-04-26_102132_girls-riding-horses.MTS
+rename 2019-04-26_102146_girls-riding-horses.MTS
+mkdir tmp
+rename 2020-09-07_093612_building-ladder.MP4
+rename 2020-06-17_192252_mcphail-aerial.MOV
+rename 2020-06-17_192743_mcphail-aerial.MOV
+rename 2020-06-25_165210_mcphail-aerial.MOV
+rename 2020-06-25_165455_mcphail-aerial.MOV
+rename 2020-06-25_170101_mcphail-areial.MOV
+mkdir 10_bus-restoration-1
+mkdir projects
+rename Grounds and Hounds SOURCE Grounds and Hounds.jpg
+search Lesser
+search cookies
+search frost
+touch sugar cookies rolled.txt
+search sugar
+touch barefoot-shoes.txt
+rename shoes-rave-v1.txt
+touch about-a-watch.txt
+search wma
+search rasp
+search short
+rename jrnlold
+mkdir jrnl
+rename luxagraf.net
+open_with vi
+rename Science of Cooking SOURCE KiwiCo.jpg
+rename Osmo Genius Stater Kit SOURCE Osmo.jpg
+touch bf-amazon.txt
+rename 2020-10-17_132133_around.jpg
+rename 2020-10-17_132133_horses.jpg
+rename 2020-10-18_103206-1_self-portrait.jpg
+open_with 1
+touch let-me-tell-you-about-my-shoes.txt
+touch blackandwhite.txt
+rename bf-laptops.txt
+search laptop
+open_with
+w
+trash
+delete
+search cau
diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf
index 1a30441..c1c5793 100644
--- a/.config/ranger/rc.conf
+++ b/.config/ranger/rc.conf
@@ -25,6 +25,7 @@
# to each other
set viewmode miller
#set viewmode multipane
+map DD shell mv %s /home/${USER}/.local/share/Trash/files/
# How many columns are there, and what are their relative widths?
set column_ratios 1,3,4
@@ -87,7 +88,7 @@ set preview_images true
# * urxvt-full:
# The same as urxvt but utilizing not only the preview pane but the
# whole terminal window.
-set preview_images_method w3m
+set preview_images_method urxvt
# Use a unicode "..." character to mark cut-off filenames?
set unicode_ellipsis false
diff --git a/.config/ranger/tagged b/.config/ranger/tagged
index 9233c4a..1aa7043 100644
--- a/.config/ranger/tagged
+++ b/.config/ranger/tagged
@@ -4,3 +4,4 @@
/home/lxf/writing/opera/opera-for-android-best-features.txt
/home/lxf/writing/conde/wired/docs
r:/home/lxf/sites/corrinne-site/app/clients_
+/home/lxf/temp/Backwoods Home magazine pack - RePack
diff --git a/.config/sway/config b/.config/sway/config
index f1f518d..faea312 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -117,7 +117,7 @@ for_window [title="Oracle VM VirtualBox Manager"] floating enable
for_window [class="^Pcmanfm"] floating enable
for_window [class="^lxf$"] floating enable
for_window [app_id="darktable"] border none
-for_window [class="darktable"] border none
+for_window [class="Darktable"] border none
for_window [app_id="python3"] border none, floating enable
for_window [app_id="org.qutebrowser.qutebrowser"] border none
for_window [app_id="kitty"] border none
@@ -125,7 +125,7 @@ for_window [app_id="qutebrowser"] border none
for_window [class="^URxvt"] border none
for_window [app_id="firefoxdeveloperedition"] border none
for_window [class="firefoxdeveloperedition"] border none
-for_window [class="^Vivaldi"] border none
+for_window [app_id="Vivaldi-snapshot"] border none
for_window [class="^qutebrowser"] border none
for_window [app_id="^Alacritty"] border none
for_window [class="Slack"] border none
diff --git a/.offlineimaprc b/.offlineimaprc
index b5c711c..c4eae21 100644
--- a/.offlineimaprc
+++ b/.offlineimaprc
@@ -63,7 +63,7 @@ remoteport = 993
remoteuser = sng@luxagraf.net
ssl = yes
remotepasseval = get_password("sng@luxagraf.net")
-folderfilter = lambda folder: folder in ['INBOX', 'Sent', 'Trash', 'Bookmarks', 'Archive', 'Drafts']
+folderfilter = lambda folder: folder in ['INBOX', 'Sent', 'Trash', 'Bookmarks', 'Archive', 'Drafts', 'Darktable', 'Junk']
[Repository MigaduLocal]
type = Maildir
diff --git a/.vimrc b/.vimrc
index a4fae72..8f3b5f1 100644
--- a/.vimrc
+++ b/.vimrc
@@ -30,14 +30,11 @@ Bundle 'junegunn/fzf'
Bundle 'junegunn/fzf.vim'
Bundle 'chengzeyi/fzf-preview.vim'
Bundle 'alok/notational-fzf-vim'
-Bundle 'junegunn/limelight.vim'
+Bundle 'junegunn/goyo.vim'
call vundle#end()
filetype plugin indent on
"}}}
"
-xnoremap "+y y:call system("wl-copy", @")<cr>
-nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '<C-v><C-m>', '', 'g')<cr>p
-nnoremap "*p :let @"=substitute(system("wl-paste --no-newline --primary"), '<C-v><C-m>', '', 'g')<cr>p
" Basic stuff {{{
set encoding=utf-8
set scrolloff=3
@@ -351,7 +348,7 @@ nnoremap zO zczO
" This mapping wipes out the z mark, which I never use.
"
" I use :sus for the rare times I want to actually background Vim.
-nnoremap <c-z> mzzMzvzz15<c-e>`z:Pulse<cr>
+nnoremap <c-z> mzzMzvzz8<c-e>`z:Pulse<cr>
function! MyFoldText() " {{{
let line = getline(v:foldstart)
@@ -430,13 +427,15 @@ let g:limelight_conceal_ctermfg = 240
let g:limelight_conceal_guifg = 'DarkGray'
let g:limelight_conceal_guifg = '#777777'
"
-" " Default: 0.5
-let g:limelight_default_coefficient = 0.5
+let g:goyo_width = 105
+let g:goyo_height = '99%'
+let g:goyo_linenr=1
nnoremap <silent> <c-s> :NV<CR>
let g:markdown_fold_style = 'nested'
nmap <leader>i :%s/ //g
+nmap <leader># :%s/### /###/g
nmap <Leader>o :Utl openLink underCursor edit<CR>
imap jj <Esc>
@@ -444,10 +443,11 @@ vmap <silent> <leader>r <esc>:'<,'>:w !espeak &> /dev/null <CR>
"wayland hack:
"xnoremap "+y :!wl-copy <C-r>"<cr><cr>
-xnoremap "+y y:call system("wl-copy", @")<cr>
-nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '<C-v><C-m>', '', 'g')<cr>p
+"xnoremap "+y y:call system("wl-copy", @")<cr>
+"nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '<C-v><C-m>', '', 'g')<cr>p
nnoremap "*p :let @"=substitute(system("wl-paste --no-newline --primary"), '<C-v><C-m>', '', 'g')<cr>p
-"xnoremap <c-c> y:!wl-copy <C-r>"<cr><cr>gv
-"vnoremap <c-c> y:!wl-copy <C-r>"<cr><cr>gv
+xnoremap <c-c> y:!wl-copy <C-r>"<cr><cr>gv
+vnoremap <c-c> y:!wl-copy <C-r>"<cr><cr>gv
"set tags+=tags;$HOME
-"
+
+