cambios a userChrome. actualize un par de configs para compatibilidad y separacion de tareas.
This commit is contained in:
parent
81be7a21e4
commit
3019e46f5c
|
@ -8,12 +8,12 @@ macro index,pager <F3> '<sync-mailbox><enter-command>source /home/deadguy/.confi
|
|||
set mailcap_path = /home/deadguy/.config/mutt/mailcap
|
||||
source "~/.config/mutt/gpg.rc"
|
||||
|
||||
macro index O "<shell-escape>correo -Va<enter>" "run offlineimap to sync all mail"
|
||||
macro index O "<shell-escape>correo -a<enter>" "run offlineimap to sync all mail"
|
||||
macro index,pager u "<pipe-message> urlscan -dcp -r 'linkhandler \"{}\"'<Enter>" "call urlscan to extract URLs out of a message"
|
||||
|
||||
bind index,pager,browser D half-down
|
||||
bind index,pager,browser U half-up
|
||||
bind index,pager d delete-message
|
||||
bind index,pager d delete-message
|
||||
bind index \cu undelete-message
|
||||
bind index <space> collapse-thread
|
||||
bind index <left> previous-unread
|
||||
|
@ -23,25 +23,23 @@ bind pager <down> next-line
|
|||
bind pager <left> previous-undeleted
|
||||
bind pager <right> next-undeleted
|
||||
|
||||
set sort = threads # like gmail
|
||||
set sort_aux = reverse-last-date-received # like gmail
|
||||
set uncollapse_jump # no collapse on unread message
|
||||
set sort_re # thread based on regex
|
||||
set sort = threads # like gmail
|
||||
set sort_aux = reverse-last-date-received # like gmail
|
||||
set uncollapse_jump # no collapse on unread message
|
||||
set autoedit # Skip directly to composing
|
||||
set sendmail_wait = 1 # wait for sending to complete
|
||||
set attribution = "El %d, %n escribio:" # set the attribution
|
||||
set reply_to # reply to Reply to: field
|
||||
set sig_dashes # dashes before sig
|
||||
set text_flowed = yes # Eliminate odd line breaks
|
||||
set sort_re # thread based on regex
|
||||
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
|
||||
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
|
||||
set autoedit ## Skip directly to composing
|
||||
set sendmail_wait = 1 ## wait for sending to complete
|
||||
set attribution = "El %d, %n escribio:" ## set the attribution
|
||||
set reply_to ## reply to Reply to: field
|
||||
set sig_dashes ## dashes before sig
|
||||
set text_flowed = yes ## Eliminate odd line breaks
|
||||
set skip_quoted_offset = 3
|
||||
set sidebar_visible = no
|
||||
set editor="nvim -c 'set textwidth=80'"
|
||||
set status_on_top = yes
|
||||
# set status_chars = " *%A"
|
||||
|
||||
# set status_format = "──┄┄╼ %f: %m Messages ╾┄┄──────────┈%?n? %n New?%?d?, %d to Delete?%?t?, %t Tagged?%?p?, %p Postponed?%?l? %l Total ?┈───%>─┤ %P ├───"
|
||||
set alias_format = " %4n %t %-20a %r "
|
||||
set date_format ="%a %d %b %R"
|
||||
set index_format=" %T %{!%d %b} %1M %-28.28L %?X?&·? %s"
|
||||
|
@ -49,6 +47,7 @@ set pager_format=" %n %T %s%* %{!%d %b · %H:%M} %?X? %X ?
|
|||
set status_format = " %f%?r? %r? %m %?n? %n ? %?d? %d ?%?t? %t ?%?F? %F? %> %?p? %p ?"
|
||||
set vfolder_format = " %N %?n?%3n& ? %8m · %f"
|
||||
set attach_format = "%u%D %T%-75.75d %?T?%& ? %5s · %m/%M"
|
||||
|
||||
# no addressed to me, to me, group, cc, sent by me, mailing list
|
||||
set to_chars=""
|
||||
# unchanged mailbox, changed, read only, attach mode
|
||||
|
@ -64,7 +63,7 @@ tag-transforms "replied" "↻ " \
|
|||
tag-formats "replied" "GR" \
|
||||
"encrypted" "GE" \
|
||||
"signed" "GS" \
|
||||
"attachment" "GA" \
|
||||
"attachment" "GA" \
|
||||
|
||||
# powerline status bar hack
|
||||
color status white black
|
||||
|
@ -82,15 +81,15 @@ color status black blue ' ([0-9]+%|all|end) \s*'
|
|||
color status yellow black '( )\s* ' 1
|
||||
color status default black ' '
|
||||
|
||||
ignore * ## Ignore all headers
|
||||
unignore from: to: cc: date: subject: ## Show only these
|
||||
unhdr_order * ## Some distros order things
|
||||
hdr_order from: to: cc: date: subject: ## And in this order
|
||||
ignore * # Ignore all headers
|
||||
unignore from: to: cc: date: subject: # Show only these
|
||||
unhdr_order * # Some distros order things
|
||||
hdr_order from: to: cc: date: subject: # And in this order
|
||||
|
||||
## Warns if replying to multiple recipt email
|
||||
# Warns if replying to multiple recipt email
|
||||
reply-hook "~C 2" "set sleep_time=10\;echo 'Warning, original message has multiple recipients!'\;set sleep_time=1"
|
||||
|
||||
## "from" field gets 30% of remaining space, "subject" gets 70%. Remaining space is the total width minus the other fields
|
||||
# "from" field gets 30% of remaining space, "subject" gets 70%. Remaining space is the total width minus the other fields
|
||||
set my_index_format_pre='set my_col_from = `echo $((30 * ($(tput cols)-50) / 100))`; set my_col_subject = `echo $((70 * ($(tput cols)-50) / 100))`; set index_format="%2C %Z %D %-$my_col_from.${my_col_from}'
|
||||
set my_index_format_post=' %-4.4c %?M?<%M ?%-$my_col_subject.${my_col_subject}s"'
|
||||
|
||||
|
|
|
@ -15,13 +15,9 @@
|
|||
"html.handlebars": "html",
|
||||
"javascript": "javascriptreact"
|
||||
},
|
||||
"eslint.trace.server": "verbose",
|
||||
"eslint.packageManager": "yarn",
|
||||
"eslint.autoFix": false,
|
||||
"eslint.autoFixOnSave": false,
|
||||
"explorer.width": 30,
|
||||
"explorer.icon.expanded": "▾",
|
||||
"explorer.icon.collapsed": "▸",
|
||||
"explorer.icon.expanded": "🞃",
|
||||
"explorer.icon.collapsed": "🞂",
|
||||
"explorer.icon.enableNerdfont": true,
|
||||
"explorer.buffer.columns": ["selection", "bufnr", "name", "modified"],
|
||||
"explorer.file.columns": [
|
||||
|
@ -46,7 +42,7 @@
|
|||
"list.source.mru.ignoreGitIgnore": true,
|
||||
"list.previewSplitRight": true,
|
||||
"suggest.enablePreview": true,
|
||||
"suggest.snippetIndicator": "►",
|
||||
"suggest.snippetIndicator": "⮞",
|
||||
"suggest.triggerCompletionWait": 100,
|
||||
"suggest.echodocSupport": true,
|
||||
"suggest.maxPreviewWidth": 100,
|
||||
|
|
|
@ -155,13 +155,13 @@ nmap <silent> <F7> <Plug>(ale_previous_wrap)
|
|||
nmap <silent> <F8> <Plug>(ale_next_wrap)
|
||||
" }}}
|
||||
" CoC {{{
|
||||
let g:coc_global_extensions = ['coc-lists', 'coc-highlight', 'coc-explorer', 'coc-snippets', 'coc-tsserver', 'coc-emmet', 'coc-stylelint', 'coc-vimlsp', 'coc-css', 'coc-html', 'coc-json', 'coc-eslint']
|
||||
let g:coc_global_extensions = ['coc-lists', 'coc-highlight', 'coc-explorer', 'coc-snippets', 'coc-tsserver', 'coc-emmet', 'coc-css', 'coc-html', 'coc-json']
|
||||
|
||||
" Remap keys for gotos
|
||||
nmap <silent> gd <Plug>(coc-definition)
|
||||
nmap <silent> gy <Plug>(coc-type-definition)
|
||||
nmap <silent> gI <Plug>(coc-implementation)
|
||||
nmap <silent> gr <Plug>(coc-references)
|
||||
nmap <silent>gd <Plug>(coc-definition)
|
||||
nmap <silent>gy <Plug>(coc-type-definition)
|
||||
nmap <silent>gI <Plug>(coc-implementation)
|
||||
nmap <silent>gr <Plug>(coc-references)
|
||||
|
||||
" Object/Symbol maps
|
||||
nmap <leader>or <Plug>(coc-rename)
|
||||
|
@ -221,7 +221,7 @@ let g:yats_host_keyword = 1
|
|||
" Colors {{{
|
||||
set termguicolors
|
||||
let g:oceanic_next_terminal_italic = 1
|
||||
colo OceanicNext
|
||||
colorscheme OceanicNext
|
||||
|
||||
function! MyHighlights() abort
|
||||
highlight Trail ctermbg=red guibg=red
|
||||
|
@ -252,21 +252,31 @@ highlight User1 ctermfg=251 ctermbg=NONE guibg=#080808 guifg=#c6c6c6
|
|||
highlight User2 ctermfg=234 ctermbg=NONE guibg=#f74782 guifg=#1c1c1c
|
||||
highlight User3 ctermfg=234 ctermbg=4 guibg=#008bbd guifg=#1c1c1c
|
||||
highlight User4 ctermfg=234 ctermbg=251 guibg=#c6c6c6 guifg=#1c1c1c
|
||||
highlight User5 ctermfg=234 ctermbg=4 guibg=#8d4eff guifg=#1c1c1c
|
||||
highlight User6 ctermfg=234 ctermbg=9 guibg=#fb4934 guifg=#1c1c1c
|
||||
highlight User5 ctermfg=234 ctermbg=4 guibg=#e64eff guifg=#1c1c1c
|
||||
highlight User6 ctermfg=234 ctermbg=9 guibg=#fbad34 guifg=#1c1c1c
|
||||
highlight User7 ctermfg=234 ctermbg=251 guibg=#407e4a guifg=#1c1c1c
|
||||
|
||||
let s:modes ={
|
||||
let g:modes={
|
||||
\ 'n' : ['%3*', 'NORMAL'],
|
||||
\ 'i' : ['%4*', 'INSERT'],
|
||||
\ 'no' : ['%3*', 'NORMAL·OPERATOR PENDING'],
|
||||
\ 'v' : ['%5*', 'VISUAL'],
|
||||
\ 'r' : ['%2*', 'REPLACE'],
|
||||
\ 'V' : ['%5*', 'V·LINE'],
|
||||
\ 'V' : ['%5*', 'V·LINE'],
|
||||
\ '^V' : ['%5*', 'V·BLOCK'],
|
||||
\ 's' : ['%7*', 'SELECT'],
|
||||
\ 'S' : ['%7*', 'S·LINE'],
|
||||
\ '^S' : ['%7*', 'S·BLOCK'],
|
||||
\ }
|
||||
\ 'i' : ['%4*', 'INSERT'],
|
||||
\ 'R' : ['%2*', 'REPLACE'],
|
||||
\ 'Rv' : ['%2*', 'V·REPLACE'],
|
||||
\ 'c' : ['%6*', 'COMMAND'],
|
||||
\ 'cv' : ['%6*', 'VIM EX'],
|
||||
\ 'ce' : ['%6*', 'EX'],
|
||||
\ 'r' : ['%1*', 'PROMPT'],
|
||||
\ 'rm' : ['%1*', 'MORE'],
|
||||
\ 'r?' : ['%1*', 'CONFIRM'],
|
||||
\ '!' : ['%*1', 'SHELL'],
|
||||
\ 't' : ['%*1', 'TERMINAL']
|
||||
\}
|
||||
|
||||
function! LinterStatus() abort
|
||||
let l:counts = ale#statusline#Count(bufnr(''))
|
||||
|
@ -279,25 +289,12 @@ function! LinterStatus() abort
|
|||
\)
|
||||
endfunction
|
||||
|
||||
function! StatusDiagnostic() abort
|
||||
let info = get(b:, 'coc_diagnostic_info', {})
|
||||
if empty(info) | return '' | endif
|
||||
let msgs = []
|
||||
if get(info, 'error', 0)
|
||||
call add(msgs, '✖ ' . info['error'])
|
||||
endif
|
||||
if get(info, 'warning', 0)
|
||||
call add(msgs, '⚠ ' . info['warning'])
|
||||
endif
|
||||
return join(msgs, ' '). ' ' . get(g:, 'coc_status', '')
|
||||
endfunction
|
||||
|
||||
function! ModeColor() abort
|
||||
return get(s:modes, tolower(mode()), '%*')[0]
|
||||
return get(g:modes, mode(), '%*')[0]
|
||||
endfunction
|
||||
|
||||
function! CurrentMode() abort
|
||||
return ' ' . get(s:modes, tolower(mode()), '-')[1] . ' '
|
||||
return ' ' . get(g:modes, mode(), '-')[1] . ' '
|
||||
endfunction
|
||||
|
||||
function! LinePasteMode()
|
||||
|
@ -338,10 +335,10 @@ function! Tabline()
|
|||
let s .= '%' . tab . 'T'
|
||||
let s .= (tab == tabpagenr() ? '%#TabLineSel#' : '%#TabLine#')
|
||||
let s .= ' ' . tab .':'
|
||||
let s .= (bufname !=? '' ? '['. fnamemodify(bufname, ':t') . '] ' : '[No Name] ')
|
||||
let s .= (bufname !=? '' ? fnamemodify(bufname, ':t') . ' ' : '[No Name] ')
|
||||
|
||||
if bufmodified
|
||||
let s .= '[+] '
|
||||
let s .= ' + '
|
||||
endif
|
||||
endfor
|
||||
|
||||
|
@ -593,6 +590,7 @@ nnoremap <leader>y y$
|
|||
nnoremap tn :tabnew<cr>
|
||||
nnoremap th :tabfirst<cr>
|
||||
nnoremap tl :tablast<cr>
|
||||
nnoremap tx :tabclose<cr>
|
||||
|
||||
" Center view on search result
|
||||
nnoremap n nzz
|
||||
|
|
|
@ -26,18 +26,6 @@ glx-copy-from-front = false;
|
|||
# Recommended if it works.
|
||||
glx-no-rebind-pixmap = true;
|
||||
|
||||
# GLX backend: GLX buffer swap method we assume.
|
||||
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
|
||||
# undefined is the slowest and the safest, and the default value.
|
||||
# copy is fastest, but may fail on some drivers,
|
||||
# 2-6 are gradually slower but safer (6 is still faster than 0).
|
||||
# Usually, double buffer means 2, triple buffer means 3.
|
||||
# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers.
|
||||
# Useless with --glx-use-copysubbuffermesa.
|
||||
# Partially breaks --resize-damage.
|
||||
# Defaults to undefined.
|
||||
#glx-swap-method = "undefined";
|
||||
|
||||
# Shadows
|
||||
# Enabled client-side shadows on windows.
|
||||
shadow = true;
|
||||
|
|
|
@ -1,4 +1,13 @@
|
|||
# Setup {{{
|
||||
# Tmux clear screen
|
||||
tmux-clear-screen() {
|
||||
for line in {1..$(( $LINES ))} ; do echo; done
|
||||
zle clear-screen
|
||||
}
|
||||
|
||||
# Run with sudo
|
||||
run-with-sudo() { LBUFFER="sudo $LBUFFER" }
|
||||
|
||||
foreach carga (
|
||||
history-substring-search-up
|
||||
history-substring-search-down
|
||||
|
@ -20,6 +29,8 @@ foreach widge (
|
|||
change-surround surround
|
||||
select-bracketed
|
||||
select-quoted
|
||||
tmux-clear-screen
|
||||
run-with-sudo
|
||||
) {
|
||||
zle -N $widge
|
||||
}
|
||||
|
@ -40,6 +51,12 @@ key[Right]="$terminfo[kcuf1]"
|
|||
key[PageUp]="$terminfo[kpp]"
|
||||
key[PageDown]="$terminfo[knp]"
|
||||
# }}}
|
||||
# General use {{{
|
||||
bindkey -M menuselect ' ' accept-line
|
||||
bindkey -M menuselect '\C-?' undo
|
||||
bindkey "^L" tmux-clear-screen
|
||||
bindkey '^X' run-with-sudo
|
||||
# }}}
|
||||
# Insert {{{
|
||||
bindkey -M viins '^K' up-history # ^K to previous command.
|
||||
bindkey -M viins '^J' down-history # ^J to next command.
|
||||
|
@ -95,19 +112,6 @@ bindkey -M viopp 'L' vi-end-of-line # Go end of line.
|
|||
foreach char ({a,i}{\',\",\`}) { bindkey -M viopp $char select-quoted } && unset char # Text objects for delimiters.
|
||||
foreach char ({a,i}${(s..)^:-'()[]{}<>bB'}) { bindkey -M viopp $char select-bracketed } && unset char # Text objects for pairs of brackets.
|
||||
|
||||
export KEYTIMEOUT=1
|
||||
export KEYTIMEOUT=5
|
||||
# }}}
|
||||
# Tmux clear screen {{{
|
||||
tmux-clear-screen() {
|
||||
for line in {1..$(( $LINES ))} ; do echo; done
|
||||
zle clear-screen
|
||||
}
|
||||
zle -N tmux-clear-screen
|
||||
bindkey "^L" tmux-clear-screen
|
||||
#}}}
|
||||
# Run with sudo {{{
|
||||
run-with-sudo() { LBUFFER="sudo $LBUFFER" }
|
||||
zle -N run-with-sudo
|
||||
bindkey '^Xs' run-with-sudo
|
||||
#}}}
|
||||
# vim:foldmethod=marker:foldlevel=0
|
||||
|
|
|
@ -0,0 +1,717 @@
|
|||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
:root {
|
||||
--tabs-border: #212121 !important;
|
||||
/* active tab left & right borders - not working in 58?*/
|
||||
--toolbox-border-bottom-color: #212121 !important;
|
||||
/* 1px line under background tabs */
|
||||
--chrome-nav-bar-controls-border-color: #212121 !important;
|
||||
/* border around url bar */
|
||||
}
|
||||
|
||||
:root:not([customizing]) #nav-bar toolbarbutton {
|
||||
margin-left: -28px !important;
|
||||
opacity: 0 !important;
|
||||
transform: scale(0.85, 0.85) !important;
|
||||
pointer-events: none !important;
|
||||
transition: all 100ms var(--animation-easing-function) !important;
|
||||
}
|
||||
|
||||
:root:not([customizing]) :hover > #nav-bar toolbarbutton,
|
||||
:root:not([customizing]) #navigator-toolbox:focus-within #nav-bar toolbarbutton,
|
||||
:root:not([customizing]) :hover > #titlebar toolbarbutton {
|
||||
transform: scale(1, 1) !important;
|
||||
opacity: 1 !important;
|
||||
margin-left: 0 !important;
|
||||
pointer-events: auto !important;
|
||||
}
|
||||
|
||||
:root[lwt-popup-brighttext] {
|
||||
--panel-separator-color: #212121 !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
#nav-bar,
|
||||
.sidebar-placesTree,
|
||||
#sidebar-header {
|
||||
background-color: rgb(12, 12, 13) !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
#sidebar-header {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
textbox {
|
||||
background-color: #212121 !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
window#main-window {
|
||||
--tabs-navbar-shadow-size: 0px !important;
|
||||
--chrome-content-separator-color: none !important;
|
||||
--backbutton-background: none !important;
|
||||
--toolbar-bgcolor: #212121 !important;
|
||||
--lwt-toolbar-field-background-color: #212121 !important;
|
||||
--arrowpanel-background: #212121 !important;
|
||||
--arrowpanel-border-color: #212121 !important;
|
||||
--lwt-sidebar-background-color: #212121 !important;
|
||||
}
|
||||
|
||||
#main-window[lwthemetextcolor="bright"] #urlbar,
|
||||
#main-window[lwthemetextcolor="bright"] .searchbar-textbox {
|
||||
box-shadow: initial !important;
|
||||
background-color: rgb(12, 12, 13) !important;
|
||||
transition: background-color 0.3s !important;
|
||||
font-size: 10pt !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
#main-window[lwthemetextcolor="bright"] #urlbar:focus-within,
|
||||
#main-window[lwthemetextcolor="bright"] .searchbar-textbox:focus-within {
|
||||
background-color: rgb(12, 12, 13) !important;
|
||||
border-color: transparent !important;
|
||||
border-image: none !important;
|
||||
}
|
||||
|
||||
#main-window[lwthemetextcolor="bright"] #urlbar:hover,
|
||||
#main-window[lwthemetextcolor="bright"] .searchbar-textbox:hover {
|
||||
box-shadow: initial !important;
|
||||
background-color: rgb(12, 12, 13) !important;
|
||||
border-color: transparent !important;
|
||||
border-image: none !important;
|
||||
}
|
||||
|
||||
#urlbar[focused="true"],
|
||||
#urlbar:hover,
|
||||
.searchbar-textbox:hover {
|
||||
box-shadow: 0 0 0 !important;
|
||||
border: 1 solid #535c5c !important;
|
||||
}
|
||||
|
||||
#tabbrowser-tabs .tabbrowser-tab .tab-close-button {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Removal of black bottom 1px line */
|
||||
#navigator-toolbox::after {
|
||||
border-bottom: 0px !important;
|
||||
}
|
||||
|
||||
/* hide the one pixel top border for tabs */
|
||||
.tab-background {
|
||||
border-top: none !important;
|
||||
}
|
||||
|
||||
/* hide tab bar if only one tab */
|
||||
tab:only-of-type {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tabbrowser-tab {
|
||||
font-size: 9pt !important;
|
||||
}
|
||||
|
||||
/* unset the tab bar min-height */
|
||||
#tabbrowser-tabs,
|
||||
#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
|
||||
#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
|
||||
min-height: initial !important;
|
||||
}
|
||||
|
||||
/* set the height on the tabs instead */
|
||||
tab {
|
||||
line-height: 25px;
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
.tabbrowser-tab::after,
|
||||
.tabbrowser-tab::before {
|
||||
border: none !important;
|
||||
color: #141414 !important;
|
||||
opacity: 0.2 !important;
|
||||
}
|
||||
|
||||
.tabbrowser-tab:not([visuallyselected="true"]):not([multiselected]) {
|
||||
color: #777777 !important;
|
||||
}
|
||||
|
||||
.tabbrowser-tab:not([visuallyselected="true"]):not([multiselected]) image {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#tracking-protection-icon-container {
|
||||
border-inline-end:none !important;
|
||||
}
|
||||
|
||||
/* This moves the tabs under the URL bar */
|
||||
#titlebar {
|
||||
-moz-box-ordinal-group: 3 !important;
|
||||
}
|
||||
|
||||
/* page action buttons on hover */
|
||||
#page-action-buttons > *[class^=urlbar-icon]{
|
||||
margin-inline-end: -26px;
|
||||
opacity: 0;
|
||||
transition: margin-inline-end 200ms linear, opacity 200ms linear;
|
||||
}
|
||||
:root[uidensity="compact"] #page-action-buttons > *[class^=urlbar-icon]{ margin-inline-end: -22px; }
|
||||
#page-action-buttons:hover > *[class^=urlbar-icon],
|
||||
#page-action-buttons > *[class^=urlbar-icon][open],
|
||||
#page-action-buttons > *[class^=urlbar-icon][open] ~ *[class^=urlbar-icon]{
|
||||
opacity: 1;
|
||||
margin-inline-end: 0px !important;
|
||||
}
|
||||
|
||||
#pageActionButton, #pageActionSeparator, #reader-mode-button {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* TAB ANIMATION: LOADING PROGRESS LINE INDICATOR */
|
||||
.tabbrowser-tab .tab-loading-burst {
|
||||
background-image: linear-gradient(90deg, transparent, dodgerblue) !important;
|
||||
background-repeat: no-repeat !important;
|
||||
transition: background-size 0.5s ease-out !important;
|
||||
opacity: 0.5s linear !important;
|
||||
background-size: 0px 100% !important;
|
||||
background-position-y: bottom !important;
|
||||
}
|
||||
|
||||
.tabbrowser-tab:not([busy]) .tab-loading-burst {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
.tabbrowser-tab[busy] .tab-loading-burst {
|
||||
background-size: 20% 100% !important;
|
||||
transition: background-size 0.3s ease-out !important;
|
||||
}
|
||||
|
||||
.tabbrowser-tab[busy][progress] .tab-loading-burst {
|
||||
background-size: 100% 100% !important;
|
||||
transition-duration: 2s !important;
|
||||
}
|
||||
|
||||
.tabbrowser-tab[bursting] .tab-loading-burst {
|
||||
background-size: 100% 100% !important;
|
||||
transition-duration: 0.5s !important;
|
||||
}
|
||||
|
||||
|
||||
/* chrome style open urlbar */
|
||||
#nav-bar {
|
||||
height: 37px !important;;
|
||||
}
|
||||
|
||||
#identity-box:hover:not(.no-hover):not([open="true"]), #tracking-protection-icon-container:hover:not([open="true"]){
|
||||
background-color: : transparent !important;;
|
||||
}
|
||||
|
||||
.ac-type-icon
|
||||
{
|
||||
order: 9 !important;
|
||||
margin-inline-start: 16px !important;
|
||||
margin-inline-end: 0 !important;
|
||||
}
|
||||
|
||||
.ac-site-icon
|
||||
{
|
||||
margin-inline-end: 16px !important;
|
||||
}
|
||||
|
||||
.ac-separator
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.ac-title,
|
||||
.ac-url
|
||||
{
|
||||
flex: 1 !important;
|
||||
}
|
||||
|
||||
.search-panel-one-offs
|
||||
{
|
||||
border-radius: 0 0 8px 8px !important;
|
||||
margin-bottom: 18px !important;
|
||||
}
|
||||
|
||||
.search-one-offs
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
#urlbarView-results
|
||||
{
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.urlbarView-row
|
||||
{
|
||||
padding: 0 16px !important;
|
||||
height: 48px !important;
|
||||
border-radius: 0 !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
}
|
||||
|
||||
.urlbarView-row-inner
|
||||
{
|
||||
height: 100% !important;
|
||||
width: 100% !important;
|
||||
grid-template-columns: 32px 1fr 0 0 !important;
|
||||
grid-template-rows: 16px 16px !important;
|
||||
grid-template-areas:
|
||||
"icon title . secondary-icon"
|
||||
"icon secondary . secondary-icon" !important;
|
||||
display: grid !important;
|
||||
align-items: center !important;
|
||||
align-content: center !important;
|
||||
}
|
||||
|
||||
.urlbarView-row[type]
|
||||
{
|
||||
height: 32px !important;
|
||||
}
|
||||
|
||||
.urlbarView-row[type] .urlbarView-row-inner
|
||||
{
|
||||
grid-template-columns: 32px 1fr auto 0 !important;
|
||||
grid-template-rows: auto !important;
|
||||
grid-template-areas:
|
||||
"icon title secondary secondary-icon" !important;
|
||||
}
|
||||
|
||||
.urlbarView-row[type=switchtab] .urlbarView-row-inner
|
||||
{
|
||||
grid-template-columns: 32px 1fr auto 32px !important;
|
||||
}
|
||||
|
||||
.urlbarView-row[type] .urlbarView-url
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.urlbarView-favicon
|
||||
{
|
||||
grid-area: icon !important;
|
||||
}
|
||||
|
||||
.urlbarView-title
|
||||
{
|
||||
padding-inline-end: 8px !important;
|
||||
grid-area: title !important;
|
||||
}
|
||||
|
||||
.urlbarView-title,
|
||||
.urlbarView-url
|
||||
{
|
||||
text-overflow: ellipsis !important;
|
||||
mask-image: none !important;
|
||||
}
|
||||
|
||||
.urlbarView-secondary
|
||||
{
|
||||
grid-area: secondary !important;
|
||||
}
|
||||
|
||||
.urlbarView-type-icon
|
||||
{
|
||||
justify-self: flex-end !important;
|
||||
margin: 0 !important;
|
||||
grid-area: secondary-icon !important;
|
||||
}
|
||||
|
||||
.search-one-offs
|
||||
{
|
||||
padding: 4px !important;
|
||||
display: flex !important;
|
||||
flex-direction: row !important;
|
||||
}
|
||||
|
||||
.search-panel-one-offs-header
|
||||
{
|
||||
margin-inline-start: 12px !important;
|
||||
line-height: 40px !important;
|
||||
transform: translateY(-1px) !important;
|
||||
}
|
||||
|
||||
.search-panel-one-offs
|
||||
{
|
||||
display: inline-flex !important;
|
||||
flex-direction: row !important;
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
float: left !important;
|
||||
}
|
||||
|
||||
.searchbar-engine-one-off-item
|
||||
{
|
||||
height: 32px !important;
|
||||
border-radius: 16px !important;
|
||||
padding: 0 8px !important;
|
||||
margin: 4px !important;
|
||||
background-image: none !important;
|
||||
color: inherit !important;
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
#urlbar-container
|
||||
{
|
||||
max-height: 36px !important;
|
||||
}
|
||||
|
||||
#urlbar,
|
||||
#searchbar
|
||||
{
|
||||
border-radius: 99px !important;
|
||||
background-color: var(--toolbar-field-background-color) !important;
|
||||
border: 0 !important;
|
||||
box-shadow: none !important;
|
||||
background-clip: padding-box !important;
|
||||
min-height: 37x !important;
|
||||
transition: background-color .1s var(--ease-basic) !important;
|
||||
-moz-box-align: center !important;
|
||||
|
||||
display: block !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
#urlbar:not(:-moz-lwtheme),
|
||||
#searchbar:not(:-moz-lwtheme)
|
||||
{
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
#urlbar:hover,
|
||||
#searchbar:hover
|
||||
{
|
||||
background-color: var(--toolbar-field-hover-background-color) !important;
|
||||
}
|
||||
|
||||
#urlbar[focused],
|
||||
#urlbar[open],
|
||||
#searchbar[focused],
|
||||
#searchbar[open]
|
||||
{
|
||||
background-color: var(--toolbar-field-focus-background-color) !important;
|
||||
}
|
||||
|
||||
#urlbar[focused],
|
||||
#searchbar[focused]
|
||||
{
|
||||
border: 2px solid var(--toolbar-field-focus-border-color) !important;
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
#urlbar[open],
|
||||
#searchbar[open]
|
||||
{
|
||||
border: 0 !important;
|
||||
border-radius: 8px !important;
|
||||
min-height: 37px !important;
|
||||
position: relative !important;
|
||||
z-index: 99999 !important;
|
||||
}
|
||||
|
||||
/* 71+ */
|
||||
#urlbar-background
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#urlbar-input-container,
|
||||
#searchbar
|
||||
{
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
}
|
||||
|
||||
.urlbar-input-box,
|
||||
.searchbar-textbox
|
||||
{
|
||||
flex: 1 !important;
|
||||
}
|
||||
|
||||
#urlbar-input
|
||||
{
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
#urlbar[open] #urlbar-input-container
|
||||
{
|
||||
height: 37px !important;
|
||||
}
|
||||
|
||||
#urlbar[open] #identity-box
|
||||
{
|
||||
margin-inline-start: 8px !important;
|
||||
margin-inline-end: 8px !important;
|
||||
}
|
||||
|
||||
.urlbarView
|
||||
{
|
||||
top: 0 !important;
|
||||
left: 0 !important;
|
||||
right: 0 !important;
|
||||
position: relative !important;
|
||||
box-shadow: none !important;
|
||||
border: 0 !important;
|
||||
background: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
--item-padding-start: 0 !important;
|
||||
--item-padding-end: 0 !important;
|
||||
}
|
||||
|
||||
#urlbar[open] .urlbarView
|
||||
{
|
||||
display: block !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
#urlbar-results
|
||||
{
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
#urlbar-container,
|
||||
#searchbar-container
|
||||
{
|
||||
overflow: visible !important;
|
||||
padding: 0 !important;
|
||||
margin-inline: 6px !important;
|
||||
}
|
||||
|
||||
.searchbar-textbox
|
||||
{
|
||||
color: inherit !important;
|
||||
min-height: auto !important;
|
||||
}
|
||||
|
||||
#identity-icon
|
||||
{
|
||||
fill-opacity: 1 !important;
|
||||
}
|
||||
|
||||
#identity-icon-labels
|
||||
{
|
||||
color: inherit !important;
|
||||
opacity: 1 !important;
|
||||
padding: 0 !important;
|
||||
margin-inline-start: 8px !important;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#urlbar-label-box
|
||||
{
|
||||
border: 0 !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
#urlbar[pageproxystate=valid]:not([open]) #identity-box:-moz-any(.notSecureText, .verifiedIdentity, .chromeUI, .extensionPage, .certUserOverridden),
|
||||
#urlbar-label-box
|
||||
{
|
||||
margin-inline-end: 8px !important;
|
||||
}
|
||||
|
||||
#urlbar[pageproxystate=valid]:not([open]) #identity-box:-moz-any(.notSecureText, .verifiedIdentity, .chromeUI, .extensionPage, .certUserOverridden) #identity-icon-labels
|
||||
{
|
||||
display: flex !important;
|
||||
}
|
||||
|
||||
#urlbar[pageproxystate=valid] #identity-box:-moz-any(.notSecureText, .verifiedIdentity, .chromeUI, .extensionPage, .certUserOverridden):not(.no-hover):-moz-any([open], :hover) #identity-icon-labels::after
|
||||
{
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
#urlbar[pageproxystate=valid] #identity-box:-moz-any(
|
||||
.mixedActiveBlocked,
|
||||
.mixedDisplayContentLoadedActiveBlocked,
|
||||
.mixedActiveContent
|
||||
) > #connection-icon
|
||||
{
|
||||
display: -moz-box !important;
|
||||
}
|
||||
|
||||
#urlbar[pageproxystate=valid] #identity-box:-moz-any(.weakCipher, .certUserOverridden, .certErrorPage, .insecureLoginForms, .mixedActiveContent)
|
||||
{
|
||||
color: #c94031 !important;
|
||||
}
|
||||
|
||||
.urlbar-input
|
||||
{
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.searchbar-textbox
|
||||
{
|
||||
border: 0 !important;
|
||||
background: 0 !important;
|
||||
box-shadow: none !important;
|
||||
margin: 0 !important;
|
||||
-moz-appearance: none !important;
|
||||
}
|
||||
|
||||
.searchbar-search-icon
|
||||
{
|
||||
margin: 0 !important;
|
||||
fill-opacity: 1 !important;
|
||||
}
|
||||
|
||||
.searchbar-search-icon-overlay
|
||||
{
|
||||
margin-inline-start: -11px !important;
|
||||
margin-inline-end: 0 !important;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.urlbar-icon-wrapper
|
||||
{
|
||||
background: 0 !important;
|
||||
}
|
||||
|
||||
#tracking-protection-icon-box
|
||||
{
|
||||
transition:
|
||||
background-color .2s var(--ease-basic),
|
||||
width .15s var(--ease-in),
|
||||
opacity .15s var(--ease-basic),
|
||||
visibility 0s .2s !important;
|
||||
opacity: 0 !important;
|
||||
visibility: hidden !important;
|
||||
width: 0 !important;
|
||||
}
|
||||
|
||||
#urlbar:hover #tracking-protection-icon-box,
|
||||
#tracking-protection-icon-container[open] #tracking-protection-icon-box,
|
||||
#tracking-protection-icon-box[active]
|
||||
{
|
||||
transition:
|
||||
background-color .2s var(--ease-basic),
|
||||
width .3s var(--ease-out),
|
||||
opacity .3s var(--ease-basic) !important;
|
||||
opacity: 1 !important;
|
||||
visibility: visible !important;
|
||||
width: 16px !important;
|
||||
}
|
||||
|
||||
|
||||
#identity-box #notification-popup-box
|
||||
{
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.urlbar-icon:hover:not([disabled]),
|
||||
#page-action-buttons > toolbarbutton:hover:not([disabled]),
|
||||
.searchbar-search-button:hover,
|
||||
#identity-box:hover:not(.no-hover),
|
||||
#tracking-protection-icon-container:hover #tracking-protection-icon-box
|
||||
{
|
||||
background-color: var(--toolbarbutton-hover-background) !important;
|
||||
}
|
||||
|
||||
.urlbar-icon:hover:active:not([disabled]),
|
||||
.urlbar-icon[open],
|
||||
#page-action-buttons > toolbarbutton:hover:active:not([disabled]),
|
||||
.searchbar-search-button:hover:active,
|
||||
#identity-box:hover:active:not(.no-hover),
|
||||
#identity-box[open]:not(.no-hover),
|
||||
#tracking-protection-icon-container[open] #tracking-protection-icon-box
|
||||
{
|
||||
background-color: var(--toolbarbutton-active-background) !important;
|
||||
transition-duration: 0 !important;
|
||||
}
|
||||
|
||||
#contextual-feature-recommendation
|
||||
{
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.urlbar-page-action:-moz-any(
|
||||
#pageActionButton,
|
||||
#pageAction-urlbar-screenshots_mozilla_org,
|
||||
#pageAction-urlbar-addSearchEngine
|
||||
)
|
||||
{
|
||||
transition:
|
||||
background-color .2s var(--ease-basic),
|
||||
margin .15s var(--ease-in),
|
||||
opacity .15s var(--ease-basic),
|
||||
visibility 0s .2s !important;
|
||||
opacity: 0 !important;
|
||||
visibility: hidden !important;
|
||||
margin-inline-start: -32px !important;
|
||||
}
|
||||
|
||||
#urlbar:hover .urlbar-page-action:-moz-any(
|
||||
#pageActionButton,
|
||||
#pageAction-urlbar-screenshots_mozilla_org,
|
||||
#pageAction-urlbar-addSearchEngine
|
||||
),
|
||||
.urlbar-page-action:-moz-any(
|
||||
#pageActionButton,
|
||||
#pageAction-urlbar-screenshots_mozilla_org,
|
||||
#pageAction-urlbar-addSearchEngine
|
||||
):-moz-any(:hover, [open], [readeractive]),
|
||||
.urlbar-page-action:-moz-any(:hover, [open]) ~ .urlbar-page-action:-moz-any(
|
||||
#pageActionButton,
|
||||
#pageAction-urlbar-screenshots_mozilla_org,
|
||||
#pageAction-urlbar-addSearchEngine),
|
||||
#tracking-protection-icon-container[open] ~ #page-action-buttons .urlbar-page-action:-moz-any(
|
||||
#pageActionButton,
|
||||
#pageAction-urlbar-screenshots_mozilla_org,
|
||||
#pageAction-urlbar-addSearchEngine)
|
||||
{
|
||||
transition:
|
||||
background-color .2s var(--ease-basic),
|
||||
margin .3s var(--ease-out),
|
||||
opacity .3s var(--ease-basic) !important;
|
||||
opacity: 1 !important;
|
||||
visibility: visible !important;
|
||||
margin-inline-start: 0 !important;
|
||||
}
|
||||
|
||||
.urlbar-display
|
||||
{
|
||||
color: inherit !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
#star-button-animatable-box
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#userContext-label
|
||||
{
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
#userContext-label + #userContext-indicator
|
||||
{
|
||||
margin-inline-start: 6px !important;
|
||||
}
|
||||
|
||||
.search-go-container
|
||||
{
|
||||
display: flex !important;
|
||||
}
|
||||
|
||||
#searchbar .textbox-input
|
||||
{
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
#urlbar-input,
|
||||
#searchbar-input,
|
||||
.searchbar-textbox /* < 71 */
|
||||
{
|
||||
transform: translateY(var(--input-offset)) !important;
|
||||
}
|
||||
|
||||
#urlbar,
|
||||
#searchbar
|
||||
{
|
||||
--input-offset: -1px;
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
@-moz-document url(about:blank), url(about:newtab), url(about:home) {
|
||||
html:not(#ublock0-epicker), html:not(#ublock0-epicker) body, #newtab-customize-overlay {
|
||||
background: #121212 !important;
|
||||
}
|
||||
|
||||
:root{
|
||||
scrollbar-width: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document url(about:privatebrowsing) {
|
||||
:root{
|
||||
scrollbar-width: none !important;
|
||||
}
|
||||
}
|
|
@ -1,140 +0,0 @@
|
|||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
:root {
|
||||
--tabs-border: #212121 !important;
|
||||
/* active tab left & right borders - not working in 58?*/
|
||||
--toolbox-border-bottom-color: #212121 !important;
|
||||
/* 1px line under background tabs */
|
||||
--chrome-nav-bar-controls-border-color: #212121 !important;
|
||||
/* border around url bar */
|
||||
}
|
||||
|
||||
:root:not([customizing]) #nav-bar toolbarbutton {
|
||||
margin-left: -28px !important;
|
||||
opacity: 0 !important;
|
||||
transform: scale(0.85, 0.85) !important;
|
||||
pointer-events: none !important;
|
||||
transition: all 100ms var(--animation-easing-function) !important;
|
||||
}
|
||||
|
||||
:root:not([customizing]) :hover > #nav-bar toolbarbutton,
|
||||
:root:not([customizing]) #navigator-toolbox:focus-within #nav-bar toolbarbutton,
|
||||
:root:not([customizing]) :hover > #titlebar toolbarbutton {
|
||||
transform: scale(1, 1) !important;
|
||||
opacity: 1 !important;
|
||||
margin-left: 0 !important;
|
||||
pointer-events: auto !important;
|
||||
}
|
||||
|
||||
:root[lwt-popup-brighttext] {
|
||||
--panel-separator-color: #212121 !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
#nav-bar,
|
||||
.sidebar-placesTree,
|
||||
#sidebar-header {
|
||||
background-color: rgb(12, 12, 13) !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
#sidebar-header {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
textbox {
|
||||
background-color: #212121 !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
window#main-window {
|
||||
--tabs-navbar-shadow-size: 0px !important;
|
||||
--chrome-content-separator-color: none !important;
|
||||
--backbutton-background: none !important;
|
||||
--toolbar-bgcolor: #212121 !important;
|
||||
--lwt-toolbar-field-background-color: #212121 !important;
|
||||
--arrowpanel-background: #212121 !important;
|
||||
--arrowpanel-border-color: #212121 !important;
|
||||
--lwt-sidebar-background-color: #212121 !important;
|
||||
}
|
||||
|
||||
#main-window[lwthemetextcolor="bright"] #urlbar,
|
||||
#main-window[lwthemetextcolor="bright"] .searchbar-textbox {
|
||||
box-shadow: initial !important;
|
||||
background-color: rgb(12, 12, 13) !important;
|
||||
transition: background-color 0.3s !important;
|
||||
font-size: 8pt !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
#main-window[lwthemetextcolor="bright"] #urlbar:focus-within,
|
||||
#main-window[lwthemetextcolor="bright"] .searchbar-textbox:focus-within {
|
||||
background-color: rgb(12, 12, 13) !important;
|
||||
border-color: transparent !important;
|
||||
border-image: none !important;
|
||||
}
|
||||
|
||||
#main-window[lwthemetextcolor="bright"] #urlbar:hover,
|
||||
#main-window[lwthemetextcolor="bright"] .searchbar-textbox:hover {
|
||||
box-shadow: initial !important;
|
||||
background-color: rgb(12, 12, 13) !important;
|
||||
border-color: transparent !important;
|
||||
border-image: none !important;
|
||||
}
|
||||
|
||||
#urlbar[focused="true"],
|
||||
#urlbar:hover,
|
||||
.searchbar-textbox:hover {
|
||||
box-shadow: 0 0 0 !important;
|
||||
border: 1 solid #535c5c !important;
|
||||
}
|
||||
|
||||
#tabbrowser-tabs .tabbrowser-tab .tab-close-button {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Removal of black bottom 1px line */
|
||||
#navigator-toolbox::after {
|
||||
border-bottom: 0px !important;
|
||||
}
|
||||
|
||||
/* hide the one pixel top border for tabs */
|
||||
.tab-background {
|
||||
border-top: none !important;
|
||||
}
|
||||
|
||||
/* hide tab bar if only one tab */
|
||||
tab:only-of-type {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tabbrowser-tab {
|
||||
font-size: 8pt !important;
|
||||
}
|
||||
|
||||
/* unset the tab bar min-height */
|
||||
#tabbrowser-tabs,
|
||||
#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
|
||||
#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
|
||||
min-height: initial !important;
|
||||
}
|
||||
|
||||
.tabbrowser-tab::after,
|
||||
.tabbrowser-tab::before {
|
||||
border: none !important;
|
||||
color: #141414 !important;
|
||||
opacity: 0.2 !important;
|
||||
}
|
||||
|
||||
.tabbrowser-tab:not([visuallyselected="true"]):not([multiselected]) {
|
||||
color: #777777 !important;
|
||||
}
|
||||
|
||||
.tabbrowser-tab:not([visuallyselected="true"]):not([multiselected]) image {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* This moves the tabs under the URL bar */
|
||||
#titlebar {
|
||||
-moz-box-ordinal-group: 3 !important;
|
||||
}
|
53
.tmux.conf
53
.tmux.conf
|
@ -15,7 +15,7 @@ set-option -g history-limit 102400
|
|||
# Ventanas
|
||||
set -g base-index 1
|
||||
set -g renumber-windows on
|
||||
set -g allow-rename on
|
||||
set -g allow-rename on
|
||||
setw -g automatic-rename on
|
||||
|
||||
# Panes
|
||||
|
@ -32,8 +32,6 @@ set -g bell-action none
|
|||
# Vi
|
||||
set -g mode-keys vi
|
||||
set -g status-keys vi
|
||||
bind-key [ copy-mode
|
||||
bind-key ] paste-buffer
|
||||
|
||||
# Statusbar
|
||||
setw -g pane-border-status bottom
|
||||
|
@ -41,7 +39,7 @@ setw -g pane-border-format '─'
|
|||
setw -g automatic-rename-format "#{s/zsh//:pane_current_command}"
|
||||
setw -g pane-border-style 'fg=#080808'
|
||||
setw -g pane-active-border-style 'fg=#080808'
|
||||
set -g mode-style fg=black,bg=yellow
|
||||
set -g mode-style fg=black,bg=yellow
|
||||
set -g message-command-style bg=colour0,fg=colour13
|
||||
set -g message-style bg=default,fg=default
|
||||
set -g status-style bg=default,fg=colour7
|
||||
|
@ -68,7 +66,7 @@ set -g prefix M-a
|
|||
bind-key M-a send-prefix
|
||||
|
||||
# Varios
|
||||
bind-key ? list-keys
|
||||
bind-key ? list-keys
|
||||
bind-key D detach-client
|
||||
bind-key : command-prompt
|
||||
bind-key R respawn-window
|
||||
|
@ -76,18 +74,16 @@ bind-key T command-prompt 'rename-window %%'
|
|||
bind-key S command-prompt 'rename-session %%'
|
||||
bind-key r source-file $HOME/.tmux.conf \; display "Config Reloaded"
|
||||
|
||||
# Redimensionar usando alt-flecha sin prefijo
|
||||
bind-key -nr M-Left resize-pane -L 2
|
||||
bind-key -nr M-Right resize-pane -R 2
|
||||
bind-key -nr M-Up resize-pane -U 2
|
||||
bind-key -nr M-Down resize-pane -D 2
|
||||
bind-key -n M-z resize-pane -Z
|
||||
# Redimensionar usando shift+vimkeys con prefijo
|
||||
bind-key -r H resize-pane -L 2
|
||||
bind-key -r L resize-pane -R 2
|
||||
bind-key -r K resize-pane -U 2
|
||||
bind-key -r J resize-pane -D 2
|
||||
bind-key * resize-pane -Z
|
||||
|
||||
# Trocar panes usando alt-shift-flecha sin prefijo
|
||||
bind-key -n M-S-Left swap-pane -s {left-of}
|
||||
bind-key -n M-S-Right swap-pane -s {right-of}
|
||||
bind-key -n M-S-Up swap-pane -U
|
||||
bind-key -n M-S-Down swap-pane -D
|
||||
# Trocar panes
|
||||
bind-key < swap-pane -U
|
||||
bind-key > swap-pane -D
|
||||
|
||||
# Dividir
|
||||
bind-key | split-window -h -c "#{pane_current_path}"
|
||||
|
@ -100,24 +96,26 @@ bind-key = select-layout even-vertical
|
|||
bind-key x kill-pane
|
||||
bind-key X kill-window
|
||||
bind-key Z kill-session
|
||||
bind-key Q kill-server
|
||||
bind-key Q kill-server
|
||||
|
||||
# Movimiento de ventanas
|
||||
bind-key -n C-left prev
|
||||
bind-key -n C-right next
|
||||
# Ventanas
|
||||
bind-key C-h prev
|
||||
bind-key C-l next
|
||||
bind-key -n M-< swap-window -t -1
|
||||
bind-key -n M-> swap-window -t +1
|
||||
bind-key Enter new-window
|
||||
bind-key Tab choose-window
|
||||
bind-key d display-panes
|
||||
bind-key w choose-tree -Zw "swap-window -t '%%'"
|
||||
bind-key s choose-tree -Zw "swap-pane -t '%%'"
|
||||
bind-key m choose-tree -Zw "move-pane -t '%%'"
|
||||
bind-key d display-panes
|
||||
bind-key w choose-tree -Zw "swap-window -t '%%'"
|
||||
bind-key s choose-tree -Zw "swap-pane -t '%%'"
|
||||
bind-key m choose-tree -Zw "move-pane -t '%%'"
|
||||
|
||||
# Copy/paste. Seleccionar texto con el mouse lo copia automaticamente al clipboard
|
||||
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xsel -i -p -b"
|
||||
bind-key -n M-S-v run "xsel -o | tmux load-buffer - ; tmux paste-buffer"
|
||||
bind-key p run "xsel -o | tmux load-buffer - ; tmux paste-buffer"
|
||||
bind-key [ copy-mode
|
||||
bind-key ] paste-buffer
|
||||
|
||||
# Prender y apagar statusbar
|
||||
bind-key & set-option -g status
|
||||
|
@ -133,8 +131,9 @@ bind-key & set-option -g status
|
|||
# | Yes | No | Seamlessly focus Vim / tmux |
|
||||
# | Yes | Yes | Focus directional Vim split |
|
||||
# +-------------+------------+-----------------------------+
|
||||
#
|
||||
vim_navigation_timeout=0.1 # number of seconds we give Vim to navigate
|
||||
|
||||
# number of seconds we give Vim to navigate
|
||||
vim_navigation_timeout=0.1
|
||||
navigate=' \
|
||||
pane_is_zoomed() { \
|
||||
test #{window_zoomed_flag} -eq 1; \
|
||||
|
@ -189,7 +188,7 @@ bind-key -n M-h run-shell -b "$navigate_left"
|
|||
bind-key -n M-j run-shell -b "$navigate_down"
|
||||
bind-key -n M-k run-shell -b "$navigate_up"
|
||||
bind-key -n M-l run-shell -b "$navigate_right"
|
||||
bind-key -n M-\ run-shell -b "$navigate_back"
|
||||
bind-key -n M-\\ run-shell -b "$navigate_back"
|
||||
|
||||
# Mejor soporte para mouse
|
||||
set -g @prevent-scroll-for-fullscreen-alternate-buffer 'on'
|
||||
|
|
12
.zshrc
12
.zshrc
|
@ -16,13 +16,15 @@ promptinit
|
|||
|
||||
autoload -U colors && colors
|
||||
|
||||
autoload -Uz url-quote-magic
|
||||
zle -N self-insert url-quote-magic
|
||||
|
||||
unsetopt CASE_GLOB
|
||||
unsetopt FLOW_CONTROL
|
||||
setopt GLOBDOTS
|
||||
setopt NUMERICGLOBSORT
|
||||
setopt AUTOCD
|
||||
setopt EXTENDEDGLOB
|
||||
autoload -Uz url-quote-magic
|
||||
zle -N self-insert url-quote-magic
|
||||
setopt BRACE_CCL
|
||||
setopt COMBINING_CHARS
|
||||
setopt RC_QUOTES
|
||||
|
@ -39,24 +41,21 @@ setopt AUTO_MENU
|
|||
setopt AUTO_LIST
|
||||
setopt AUTO_PARAM_SLASH
|
||||
setopt COMPLETE_ALIASES
|
||||
unsetopt FLOW_CONTROL
|
||||
setopt MARK_DIRS
|
||||
setopt LIST_PACKED
|
||||
setopt MAGIC_EQUAL_SUBST
|
||||
setopt NO_NOMATCH
|
||||
setopt AUTO_CONTINUE
|
||||
|
||||
stty -ixon > /dev/null 2>/dev/null
|
||||
# }}}
|
||||
# Autocompletar {{{
|
||||
zstyle ':completion:*' list-colors $LS_COLORS
|
||||
zstyle ':completion:*' menu select
|
||||
zstyle ':completion:*' group-name ''
|
||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||
zstyle ':completion:*' verbose true
|
||||
zstyle ':completion:*' format $'\n %F{yellow}--- %d ---%f'
|
||||
zstyle ':completion:*' list-separator "--"
|
||||
zstyle ':completion:*' list-dirs-first true
|
||||
zstyle ':completion:*:*:*:default' menu yes select search
|
||||
zstyle ':completion:*:default' list-prompt '%S%M matches%s'
|
||||
zstyle ':completion:*:default' select-prompt ' --- Match %M %P ---'
|
||||
zstyle ':completion:*:options' description 'yes'
|
||||
|
@ -96,6 +95,7 @@ zstyle ':completion:*:functions' ignored-patterns '(_*|pre(cm
|
|||
zstyle ':completion:*' accept-exact '*(N)'
|
||||
zstyle ':completion:*' ignore-parents pwd
|
||||
zstyle ':completion:*' rehash true
|
||||
zmodload -i zsh/complist
|
||||
# }}}
|
||||
# Historial {{{
|
||||
export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help:* --version:* -v:man *:up:rtv *"
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euf -o pipefail
|
||||
|
||||
case $1 in
|
||||
on) simple-mtpfs --device 1 ~/cel/ ;;
|
||||
off) fusermount -u ~/cel/ ;;
|
||||
*) echo "Can't help you with that" ;;
|
||||
esac
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
pgrep -u "$USER" >/dev/null || exit
|
||||
pgrep -u "{$USER:=$LOGNAME}" >/dev/null || exit
|
||||
pgrep -x mbsync >/dev/null && exit
|
||||
ping -q -c 1 1.1.1.1 > /dev/null || exit
|
||||
|
||||
|
@ -16,7 +16,7 @@ syncandnotify() {
|
|||
# Extract subject and sender from mail.
|
||||
from=$(awk '/^From: / && ++n ==1,/^\<.*\>:/' "$file" | perl -CS -MEncode -ne 'print decode("MIME-Header", $_)' | awk '{ $1=""; if (NF>=3)$NF=""; print $0 }' | sed 's/^[[:blank:]]*[\"'\''\<]*//;s/[\"'\''\>]*[[:blank:]]*$//')
|
||||
subject=$(awk '/^Subject: / && ++n == 1,/^\<.*\>: / && ++i == 2' "$file" | head -n-1 | perl -CS -MEncode -ne 'print decode("MIME-Header", $_)' | sed 's/^Subject: //' | sed 's/^{[[:blank:]]*[\"'\''\<]*//;s/[\"'\''\>]*[[:blank:]]*$//' | tr -d '\n')
|
||||
notify-send -i ~/Pictures/.icn/correo.png "New message in $acc" "$from: $subject" &
|
||||
notify-send --apn-name="neomutt" -i ~/Pictures/.icn/correo.png "New message in $acc" "$from: $subject" &
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euf -o pipefail
|
||||
|
||||
rofi_command="rofi -theme customenu"
|
||||
|
||||
### Options ###
|
||||
shutdown="shutdown"
|
||||
reboot="reboot"
|
||||
lock="lock"
|
||||
log_out="log out"
|
||||
# Variable passed to rofi
|
||||
options="$shutdown\n$reboot\n$lock\n$log_out"
|
||||
|
||||
chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 2)"
|
||||
case $chosen in
|
||||
$shutdown)
|
||||
systemctl poweroff
|
||||
;;
|
||||
$reboot)
|
||||
systemctl reboot
|
||||
;;
|
||||
$lock)
|
||||
exeflock4
|
||||
;;
|
||||
$log_out)
|
||||
bspc quit 1
|
||||
;;
|
||||
esac
|
Reference in New Issue