From b5f9119f640afe8090f2c699671118192600b527 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 22 Nov 2020 22:38:20 -0500 Subject: latest changes --- .aliases | 7 ++++++- .bashrc | 3 ++- .config/ranger/bookmarks | 3 ++- .config/ranger/history | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ .config/ranger/rc.conf | 3 ++- .config/ranger/tagged | 1 + .config/sway/config | 4 ++-- .offlineimaprc | 2 +- .vimrc | 24 +++++++++++------------ 9 files changed, 78 insertions(+), 19 deletions(-) create mode 100644 .config/ranger/history 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", @") -nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '', '', 'g')p -nnoremap "*p :let @"=substitute(system("wl-paste --no-newline --primary"), '', '', 'g')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 mzzMzvzz15`z:Pulse +nnoremap mzzMzvzz8`z:Pulse 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 :NV let g:markdown_fold_style = 'nested' nmap i :%s/ //g +nmap # :%s/### /###/g nmap o :Utl openLink underCursor edit imap jj @@ -444,10 +443,11 @@ vmap r :'<,'>:w !espeak &> /dev/null "wayland hack: "xnoremap "+y :!wl-copy " -xnoremap "+y y:call system("wl-copy", @") -nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '', '', 'g')p +"xnoremap "+y y:call system("wl-copy", @") +"nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '', '', 'g')p nnoremap "*p :let @"=substitute(system("wl-paste --no-newline --primary"), '', '', 'g')p -"xnoremap y:!wl-copy "gv -"vnoremap y:!wl-copy "gv +xnoremap y:!wl-copy "gv +vnoremap y:!wl-copy "gv "set tags+=tags;$HOME -" + + -- cgit v1.2.3-70-g09d2