From 3495c1f901d596235f0b77a237f59960ad38f59c Mon Sep 17 00:00:00 2001 From: rob Date: Tue, 13 Feb 2024 10:56:48 -0400 Subject: [PATCH] configuraciones --- Xresources | 126 +++++++++++++++++++++++++++++++++++++++++++++++++++++ asoundrc | 8 ++++ asoundrcb | 24 ++++++++++ exrc | 7 +++ tmux.conf | 7 +++ vimrc | 46 +++++++++++++++++++ xinitrc | 4 ++ 7 files changed, 222 insertions(+) create mode 100644 Xresources create mode 100644 asoundrc create mode 100644 asoundrcb create mode 100644 exrc create mode 100644 tmux.conf create mode 100644 vimrc create mode 100644 xinitrc diff --git a/Xresources b/Xresources new file mode 100644 index 0000000..0933eaf --- /dev/null +++ b/Xresources @@ -0,0 +1,126 @@ +!--Configuración general +URxvt*imLocale: es_VE.UTF-8 +URxvt*termName: rxvt-unicode-256color +URxvt.intensityStyles: false + +!--Resolución +Xft.dpi: 96 +Xft.antialias: true +Xft.hinting: true +Xft.rgba: rgb +Xft.autohint: true +Xft.hintstyle: hintfull +Xft.lcdfilter: lcdfilter + +!--Title +!URxvt.title: void linux +URxvt.internalBorder: 26 +URxvt*geometry: 80x54 + +!--Fonts +URxvt.font: xft:IBM Plex Mono:style=Bold:size=12 +URxvt.boldFont: xft:IBM Plex Mono:style=Bold:size=11 +URxvt.italicFont: xft:IBM Plex Mono:style=Italic:size=11 +URxvt.boldItalicFont: xft:IBM Plex Mono:style=Bold-Italic:size=11 +URxvt.letterSpace: -1 + +!--Scroll +URxvt.saveline: 2000 +URxvt.scrollBar: false +URxvt.scrollBar_right: false +URxvt.scrollBar_floating: false +URxvt.scrollstyle: rxvt +URxvt.scrollColor: #333333 + +!-- Atajos para Navegación dentro del terminal +URxvt.keysym.Shift-Up: command:\033]720;1\007 +URxvt.keysym.Shift-Down: command:\033]721;1\007 + +!--Extensiones +URxvt.perl-ext-common: default,matcher,selection-to-clipboard,pasta,resize-font,ibeamcursor + +!--Matcher +URxvt.keysym.M-u: perl:url-select:select_next +URxvt.url-launcher: luakit +URxvt.url-select.underline: true +URxvt.matcher.button: 1 +URxvt.keysym.M-q:perl: matcher:select + +!--Uso de teclado +URxvt.keysym.M-Escape:perl:keyboard-select:activate + +!--Copiado y pegado +URxvt.keysym.Control-Shift-V: perl:pasta:paste +URxvt.clipboard.autocopy: true + +!--Redimensionar el tamaño de fuente +URxvt.keysym.C-minus: resize-font:smaller +URxvt.keysym.C-plus: resize-font:bigger +URxvt.keysym.C-equal: resize-font:reset +URxvt.keysym.C-question: resize-font:show + +! Tabbedalt / configuración +!URxvt.tabbedalt.new-button: false +!URxvt.tabbedalt.tab-numbers: false +!URxvt.tabbedalt.autohide: true +!URxvt.keysym.Control-s: tabbedalt:new_tab:shell +!URxvt.Keysym.Control-f: tabbedalt:new_tab:» nnn:nnn -C +!URxvt.keysym.Control-e: tabbedalt:new_tab:» vis:vis +!URxvt.keysym.Control-a: tabbedalt:new_tab:» audio:alsamixer +!URxvt.keysym.Control-t: tabbedalt:new_tab:top:top +!URxvt.keysym.Control-h: tabbedalt:new_tab:» irssi:irssi +!URxvt.keysym.Control-r: tabbedalt:rename_tab +!URxvt.keysym.Control-1: tabbedalt:jump_to_tab:1 +!URxvt.keysym.Control-2: tabbedalt:jump_to_tab:2 +!URxvt.keysym.Control-3: tabbedalt:jump_to_tab:3 +!URxvt.keysym.Control-4: tabbedalt:jump_to_tab:4 +!URxvt.keysym.Control-5: tabbedalt:jump_to_tab:5 + +!--Tabbedalt / colores +!URxvt.tabbedalt.tabbar-fg: 2 +!URxvt.tabbedalt.tabbar-bg: 16 +!URxvt.tabbedalt.tab-fg: 2 +!URxvt.tabbedalt.tab-bg: 0 +!URxvt.tabbedalt.active-fg: 0 +!URxvt.tabbedalt.actives-fg: 0 +!URxvt.tabbedalt.actived-fg: 0 + +!--Configuración para NSXIV +Nsxiv.window.background: black + +!--Esquema de colores +*.foreground: #aaaaaa +*.background: #000000 +*.cursorColor: #8086e8 + +! black +*.color0: #2c303b +*.color8: #262626 + +! red +*.color1: #d12f2c +*.color9: #fa3935 + +! green +*.color2: #87ffaf +*.color10: #d7ff00 + +! yellow +*.color3: #e0c060 +*.color11: #d9a400 + +! blue +*.color4: #00ffff +*.color12: #5fd7ff + +! magenta +*.color5: #696ebf +*.color13: #8086e8 + +! cyan +*.color6: #289c93 +*.color14: #33c5ba + +! white +*.color7: #bfbaac +*.color15: #fdf6e3 diff --git a/asoundrc b/asoundrc new file mode 100644 index 0000000..7c23ae4 --- /dev/null +++ b/asoundrc @@ -0,0 +1,8 @@ +# config. alsa-basic + +pcm.!default { + type asym + playback.pcm "plug:dmix" + capture.pcm "plug:dsnoop" +} + diff --git a/asoundrcb b/asoundrcb new file mode 100644 index 0000000..0c5266a --- /dev/null +++ b/asoundrcb @@ -0,0 +1,24 @@ +# config. alsa-loopback + +# snd_aloop debe estar cargado + +pcm.!default { + type plug + slave.pcm { + type multi + slaves { + a { channels 2 pcm "hw:0,0" } # Salida de sonido + b { channels 2 pcm "hw:Loopback,0,0" } # Loopback driver + } + bindings { + 0 { slave a channel 0 } + 1 { slave a channel 1 } + 2 { slave b channel 0 } + 3 { slave b channel 1 } + } + } + ttable [ + [ 1 0 1 0 ] # left -> a.left, b.left + [ 0 1 0 1 ] # right -> a.right, b.right + ] + } diff --git a/exrc b/exrc new file mode 100644 index 0000000..e4b38d8 --- /dev/null +++ b/exrc @@ -0,0 +1,7 @@ +"" config. vi // punk_coders + +set showmode +set number +set noflash +set noedcompatible +set magic diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..90eebb6 --- /dev/null +++ b/tmux.conf @@ -0,0 +1,7 @@ +# config. tmux-basic + +set -g default-terminal "screen-256color" +set -g status-bg "#000000" +set -g status-fg "#8680e8" + +bind-key | split-window -v diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..1d8bce3 --- /dev/null +++ b/vimrc @@ -0,0 +1,46 @@ +" Funcionamiento +set nocompatible " Activar el modo de no compatibilidad con Vi +set novisualbell " Evita advertencias de errores +set helplang=es " Idioma para la ayuda y mensajes +set history=50 " Tamaño del historial de comandos +set autochdir " El directorio abierto es el del fichero abierto + +" Visualización +set bg=dark +set number relativenumber " Mostrar nùmeros de líneas +set cul " no resaltar la línea actual en uso +set showcmd " Mostrar el comando actual en uso +syntax enable " Color en sintaxis +set tabstop=2 shiftwidth=2 expandtab " Establece el tamaño de las tabulaciones en dos espacios +set splitright " La terminal se abra a la derecha y el editor a la izquierda +set title " Mostrar título en ventana +set laststatus=2 " Mostrar línea de estado +set statusline=%4*\ %<%F%* " Mostrar directorio +set statusline=%f\ %l\|%c\ %m%=%p%%\ (%Y%R) + +" Búsquedas +set hlsearch " Resaltar búsquedas +set incsearch " Búsqueda como en los navegadores modernos. + +" Caracteres +set enc=utf-8 + +" Map +map :vert :term + +" Configuración para latex +filetype plugin indent on +filetype plugin on +set grepprg=grep\ -nH\ $* +let g:tex_flavor='latex' + +command C !pdflatex % " comando para compilar con pdflatex +command L !lualatex % " comando para compilar con lualatex + +" Tema Dark + +call plug#begin() +Plug 'romannmk/ambiance-vim' +call plug#end() + +color ambiance diff --git a/xinitrc b/xinitrc new file mode 100644 index 0000000..d72e98e --- /dev/null +++ b/xinitrc @@ -0,0 +1,4 @@ +#!/bin/sh + +sx ~/.config/sx/sxrc +exec dwm