dgy
/
hexagons
Archived
1
0
Fork 0

ranger, mpv, y algunos de los cambios de siempre

This commit is contained in:
deadguy 2018-09-27 16:49:33 -03:00
parent fc8154d175
commit 04d6ea5e57
Signed by: dgy
GPG Key ID: 37CA55B52CF63730
14 changed files with 83 additions and 107 deletions

View File

@ -35,8 +35,10 @@
*.color7: #9a9a9a
*.color15: #e6e6e6
URxvt.font: xft:sarasatermj:size=10
!URxvt.font: -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso10646-1
!URxvt.font: xft:sarasatermj:size=10
URxvt.font: xft:monaco:size=8
!URxvt.font: -t-cherry-medium-r-normal--13-120-96-96-c-100-iso8859-1
URxvt.boldFont:
URxvt.perl-ext-common: default,clipboard,url-select
URxvt.urlLauncher: /usr/bin/firefox -new-tab
URxvt.url-select.launcher: /usr/bin/firefox -new-tab

View File

@ -5,5 +5,4 @@ dunst -conf ~/.config/dunst/dunstrc &
sleep 1s
mpd &
unclutter &
xss-lock -n dim-screen.sh -- exeflock4 &
urxvtd -q -o -f

View File

@ -52,7 +52,7 @@ bspc config border_width $b_width
# Flotantes
bspc rule -a REAPER state=floating, layer=below
bspc rule -a Sol state=floating
bspc rule -a Pysol state=floating
bspc rule -a Pavucontrol state=floating
bspc rule -a Catia state=floating
bspc rule -a Cadence state=floating
@ -76,9 +76,9 @@ bspc rule -a Zathura state=tiled
bspc rule -a Oblogout state=fullscreen, layer=above
# Fijos
bspc rule -a Termite -o desktop=primary:^1
bspc rule -a Firefox -o desktop=primary:^2
bspc rule -a URxvt:flota -o desktop=primary:^3
bspc rule -a Termite -o desktop=^1
bspc rule -a Firefox -o desktop=^2
bspc rule -a URxvt:flota -o desktop=^3
bspc config external_rules_command "$HOME/.config/bspwm/external_rules.sh"
2bspwm &

View File

@ -1,8 +1,8 @@
backend = "glx";
#backend = "xrender";
#backend = "glx";
backend = "xrender";
paint-on-overlay = true;
#vsync = "none";
vsync = "opengl-swc";
vsync = "none";
#vsync = "opengl-swc";
glx-no-rebind-pixmap = true;
refresh-rate = 0;
glx-copy-from-front = false;
@ -43,8 +43,8 @@ fade-out-step = 0.3;
blur-background = true;
blur-background-frame = true;
blur-background-fixed = true;
blur-method = "kawase"
#blur-kern = "3x3box";
#blur-method = "kawase"
blur-kern = "3x3box";
opacity-rule = [
"20:class_g = 'Bspwm' && class_i = 'presel_feedback'",

View File

@ -1,12 +0,0 @@
[Filechooser Settings]
StartupMode=cwd
LocationMode=path-bar
ShowHidden=false
ExpandFolders=false
ShowSizeColumn=true
GeometryX=207
GeometryY=73
GeometryWidth=948
GeometryHeight=618
SortColumn=modified
SortOrder=descending

View File

@ -1,5 +1,5 @@
# This file goes in ~/.config/mpv
#ao=pulse
ao=pulse,jack,
#vo=opengl-hq
#proflie=opengl-hq
scale=ewa_lanczossharp
@ -10,13 +10,24 @@ alang=eng,en
slang=eng
autofit-larger=90%x90%
stop-playback-on-init-failure=yes
idle=yes
idle=once
osc=yes
#quit_watch_later
save-position-on-quit
ytdl-format=bestvideo[height<=?1080]+bestaudio/best
screenshot-format=png
screenshot-directory="~/Pictures/"
screenshot-directory="~/Pictures/scrot"
hwdec=vaapi
osd-font="IBM Plex Sans"
osd-font-size="25"
osd-border-size="2"
osd-duration="2500"
osd-margin-x="10"
osd-margin-y="10"
osd-bar-align-x="0"
osd-bar-align-y="0.75"
msg-level=all=fatal,ao=error
term-osd-bar
term-playing-msg='${filename}'
#
# mpv configuration file

View File

@ -50,7 +50,7 @@ Plug 'junegunn/goyo.vim', { 'on': 'Goyo' }
Plug 'chrisbra/vim-diff-enhanced'
" Python
Plug 'numirias/semshi', {'do': ':UpdateRemotePlugins'}
Plug 'hkupty/iron.nvim', { 'do': ':UpdateRemotePlugins' }
"Plug 'hkupty/iron.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'jpalardy/vim-slime'
Plug 'zchee/deoplete-jedi'
Plug 'autozimu/LanguageClient-neovim', {
@ -457,21 +457,17 @@ let g:slime_python_ipython = 1
let g:slime_paste_file = '~/.slime_paste'
let g:slime_default_config = {"socket_name": "default", "target_pane": ":.2"}
let g:slime_dont_ask_default = 1
let g:slime_no_mappings = 1
inoremap <c-+> <Plug>SlimeSendCurrentLine
nnoremap <c-+> <Plug>SlimeParagraphSend
" }}}
" Iron {{{
nnoremap <leader>ir :IronRepl<CR>
let g:iron_repl_open_cmd = '10split'
let g:iron_map_defaults = 0
nmap + <S-v><Plug>(iron-send-motion)
vmap + <Plug>(iron-send-motion)
nmap rr <Plug>(iron-repeat-cmd)
"nnoremap <leader>ir :IronRepl<CR>
"
"let g:iron_repl_open_cmd = '10split'
"let g:iron_map_defaults = 0
"
"nmap + <S-v><Plug>(iron-send-motion)
"vmap + <Plug>(iron-send-motion)
"nmap rr <Plug>(iron-repeat-cmd)
" }}}
" LSP {{{

View File

@ -104,7 +104,7 @@ map : console
map ! console shell%space
map @ console -p6 shell %%s
map # console shell -p%space
map r chain draw_possible_programs; console open_with%%space
map x chain draw_possible_programs; console open_with%%space
map f console find%space
map cd console cd%space
@ -190,6 +190,8 @@ map gr cd ~/.config/ranger
map g? cd /usr/share/doc/ranger
map gl cd -r .
map gL cd -r %f
map gv cd ~/Videos/Learning
map gp cd ~/Pictures
# Tabs
map <C-n> eval fm.tab_new('%d')
@ -448,7 +450,7 @@ tmap <ESC> taskview_close
copytmap <ESC> q Q w <C-c>
# Assorted stuff
map xc shell chmod -x %s
map cx shell chmod -x %s
map V console shell vim%space
map Nf console touch%space
map Nd console mkdir%space

View File

@ -91,29 +91,21 @@ name ^PKGBUILD$ = makepkg --printsrcinfo >.SRCINFO && makepkg -f
# Audio without X
#-------------------------------------------
mime ^audio|ogg$, terminal, has mpv = mpv -- "$@"
mime ^audio|ogg$, terminal, has mplayer2 = mplayer2 -- "$@"
mime ^audio|ogg$, terminal, has mplayer = mplayer -- "$@"
ext midi?, terminal, has wildmidi = wildmidi -- "$@"
#--------------------------------------------
# Video/Audio with a GUI
#-------------------------------------------
mime ^video|audio, has smplayer, X, flag f = smplayer "$@"
mime ^video, has mpv, X, flag f = mpv -- "$@"
mime ^video, has mpv, X, flag f = mpv --fs -- "$@"
mime ^video, has mplayer2, X, flag f = mplayer2 -- "$@"
mime ^video, has mplayer2, X, flag f = mplayer2 -fs -- "$@"
mime ^video, has mplayer, X, flag f = mplayer -- "$@"
mime ^video, has mplayer, X, flag f = mplayer -fs -- "$@"
mime ^video|audio, has vlc, X, flag f = vlc -- "$@"
mime ^text, ext aup, has audacity, X, flag f = audacity -- "$@"
directory, has mpv, flag f = ptv -- "$@"
#--------------------------------------------
# Video without X:
#-------------------------------------------
mime ^video, terminal, !X, has mpv = mpv -- "$@"
mime ^video, terminal, !X, has mplayer2 = mplayer2 -- "$@"
mime ^video, terminal, !X, has mplayer = mplayer -- "$@"
mime ^video, terminal, !X, has mpv = mpv -- "$@"
#-------------------------------------------
# Documents
@ -121,10 +113,9 @@ mime ^video, terminal, !X, has mplayer = mplayer -- "$@"
ext pdf, has zathura, X, flag f = zathura -- "$@"
ext pdf, has mupdf, X, flag f = mupdf "$@"
ext pdf, has mupdf-x11,X, flag f = mupdf-x11 "$@"
ext pdf, has evince, X, flag f = evince -- "$@"
ext epub, has zathura, X, flag f = zathura "$@"
ext docx?, has catdoc, terminal = catdoc -- "$@" | "$PAGER"
ext docx?, has catdoc, terminal = catdoc -- "$@" | "$PAGER"
ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has gnumeric, X, flag f = gnumeric -- "$@"
ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has kspread, X, flag f = kspread -- "$@"
@ -133,10 +124,7 @@ ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has soffice, X, f
ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has ooffice, X, flag f = ooffice "$@"
ext djvu, has zathura,X, flag f = zathura -- "$@"
ext djvu, has evince, X, flag f = evince -- "$@"
ext djvu, has atril, X, flag f = atril -- "$@"
ext epub, has ebook-viewer, X, flag f = ebook-viewer -- "$@"
ext mobi, has ebook-viewer, X, flag f = ebook-viewer -- "$@"
ext cbz, has zathura,X, flag f = zathura -- "$@"
@ -150,11 +138,10 @@ mime ^image/svg, has display, X, flag f = display -- "$@"
ext gif, has sxiv, X, flag f = sxiv-gif -- "$@"
mime ^image, has sxiv, X, flag f = sxiv-rifle -- "$@"
mime ^image, has feh, X, flag f = feh -- "$@"
mime ^image, has gimp, X, flag f = gimp -- "$@"
ext xcf, X, flag f = gimp -- "$@"
ext gif, has mpv, X, flag f = mpv --loop=0 -- "$@"
ext blend, has blender, X, flag f = blender -- "$@"
ext webm, has mpv, X, flag f = mpv --loop=8 -- "$@"
ext blend, has blender, X, flag f = blender -- "$@"
#-------------------------------------------
# Archives
@ -164,13 +151,16 @@ ext to|torrent, flag f, has transmission = transmission "$1"
# avoid password prompt by providing empty password
ext 7z, has 7z = 7z -p l "$@" | "$PAGER"
# This requires atool
ext ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --list --each -- "$@" | "$PAGER"
ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --list --each -- "$@" | "$PAGER"
ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --extract --each -- "$@"
ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --extract --each -- "$@"
ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = atool --list --each -- "$@" | "$PAGER"
ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --list --each -- "$@" | "$PAGER"
# Listing and extracting archives without atool:
ext 7z|rar|zip|tar|tgz|xz, has file-roller, X, flag f = file-roller -- "$@"
ext tar|gz|bz2|xz, has tar = tar vvtf "$1" | "$PAGER"
ext tar|gz|bz2|xz, has tar = for file in "$@"; do tar vvxf "$file"; done
ext bz2, has bzip2 = for file in "$@"; do bzip2 -dk "$file"; done
@ -181,8 +171,6 @@ ext ace, has unace = for file in "$@"; do unace e "$file"; done
ext rar, has unrar = unrar l "$1" | less
ext rar, has unrar = for file in "$@"; do unrar x "$file"; done
ext rar|zip|tar|tgz|xz, has file-roller, X, flag f = file-roller -- "$@"
# Define the editor for non-text files + pager as last action
!mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = ask
label editor, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = $EDITOR -- "$@"

View File

@ -11,8 +11,8 @@ scrollback_lines = 10000
search_wrap = true
#font = Sarasa Term J 10
#font = xos4 terminus 10
font = Monaco Regular 9
#font = Input Mono Narrow 10
#font = t cherry 11
font = Monaco Regular 8
# "system", "on" or "off"
cursor_blink = off

View File

@ -1,28 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-power-manager" version="1.0">
<property name="xfce4-power-manager" type="empty">
<property name="brightness-switch-restore-on-exit" type="int" value="0"/>
<property name="brightness-switch" type="int" value="0"/>
<property name="lid-action-on-ac" type="uint" value="1"/>
<property name="logind-handle-lid-switch" type="bool" value="false"/>
<property name="general-notification" type="bool" value="true"/>
<property name="inactivity-on-ac" type="uint" value="60"/>
<property name="brightness-on-ac" type="uint" value="9"/>
<property name="brightness-level-on-ac" type="uint" value="5"/>
<property name="dpms-on-ac-off" type="uint" value="45"/>
<property name="dpms-on-ac-sleep" type="uint" value="30"/>
<property name="blank-on-ac" type="int" value="20"/>
<property name="power-button-action" type="uint" value="0"/>
<property name="lid-action-on-battery" type="uint" value="1"/>
<property name="inactivity-sleep-mode-on-battery" type="uint" value="2"/>
<property name="inactivity-on-battery" type="uint" value="25"/>
<property name="critical-power-action" type="uint" value="3"/>
<property name="dpms-on-battery-off" type="uint" value="20"/>
<property name="dpms-on-battery-sleep" type="uint" value="15"/>
<property name="brightness-on-battery" type="uint" value="9"/>
<property name="blank-on-battery" type="int" value="10"/>
<property name="brightness-level-on-battery" type="uint" value="5"/>
<property name="inactivity-sleep-mode-on-ac" type="uint" value="1"/>
</property>
</channel>

View File

@ -33,7 +33,8 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
fi
xset dpms 0 2700 3000 &
xset s 1800 1800 &
xset s 900 900 &
xss-lock -n dim-screen.sh -- exeflock4 &
setxkbmap -option caps:escape
dbus-update-activation-environment --systemd DISPLAY

View File

@ -1,5 +1,6 @@
acpi
acpid
adobe-source-code-pro-fonts
android-file-transfer
atool
audacity
@ -10,6 +11,7 @@ b43-fwcutter
bat
bison
bmenu
bpython
bspwm
cadence
ccache
@ -17,12 +19,12 @@ command-not-found
compton
cpupower
crda
cups-pdf
cups-pk-helper
dash
delayed-hibernation
dfc
dhclient
dhcpcd
dhex
dialog
diff-so-fancy
discount
@ -37,6 +39,7 @@ ethtool
exfat-utils
f2fs-tools
fakeroot
fasd
fd
ffmpegthumbnailer
file-roller
@ -48,7 +51,7 @@ gimp-plugin-gmic
gimp-plugin-lqr
gpart
gparted
grub-theme-manjaro
grub
gst-libav
gst-plugins-good
gst-plugins-ugly
@ -57,21 +60,28 @@ gucharmap
gvfs-gphoto2
gvfs-mtp
haveged
hibernator
highlight
htop
hub
hunspell-es_any
hunspell-es_ar
imagemagick
inkscape
intel-ucode
iputils
ipw2100-fw
ipw2200-fw
ipython
irssi
jfsutils
jp2a
jq
lib32-alsa-plugins
lib32-freeglut
lib32-glu
lib32-jack2
lib32-libpulse
libmatroska
licenses
logrotate
lrzip
@ -97,7 +107,6 @@ nano
ncdu
ncmpcpp
neomutt
network-manager-applet
nfs-utils
nilfs-utils
notmuch
@ -118,6 +127,7 @@ perl-text-charwidth
pkgconf
pulseaudio-jack
pygmentize
pysolfc
python-beautifulsoup4
python-isort
python-language-server
@ -133,6 +143,7 @@ python-setproctitle
python-virtualenv
qt5ct
ranger
rawtherapee
realtime-privileges
reiserfsprogs
ripgrep
@ -145,19 +156,20 @@ sc3-plugins
seahorse
shellcheck
smartmontools
sonic-visualiser
source-highlight
spectre-meltdown-checker
sublime-text
surfraw
sxhkd
system-config-printer
systemd-sysvcompat
telegram-desktop
termite
texlive-fontsextra
texlive-formatsextra
texlive-latexextra
texlive-pictures
texlive-science
the_silver_searcher
thermald
tlp-rdw
tlpui
@ -175,6 +187,7 @@ wmctrl
wmutils
wpa_actiond
x86_energy_perf_policy
xcb-util-cursor
xdo
xdotool
xf86-input-evdev
@ -193,6 +206,7 @@ xorg-xprop
xorg-xsetroot
xorg-xwininfo
xss-lock
xssstate
yapf
yay
youtube-dl

View File

@ -2,8 +2,9 @@ adwaita-qt5
bashmount
batify
bfs
canon-pixma-ip7200-printer
cherry-font
colort-git
deflemask
figlet-fonts
gimp-paint-studio
gimp-plugin-akkana-git
@ -30,8 +31,10 @@ proggyfonts
pymdown-extensions
python-lolcat
python-proc
python-proselint
python-vint
realtimeconfigquickscan-git
reaper
reaper-bin
shadowfox-updater
terminus-font-ll2-td1
toilet-fonts