From 7cf9e57f007cd341871d550de8b91cc0bbed9fdc Mon Sep 17 00:00:00 2001 From: dgy Date: Sun, 19 Mar 2023 23:58:33 -0300 Subject: La configuracion esta por fin acercandose a lo que son mis necesidades de uso diario. Se han agregado una cantidad de archivos a tal fin. Seguire trabajando en ella. --- .profile | 3 +- X11/colors/deadguy | 32 +++++++++++++++++ X11/colors/hellfire | 3 +- X11/defaults | 3 +- X11/urxvt | 27 +++++++------- X11/xsession | 7 ++-- X11/xterm | 12 ++----- bsd_paketes | 86 ++++++++++++++++++++++++++++++++++++++++++++ bspwm/bspwmrc | 4 +-- exrc | 33 +++++++++++++++-- fontconfig/fonts.conf | 1 + irssi/config | 12 ++----- ksh/conf/alias.ksh | 8 ++--- ksh/conf/complete.ksh | 19 ---------- ksh/conf/fuck.ksh | 8 +++++ ksh/conf/fzy-hist.ksh | 7 ++++ lf/lfrc | 10 +++--- luakit/coso de settings | 37 +++++++++++++++++++ luakit/userconf.lua | 13 +++++++ pipe-viewer/pipe-viewer.conf | 9 ++++- sxhkd/sxhkdrc | 4 +-- tmux/tmux.conf | 42 ++++++++++------------ 22 files changed, 281 insertions(+), 99 deletions(-) create mode 100644 X11/colors/deadguy create mode 100644 bsd_paketes delete mode 100644 ksh/conf/complete.ksh create mode 100644 ksh/conf/fuck.ksh create mode 100644 ksh/conf/fzy-hist.ksh create mode 100644 luakit/coso de settings create mode 100644 luakit/userconf.lua diff --git a/.profile b/.profile index 5133943..d473217 100644 --- a/.profile +++ b/.profile @@ -17,6 +17,7 @@ export PATH HOME TERM # }}} # Opciones del Sistema {{{ export XTERM_LOCALE=en_US.UTF-8 +export LS_COLORS=ExGxcxdxCxegedabagacad export LANG=en_US.UTF-8 export LC_CTYPE=en_US.UTF-8 export LC_MESSAGE=en_US.UTF-8 @@ -29,7 +30,6 @@ export C_INCLUDE_PATH=/usr/local/include/ export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" export XDG_CACHE_HOME="$HOME/.cache" -#export XAUTHORITY="$XDG_CONFIG_HOME/X11/Xauthority" export TIME_STYLE="long-iso" export BLOCK_SIZE="'1" export QUOTING_STYLE=literal @@ -75,6 +75,5 @@ set_title() } stty erase  -export LS_COLORS=ExGxcxdxCxegedabagacad # }}} # vim:foldmethod=marker:foldlevel=0 diff --git a/X11/colors/deadguy b/X11/colors/deadguy new file mode 100644 index 0000000..3428dbb --- /dev/null +++ b/X11/colors/deadguy @@ -0,0 +1,32 @@ +*.foreground: #b3b1ad +*.background: #000000 +*.cursorColor: #b3b1ad + +! Black + Gray +*color0: #2e2e2e +*color8: #666666 +! DarkRed + Red +*color1: #ef2f27 +*color9: #eb6655 +! DarkGreen + Green +*color2: #519f50 +*color10: #98bc37 +! DarkYellow + Yellow +*color3: #faa030 +*color11: #ffe64d +! DarkBlue + Blue +*color4: #34608d +*color12: #008bbd +! DarkMagenta + Magenta +*color5: #e02c6d +*color13: #d3869b +! DarkCyan + Cyan +*color6: #0aaeb3 +*color14: #6fc3df +! LightGrey + White +*color7: #d0d0d0 +*color15: #fcfcfc +! +! Bold, Italic, Underline +*.underlineColor: #dfaf8f +*.colorUL: #366060 diff --git a/X11/colors/hellfire b/X11/colors/hellfire index 82d5a5d..9b7881a 100644 --- a/X11/colors/hellfire +++ b/X11/colors/hellfire @@ -1,6 +1,7 @@ ! special *.foreground: #fbf0d2 -*.background: #1f1d1b +!*.background: #1f1d1b +*.background: #000000 *.cursorColor: #fbf0d2 ! black diff --git a/X11/defaults b/X11/defaults index eadc673..1b6a4ad 100644 --- a/X11/defaults +++ b/X11/defaults @@ -1,4 +1,5 @@ #include "/home/ghoul/.config/X11/xterm" #include "/home/ghoul/.config/X11/xft" #include "/home/ghoul/.config/X11/xlock" -#include "/home/ghoul/.config/X11/colors/acidwitch" +#include "/home/ghoul/.config/X11/colors/deadguy" +!#include "/home/ghoul/.config/X11/urxvt" diff --git a/X11/urxvt b/X11/urxvt index 815f4f5..5894d26 100644 --- a/X11/urxvt +++ b/X11/urxvt @@ -1,5 +1,5 @@ -URxvt*termName: xterm-256color -URxvt*name: URxvt +URxvt*termName: rxvt-unicode +URxvt*title: URxvt URxvt*loginShell: false URxvt*locale: true URxvt*utf8: true @@ -14,7 +14,6 @@ URxvt.saveLines: 9999 URxvt.iso14755: false URxvt.iso14755_52: false URxvt.depth: 32 -!URxvt*cutchars: `()'*<>[]{|} URxvt*scrollBar: false URxvt*scrollstyle: xterm URxvt*thickness: 10 @@ -35,18 +34,22 @@ URxvt*scrollTtyKeypress: true ! fonts -!URxvt*font: xft:hax:style=Regular:size=11:hinting=full:antialias=true -URxvt*font: xft:JetBrainsMono Nerd Font:style=Regular:size=9:hinting=full:antialias=true +!URxvt*font: xft:JetBrainsMono Nerd Font:style=Regular:size=9:hinting=full:antialias=true +!URxvt*boldFont: xft:JetBrainsMono Nerd Font:style=Bold:size=9:hinting=full:antialias=true +!URxvt*italicFont: xft:JetBrainsMono Nerd Font:style=Italic:size=9:hinting=full:antialias=true +!URxvt*bolditalicFont: xft:JetBrainsMono Nerd Font:style=Bold Italic:size=9:hinting=full:antialias=true -URxvt*boldFont: xft:JetBrainsMono Nerd Font:style=Bold:size=9:hinting=full:antialias=true -URxvt*italicFont: xft:JetBrainsMono Nerd Font:style=Italic:size=9:hinting=full:antialias=true -URxvt*bolditalicFont: xft:JetBrainsMono Nerd Font:style=Bold Italic:size=9:hinting=full:antialias=true +URxvt*font: xft:Berkeley Mono:style=Regular:size=10:hinting=full:antialias=true +URxvt*boldFont: xft:Berkeley Mono:style=Bold:size=10:hinting=full:antialias=true +URxvt*italicFont: xft:Berkeley Mono:style=Italic:size=10:hinting=full:antialias=true +URxvt*bolditalicFont: xft:Berkeley Mono:style=Bold Italic:size=10:hinting=full:antialias=true -URxvt*letterSpace: -1 -URxvt*lineSpace: -1 +!URxvt*letterSpace: -1 +!URxvt*lineSpace: -1 ! extensions -URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select +URxvt.perl-lib: /usr/local/lib/urxvt/perl +URxvt.perl-ext-common: default,matcher,clipboard,url-select,keyboard-select URxvt.copyCommand: xclip -i -selection clipboard URxvt.pasteCommand: xclip -o -selection clipboard URxvt.keysym.M-c: perl:clipboard:copy @@ -55,7 +58,7 @@ URxvt.keysym.M-C-v: perl:clipboard:paste_escaped URxvt.keysym.M-Escape: perl:keyboard-select:activate URxvt.keysym.M-s: perl:keyboard-select:search URxvt.keysym.M-u: perl:url-select:select_next -URxvt.urlLauncher: links -g +URxvt.urlLauncher: luakit URxvt.underlineURLs: true URxvt.urlButton: 1 URxvt.keysym.C-Shift-Up: command:\033]720;1\007 diff --git a/X11/xsession b/X11/xsession index 15121ae..916e524 100755 --- a/X11/xsession +++ b/X11/xsession @@ -13,9 +13,10 @@ sct 4200 xsetroot -solid "black" xidle -delay 5 -nw -program "/usr/X11R6/bin/xlock -dpmsstandby 5" -timeout 600 & setxkbmap -layout us -variant altgr-intl -option caps:escape -option compose:altgr -option terminate:ctrl_alt_bksp -export QT_QPA_PLATFORMTHEME=qt5ct -. $HOME/.profile -xrdb -load $HOME/.config/X11/defaults xset b off +xrdb -load $HOME/.config/X11/defaults +. $HOME/.profile +export QT_QPA_PLATFORMTHEME=qt5ct +twmnd & exec sxhkd & exec dbus-launch --exit-with-session bspwm diff --git a/X11/xterm b/X11/xterm index 86238f1..0bfa0da 100644 --- a/X11/xterm +++ b/X11/xterm @@ -29,19 +29,11 @@ XTerm*trimSelection: true XTerm*fullscreen: never XTerm*background:black -!XTerm*font: -misc-fixed-medium-*-normal-*-14-*-*-*-*-*-iso10646-* -!XTerm*font: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 -!XTerm*faceName : DejaVu Sans Mono:style=Book:antialias=false -!Xterm*FaceName : Unifont:pixelsize=16:antialias=true:hinting=full -!XTerm*faceName : Cozette:pixelsize=16 -!XTerm*faceName : GohuFont:pixelsize=14 -XTerm*faceName : JetBrainsMono Nerd Font:sytle=Regular:size=9:hinting=full:antialias=true +!XTerm*faceName : JetBrainsMono Nerd Font:sytle=Regular:size=10:hinting=full:antialias=true +XTerm*faceName : Berkeley Mono:sytle=Regular:size=10:hinting=full:antialias=true XTerm*faceNameDoublesize: WenQuanYi WenQuanYi Bitmap Song XTerm*faceSize: 10 -UXTerm*loginShell:true -UXTerm*background:black -UXTerm*foreground:white XMessage*font: GNU Unifont:style=Sans-Serif XTerm*backarrowKey: false diff --git a/bsd_paketes b/bsd_paketes new file mode 100644 index 0000000..d96c3db --- /dev/null +++ b/bsd_paketes @@ -0,0 +1,86 @@ +ImageMagick-- +autoconf--%2.71 +automake--%1.16 +bat-- +bspwm-- +cmixer-- +colorls-- +colortree-- +delta-- +dfc-- +dicepassc-- +fd-- +flashrom-- +fltk-- +fzy-- +gcc--%11 +git-- +gmake-- +gnupg-- +highlight-- +htop-- +irssi-- +isync-- +jdk--%11 +keychain-- +libmagic-- +libsecret-- +libwebp-- +libxml-- +luakit-- +lynx-- +maim-- +mosh-- +mpv-- +msmtp-- +mutt-- +ncdu-- +neofetch-- +neovim-- +noto-cjk-- +noto-fonts-- +nq-- +nsxiv-- +nvi--iconv +p5-Cpanel-JSON-XS-- +p5-Data-Dump-- +p5-JSON-- +p5-JSON-XS-- +p5-LWP-Protocol-https-- +p5-Module-Build-- +p5-Term-ReadLine-Gnu-- +p5-Unicode-LineBreak-- +p5-libwww-- +p7zip-- +password-store-- +pinentry-- +pkglocatedb-- +portslist-- +profanity-- +py3-pip-- +qodem-- +quirks-- +ripgrep-- +rlwrap-- +rofi-- +rxvt-unicode-- +sct-- +simple-mtpfs-- +slrn-- +spleen-- +sqlports-- +sxhkd-- +telescope-- +terminus-font--centered_tilde +toot-- +twmn-- +unclutter-- +unrar-- +unzip-- +w3m-- +wget-- +xclip-- +xdg-utils-- +xz-- +yt-dlp-- +zip-- diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc index 393c4ca..47d5ac0 100755 --- a/bspwm/bspwmrc +++ b/bspwm/bspwmrc @@ -39,8 +39,8 @@ bspc config presel_feedback_color "$(get_xrdb color2)" # Flotantes bspc rule -a mpv state=floating +bspc rule -a flota state=floating bspc rule -a Zathura state=tiled -bspc rule -a Links desktop='^2' +bspc rule -a Luakit desktop='^2' $TERMINAL & -#urxvt & diff --git a/exrc b/exrc index 4a96353..b174a82 100644 --- a/exrc +++ b/exrc @@ -1,4 +1,3 @@ -set term=xterm-256color set autoindent set ignorecase set nolist @@ -34,58 +33,88 @@ map R :ex^M "open with fzf map  f ::!env FZF_DEFAULT_COMMAND='git ls-files' fzf >> % :edit GIEdit  :bg +" search and replace +map \s :%s/ *$//g + ""Formatting + " indent lines map gi :%!indent -i4 -" reformat, wrap text at 72ch + +" reformat, wrap text at 80ch map gf :%!fmt -w 80 % + "paragraph wrapping map Q {j!}par P+. Q+__* g1 w80 + " reformat paragraph map gp :?^$?,//!fmt -w 80 + " sort lines alphabetically map gs :%!sort -u + " substitute patterns up to current position map gr :^,.s///g + " remove leading tabs map gl :%s/^[ \t]*// + " double space, whole file map gd :%!sed G + " expand TABS out in buffer map ge 'a!'bexpand + "comment lines in buffer map gc :'a,'bs/^/#/ + " uncomment lines in buffer map gu :'a,'bs/# *// + " remove trailing spaces map gt :%s/ *$// + " XA_CLIPBOARD map rc +:r!xclip -o -sel clip^M + " process file with hunspell map gh :!hunspell -d en_US % + ""Manipulating Buffers + " display vi buffers map K :display buffers + " cut current line to buffer '1' map C "1Y$dd + " paste '1' after current position map V "1PASTE + " mark current position as begin of new buffer map # ma + " mark current position as end of new buffer map * mb + " append new buffer to next line map bv :'a,'b co . + " delete marked buffer map be :'a,'b del . + " move marked buffer to 'n' line map bm :'a,'b mo . + " convert marked buffer to UPPERCASE map bc :'a,'bs/.*/\U&/ + " convert marked buffer to LOWERCASE map bl :'a,'bs/.*/\L&/ + " trim white space from marked buffer map bt :'a,'bs/[ ^I][ ^I]*$//g + " write marked buffer to file map bw :'a;'bw diff --git a/fontconfig/fonts.conf b/fontconfig/fonts.conf index 24720fb..0a4193c 100644 --- a/fontconfig/fonts.conf +++ b/fontconfig/fonts.conf @@ -25,6 +25,7 @@ monospace + Berkeley Mono JetBrainsMono Nerd Font Noto Color Emoji diff --git a/irssi/config b/irssi/config index 6894aaf..01e12a1 100644 --- a/irssi/config +++ b/irssi/config @@ -30,7 +30,7 @@ servers = ( chatnet = "EFNet"; port = "9999"; use_tls = "yes"; - }, + } ); chatnets = { @@ -51,7 +51,7 @@ channels = ( { name = "#mechboards"; chatnet = "libera"; autojoin = "Yes"; }, { name = "##espanol"; chatnet = "libera"; autojoin = "Yes"; }, { name = "#pvm"; chatnet = "EFNet"; autojoin = "Yes"; }, - { name = "#impure"; chatnet = "EFNet"; autojoin = "Yes"; }, + { name = "#impure"; chatnet = "EFNet"; autojoin = "Yes"; } ); settings = { @@ -176,14 +176,6 @@ statusbar = { barend = { priority = "100"; alignment = "right"; }; }; }; - awl_1 = { - placement = "top"; - items = { - barstart = { priority = "100"; }; - awl_1 = { }; - barend = { priority = "100"; alignment = "right"; }; - }; - }; }; }; keyboard = ( diff --git a/ksh/conf/alias.ksh b/ksh/conf/alias.ksh index 3c04d39..4360fa7 100644 --- a/ksh/conf/alias.ksh +++ b/ksh/conf/alias.ksh @@ -28,25 +28,23 @@ alias \ # Programas con opciones por defecto alias \ l='less' \ - c='cd' \ v="$EDITOR" \ - m='neomutt' \ - d='dir' \ - da='dir -a' \ + m='mutt' \ ls="$LS -FAGt" \ ll='ls -cohltFAG' \ df='df -hT --total' \ du='du -ch' \ xi="doas pkg_add" \ se="doas nvi" \ + tt="toot tui" \ ytv='pipe-viewer' \ w3m='w3m -no-cookie -v' \ irc='irssi --config="$XDG_CONFIG_HOME"/irssi/config --home="$XDG_DATA_HOME"/irssi' \ del='doas pkg_delete -cmvvv' \ - upd='doas pkg_add -Uu' \ pwn='chmod +x' \ dfc='dfc -dmT' \ rat='tar -xf' \ + man='man -Owidth=$(($COLUMNS<80?($COLUMNS-2):78))' \ wifi='doas sh /etc/netstart' \ ping='ping -c 5' \ free='free -ht' \ diff --git a/ksh/conf/complete.ksh b/ksh/conf/complete.ksh deleted file mode 100644 index 19e4739..0000000 --- a/ksh/conf/complete.ksh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/ksh - -complete() { - if type "$1" >/dev/null - then - typeset cmd="$1" - typeset num="$2" - shift 2 - set -A "complete_${cmd}${num:+"_$num"}" -- "$@" - fi -} - -complete sysctl "" $(sysctl | sed 's/[ =].*//') -complete rcctl 1 disable enable get ls order set restart start stop -complete rcctl 2 $(rcctl ls all) -complete git 1 $(git --list-cmds=main) -complete kill 1 -9 -HUP -INFO -KILL -TERM -complete pkill 1 -9 -HUP -INFO -KILL -TERM -complete ifconfig 1 $(ifconfig | grep '^[a-z]' | cut -d: -f1) diff --git a/ksh/conf/fuck.ksh b/ksh/conf/fuck.ksh new file mode 100644 index 0000000..7b7c5e2 --- /dev/null +++ b/ksh/conf/fuck.ksh @@ -0,0 +1,8 @@ +# run previous non-doas command with doas; or retry previous doas command +fuck() { + typeset n=$(fc -l 1 | egrep -v '^[0-9]+[ ]*fuck' | tail -n 1 | cut -d' ' -f1) + fc -e "ed -s" "$n" <<-EOF + ,v/^doas/s/^/doas / + w + EOF +} diff --git a/ksh/conf/fzy-hist.ksh b/ksh/conf/fzy-hist.ksh new file mode 100644 index 0000000..c26a7d7 --- /dev/null +++ b/ksh/conf/fzy-hist.ksh @@ -0,0 +1,7 @@ +function fzf-histo { + RES=$(fzy < $HISTFILE) + test -n "$RES" || exit 0 + eval "$RES" +} + +bind -m ^R=fzf-histo^J diff --git a/lf/lfrc b/lf/lfrc index 4d9c306..199e7ff 100644 --- a/lf/lfrc +++ b/lf/lfrc @@ -124,7 +124,7 @@ cmd paste-overwrite %{{ }} cmd fzf_jump ${{ - res="$(find . -maxdepth 2 | sed "s|^\./||" | fzf --reverse --header='Jump to location' | sed 's/\\/\\\\/g;s/"/\\"/g')" + res="$(find . -maxdepth 2 | sed "s|^\./||" | fzy -- | sed 's/\\/\\\\/g;s/"/\\"/g')" if [ -d "$res" ]; then cmd="cd" else @@ -176,13 +176,13 @@ cmd yes_preview :{{ map ~ no_preview }} -cmd yank-dirname $dirname -- "$f" | head -c-1 | xclip -i -selection clipboard +cmd yank-dirname $dirname -- "$f" | head -1 | xclip -i -selection clipboard cmd yank-path $printf '%s' "$fx" | xclip -i -selection clipboard -cmd yank-basename $basename -a -- $fx | head -c-1 | xclip -i -selection clipboard +cmd yank-basename $basename -- $fx | head -1 | xclip -i -selection clipboard cmd yank-basename-without-extension ${{ echo "$fx" | - xargs -r -d '\n' basename -a | + xargs -r -d '\n' basename | awk -e '{ for (i=length($0); i > 0; i--) { if (substr($0, i, 1) == ".") { @@ -222,7 +222,7 @@ map cut map copy map reload map push $touch -map push :mkdir +map push $mkdir map delete map paste diff --git a/luakit/coso de settings b/luakit/coso de settings new file mode 100644 index 0000000..09f1545 --- /dev/null +++ b/luakit/coso de settings @@ -0,0 +1,37 @@ + +{{ +["domain"]={2}, +}, +{ +[""]={3}, +}, +{ +["webview.minimum_font_size"]=12, +["webview.enable_frame_flattening"]=true, +["webview.enable_developer_extras"]=true, +["webview.enable_java"]=false, +["window.new_window_size"]="1024x600", +["webview.enable_page_cache"]=false, +["webview.enable_smooth_scrolling"]=false, +["window.home_page"]="about:blank", +["webview.default_charset"]="utf-8", +["webview.media_playback_requires_gesture"]=true, +["webview.enable_accelerated_2d_canvas"]=true, +["webview.enable_mediasource"]=true, +["http_user_agent"]="Mozilla/4.0 (PSP (PlayStation Portable); 2.00)", +["webview.default_monospace_font_size"]=12, +["session.always_save"]=true, +["application.prefer_dark_mode"]=true, +["webview.user_agent"]="Mozilla/5.0 (Linux; Android 4.4; Nexus 5 Build/BuildID)AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36", +["webview.enable_media_stream"]=false, +["webview.enable_webgl"]=true, +["webview.hardware_acceleration_policy"]="always", +["window.reuse_new_tab_pages"]=true, +["webview.default_font_size"]=12, +["webview.enable_offline_web_application_cache"]=false, +["webview.enable_javascript"]=true, +["webview.default_font_family"]="sans-serif", +["webview.enable_plugins"]=false, +["webview.enable_webaudio"]=true, +}, +} diff --git a/luakit/userconf.lua b/luakit/userconf.lua new file mode 100644 index 0000000..f41f100 --- /dev/null +++ b/luakit/userconf.lua @@ -0,0 +1,13 @@ +local editor = require "editor" +local settings = require "settings" +local engines = settings.window.search_engines +local ablock_chrome = require "adblock_chrome" +local ablock = require "adblock" +engines.whoogle = "https://www.whoogle.click/search?q=%s" +engines.searx = "https://priv.au/search?q=%s" +engines.ddg = "https://lite.duckduckgo.com/lite/?q=%s" +engines.frogfind = "http://frogfind.com/?q=%s" +engines.openports = "https://openports.pl/search.php?stype=folder&so=%s" +engines.pkgs = "https://pkgs.org/search/?q=%s" +engines.default = engines.searx +editor.editor_cmd = "xterm -title flota -e nvim {file} +{line}" diff --git a/pipe-viewer/pipe-viewer.conf b/pipe-viewer/pipe-viewer.conf index 9e45f9c..77a89f4 100644 --- a/pipe-viewer/pipe-viewer.conf +++ b/pipe-viewer/pipe-viewer.conf @@ -1,11 +1,15 @@ #!/usr/bin/perl -# CLI Pipe Viewer 0.2.3 - configuration file +# CLI Pipe Viewer 0.4.5 - configuration file + +use utf8; our $CONFIG = { api_host => "auto", + audio_quality => "best", auto_captions => 0, autoplay_mode => 0, + bypass_age_gate_native => 0, bypass_age_gate_with_proxy => 0, cache_dir => "/tmp/pipe-viewer", colors => 1, @@ -53,6 +57,7 @@ our $CONFIG = { force_fallback => 0, fullscreen => 0, get_captions => 0, + get_subscriptions_in_parallel => 0, get_term_width => 1, hfr => 1, highlight_color => "bold", @@ -115,6 +120,8 @@ our $CONFIG = { watch_history => 0, watch_history_file => "/tmp/pipe-viewer/watched.txt", wget_cmd => "wget", + youtube_channel_url => "https://www.youtube.com/channel/%s", + youtube_playlist_url => "https://www.youtube.com/playlist?list=%s", youtube_video_url => "https://www.youtube-nocookie.com/watch?v=%s", ytdl => 1, ytdl_cmd => "/usr/local/bin/yt-dlp", diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc index 53cde5d..31fbd09 100644 --- a/sxhkd/sxhkdrc +++ b/sxhkd/sxhkdrc @@ -33,8 +33,8 @@ super + m super + {_,shift} + y minve {hide,show} -super + {b,space} - {luakit,dmenu_run} +super + {b,space,s,q} + {luakit,rofi -show run -theme lnch,rofi -show window,powermenu} super + {_,shift} + g {grabar,corte} diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 8b6559e..4f2ccc5 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -1,7 +1,8 @@ # Opciones basicas set -gs default-terminal "tmux-256color" # Optional +set -gas terminal-overrides ",*:RGB" set -ga terminal-overrides ',xterm*:smcup@:rmcup@' -set -g set-titles-string "#S > #{=-15:?window_name,#{window_name},#{s/ghoul/home/:?pane_current_path,#{b:pane_current_path},}} (#T)" +set -g set-titles-string "#S > #{#{window_name},#{s/ghoul/home/:?pane_current_path,#{b:pane_current_path},}} (#T)" set -g mode-keys vi set -g history-limit 102400 set -sg escape-time 0 @@ -27,27 +28,6 @@ set -wg main-pane-width 80 set -g monitor-activity on set -g bell-action none -# Statusbar -set -g set-titles on -set -g pane-border-status top -set -g status-position top -set -g pane-border-style bg=default,fg=colour0 -set -g pane-active-border-style bg=default,fg=colour0 -set -g mode-style fg=colour0,bg=colour100 -set -g message-command-style bg=colour0,fg=colour13 -set -g message-style bg=default,fg=colour7 -set -g status-style bg=green,fg=black -set -g status-left '' -set -g status-left-length 140 -set -g status-justify left -set -g status-right '#{online_status} %F %R ' -set -g window-status-separator '' -set -g window-status-style bg=colour0,fg=colour243 -set -g window-status-current-style bg=default,fg=default -set -g window-status-activity-style bg=colour8,fg=colour11 -set -g window-status-format ' #W#F ' -set -g window-status-current-format ' #W#F ' - # Limpiar atajos unbind-key C-b unbind-key '"' @@ -89,8 +69,6 @@ bind-key Right select-pane -R # Ventanas bind-key < previous-window bind-key > next-window -bind-key [ swap-window -t :-1 -d -bind-key ] swap-window -t :+1 -d bind-key Enter new-window bind-key w choose-tree -Zw "swap-window -t '%%'" bind-key p choose-tree -Zw "swap-pane -t '%%'" @@ -102,6 +80,22 @@ bind-key P capture-pane -S -32768 \; save-buffer "/tmp/printscreen" \; delet bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard" bind-key v capture-pane \; save-buffer /tmp/tmux-buffer \; delete-buffer \; display-popup -w 80% -h 60% -E "cmixer" +# Statusbar +set -g set-titles on +set -g status-position top +set -g pane-border-style bg=default,fg=colour3 +set -g pane-active-border-style bg=default,fg=colour3 +set -g mode-style fg=colour0,bg=colour100 +set -g message-command-style bg=colour0,fg=colour13 +set -g message-style bg=default,fg=colour7 +set -g status-style bg=default,fg=green +set -g status-left '' +set -g status-justify left +set -g status-right ' #{pane_title} #{online_status} %F %R ' +set -g window-status-separator ' | ' +set -g window-status-current-style bg=default,fg=colour11 +set -g window-status-activity-style bg=default,fg=colour14 + set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-online-status' -- cgit v1.2.3