hello gitlab
This commit is contained in:
parent
90bb74f768
commit
851b412452
|
@ -1,6 +1,6 @@
|
|||
! special
|
||||
*.foreground: #d3d7cf
|
||||
*.background: #050505
|
||||
*.background: #080808
|
||||
*.cursorColor: #e0d0c3
|
||||
|
||||
! black
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
<?xml encoding="UTF-8" version="1.0"?>
|
||||
<actions>
|
||||
<action>
|
||||
<icon>Terminal</icon>
|
||||
<icon>utilities-terminal</icon>
|
||||
<name>Terminal</name>
|
||||
<unique-id>1367866030392833-1</unique-id>
|
||||
<unique-id>1530489151398985-1</unique-id>
|
||||
<command>exo-open --working-directory %f --launch TerminalEmulator</command>
|
||||
<description></description>
|
||||
<patterns>*</patterns>
|
||||
<directories/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>stock_folder</icon>
|
||||
<icon>gcr-password</icon>
|
||||
<name>Thunar Root</name>
|
||||
<unique-id>1367866030392883-2</unique-id>
|
||||
<unique-id>1530489181576302-2</unique-id>
|
||||
<command>pkexec thunar %f</command>
|
||||
<description>Thunar Root</description>
|
||||
<patterns>*</patterns>
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
hsetroot -fill /home/deadguy/Pictures/wallpaper/keepcalm.png &
|
||||
hsetroot -fill /home/deadguy/Pictures/wallpaper/totoro.png &
|
||||
xsetroot -cursor_name left_ptr &
|
||||
~/.config/polybar/launch.sh &
|
||||
#compton -b &
|
||||
sleep 2s
|
||||
nm-applet &
|
||||
redshift -c ~/.config/redshift/redshift.conf &
|
||||
dunst -conf ~/.config/dunst/dunstrc &
|
||||
sleep 5s
|
||||
|
|
|
@ -4,20 +4,22 @@
|
|||
|
||||
gap=8
|
||||
pad=6
|
||||
panel=22
|
||||
b_width=2
|
||||
export b_width
|
||||
export gap
|
||||
export pad
|
||||
export panel
|
||||
|
||||
# Setting -$gap on *_padding creates negative padding equal to window gap so that gaps are shown only between windows and not on desktop edges.
|
||||
bspc config window_gap $gap
|
||||
bspc config top_padding $pad
|
||||
bspc config left_padding $pad
|
||||
bspc config right_padding $pad
|
||||
bspc config bottom_padding $pad
|
||||
bspc config window_gap $gap
|
||||
bspc config top_padding $(($panel-$gap))
|
||||
#bspc config left_padding -$gap
|
||||
#bspc config right_padding -$gap
|
||||
#bspc config bottom_padding -$gap
|
||||
|
||||
# Settings
|
||||
bspc config paddingless_monocle true
|
||||
bspc config paddingless_monocle false
|
||||
bspc config gapless_monocle true
|
||||
bspc config borderless_monocle true
|
||||
bspc config single_monocle true
|
||||
|
@ -77,7 +79,6 @@ bspc rule -a Zathura state=tiled
|
|||
bspc rule -a Oblogout manage=off
|
||||
|
||||
# Run in place
|
||||
bspc rule -a Termite desktop=^1
|
||||
bspc rule -a Firefox desktop=^2
|
||||
bspc rule -a Thunar desktop=^3
|
||||
|
||||
|
|
|
@ -1,17 +1,15 @@
|
|||
backend = "glx";
|
||||
backend = "xrender";
|
||||
paint-on-overlay = true;
|
||||
vsync = "opengl-swc";
|
||||
vsync = "none";
|
||||
refresh-rate = 0;
|
||||
glx-copy-from-front = false;
|
||||
sw-opti = true;
|
||||
glx-use-copysubbuffermesa = true;
|
||||
glx-swap-method = "buffer-age";
|
||||
glx-swap-method = "undefined";
|
||||
|
||||
shadow = true;
|
||||
shadow-radius = 8;
|
||||
shadow-radius = 0;
|
||||
shadow-offset-x = -0.3;
|
||||
shadow-offset-y = -0.3;
|
||||
shadow-opacity = 0.6;
|
||||
shadow-opacity = 1;
|
||||
no-dock-shadow = true;
|
||||
no-dnd-shadow = true;
|
||||
clear-shadow = true;
|
||||
|
@ -21,25 +19,26 @@ frame-opacity = 0.8;
|
|||
active-opacity = 1.0;
|
||||
inactive-opacity = 0.85;
|
||||
inactive-dim = 0.2;
|
||||
alpha-step = 0.06;
|
||||
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
shadow-ignore-shaped = false;
|
||||
inactive-opacity-override = false;
|
||||
mark-wmwin-focused = true;
|
||||
use-ewmh-active-win = false;
|
||||
mark-ovredir-focused = true;
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
dbe = false;
|
||||
|
||||
fading = true;
|
||||
fade-delta = 15;
|
||||
fade-in-step = 0.055;
|
||||
fade-out-step = 0.06;
|
||||
fade-in-step = 0.03;
|
||||
fade-out-step = 0.03;
|
||||
|
||||
blur-background = true;
|
||||
blur-background-frame = false;
|
||||
blur-background-fixed = false;
|
||||
blur-kern = "3,3,1,1,1,1,1,1,1,1";
|
||||
blur-kern = "3x3box";
|
||||
|
||||
opacity-rule = [
|
||||
"40:class_g = 'Bspwm' && class_i = 'presel_feedback'",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
mainwindow_position = center
|
||||
mainwindow_yoffset = -260
|
||||
mainwindow_xoffset = 22
|
||||
mainwindow_xoffset = 570
|
||||
mainwindow_skip_taskbar = 0
|
||||
close_on_unfocus = 1
|
||||
force_lang = es_AR.utf8
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Default index colors:
|
||||
color index yellow default '.*'
|
||||
color index_author red default '.*'
|
||||
color index_author brightgreen default '.*'
|
||||
color index_number blue default
|
||||
color index_subject cyan default '.*'
|
||||
|
||||
|
@ -13,7 +13,7 @@ color index_subject brightcyan black "~N"
|
|||
|
||||
# Header colors:
|
||||
color header blue default ".*"
|
||||
color header brightmagenta default "^(From)"
|
||||
color header brightyellow default "^(From)"
|
||||
color header brightcyan default "^(Subject)"
|
||||
color header brightwhite default "^(CC|BCC)"
|
||||
|
||||
|
|
|
@ -1,98 +1,44 @@
|
|||
# vim: filetype=neomuttrc
|
||||
|
||||
# This is the general mutt config which has the settings that all accounts use.
|
||||
bind index,pager i noop
|
||||
bind index,pager g noop
|
||||
bind index \Cf noop
|
||||
|
||||
source etc/muttcol
|
||||
source etc/aliases
|
||||
source ~/.config/mutt/gpg.rc
|
||||
|
||||
# Config -----------------------------------------
|
||||
set sleep_time = 0
|
||||
set sort = 'reverse-date'
|
||||
set editor = $EDITOR
|
||||
#set copy = no
|
||||
set timeout = "5"
|
||||
set mail_check = "7200"
|
||||
set mail_check = "10"
|
||||
set mailcap_path = ~/.config/mutt/etc/mailcap
|
||||
set date_format ="%a %d %b"
|
||||
set index_format ="%2C %Z %?X?A& ? %D %-45.45F %s (%-4.4c)"
|
||||
set alias_format = " %4n %t %-20a %r "
|
||||
set date_format="%m/%d %I:%M"
|
||||
set index_format="%2C %Z %?X?A& ? %D %-15.15F %s (%-4.4c)"
|
||||
set markers = no
|
||||
set mark_old = no
|
||||
set mime_forward = yes
|
||||
set smtp_authenticators = 'gssapi:login'
|
||||
set wait_key = no
|
||||
auto_view text/html
|
||||
auto_view application/pdf
|
||||
alternative_order text/plain text/enriched text/html
|
||||
set rfc2047_parameters = yes
|
||||
set pipe_decode
|
||||
set thorough_search
|
||||
set send_charset="utf-8"
|
||||
set check_new = yes
|
||||
set smart_wrap = yes
|
||||
set allow_ansi = yes
|
||||
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
|
||||
|
||||
# "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"'
|
||||
|
||||
folder-hook .*[sS]ent.* "$my_index_format_pre"t"$my_index_format_post"
|
||||
folder-hook ! .*[sS]ent.* "$my_index_format_pre"F"$my_index_format_post"
|
||||
|
||||
# Index Options -----------------------------------------
|
||||
set sort = threads # like gmail
|
||||
set sort_aux = reverse-last-date-received # like gmail
|
||||
set uncollapse_jump # don't collapse on an unread message
|
||||
set sort_re # thread based on regex
|
||||
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
|
||||
|
||||
# Header Options -------------------------------------
|
||||
set hdrs
|
||||
ignore "Authentication-Results:"
|
||||
ignore "DomainKey-Signature:"
|
||||
ignore "DKIM-Signature:"
|
||||
unignore from: to: cc: date: subject: # show only these
|
||||
unhdr_order * # some distros order things by default
|
||||
hdr_order date: from: to: date: subject: cc: # and in this order
|
||||
unignore x-mailing-list: posted-to:
|
||||
unignore x-mailer:
|
||||
|
||||
# Status Bar -----------------------------------------
|
||||
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 ├───"
|
||||
color status magenta default
|
||||
|
||||
# Composing Mail -------------------------------------
|
||||
set envelope_from # which from?
|
||||
set fast_reply # skip to compose when replying
|
||||
set sendmail_wait = 1 # wait for sending... to complete
|
||||
#set askcc # ask for CC:
|
||||
set attribution = "El %d, %n escribio:" # set the attribution
|
||||
set reply_to # reply to Reply to: field
|
||||
set skip_quoted_offset = 3
|
||||
|
||||
# General remappings
|
||||
bind editor <space> noop
|
||||
bind index G last-entry
|
||||
bind index gg first-entry
|
||||
bind pager j next-line
|
||||
bind pager k previous-line
|
||||
bind pager gg top
|
||||
bind pager <up> previous-line
|
||||
bind pager <down> next-line
|
||||
bind pager G bottom
|
||||
bind pager <left> previous-undeleted
|
||||
bind pager <right> next-undeleted
|
||||
bind index D half-down
|
||||
bind index U half-up
|
||||
bind index d delete-message
|
||||
bind index u undelete-message
|
||||
bind index d half-down
|
||||
bind index u half-up
|
||||
bind index D delete-message
|
||||
bind index U undelete-message
|
||||
bind index F search
|
||||
bind index,pager R group-reply
|
||||
bind index <left> previous-unread
|
||||
bind index <right> next-unread
|
||||
bind index,pager R group-reply
|
||||
macro index,pager S '<sync-mailbox>
|
||||
macro index,pager S '<sync-mailbox><shell-escape>pkill -RTMIN+12 i3blocks<enter>'
|
||||
macro index,pager \Cu |urlview\n
|
||||
|
||||
# View attachments properly.
|
||||
|
@ -110,8 +56,8 @@ set include # include message in replies
|
|||
macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
|
||||
|
||||
#sync email
|
||||
macro index O "<shell-escape>offlineimap<enter>" "run offlineimap to sync all mail"
|
||||
macro index o "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox"
|
||||
macro index O "<shell-escape>$HOME/.config/mutt/etc/mailsync.sh<enter>" "run offlineimap to sync all mail"
|
||||
macro index o "<shell-escape>$HOME/.config/mutt/etc/mailsync.sh -qf INBOX<enter>" "run offlineimap to sync inbox"
|
||||
|
||||
#copy/move dialogs
|
||||
macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
|
||||
|
@ -128,23 +74,13 @@ set sidebar_short_path = yes
|
|||
set sidebar_next_new_wrap = yes
|
||||
set mail_check_stats
|
||||
set sidebar_format = '%B%?F? [%F]?%* %?N?%N/? %?S?%S?'
|
||||
bind index,pager k sidebar-prev
|
||||
bind index,pager j sidebar-next
|
||||
bind index,pager l sidebar-open
|
||||
bind index,pager \Ck sidebar-prev
|
||||
bind index,pager \Cj sidebar-next
|
||||
bind index,pager \Co sidebar-open
|
||||
bind index,pager <F3> sidebar-page-up
|
||||
bind index,pager <F4> sidebar-page-down
|
||||
bind index,pager \Cp sidebar-prev-new
|
||||
bind index,pager \Cn sidebar-next-new
|
||||
bind index,pager B sidebar-toggle-visible
|
||||
|
||||
macro index,pager \CL "<enter-command>$my_index_format_pre"F"$my_index_format_post<enter><redraw-screen>"
|
||||
|
||||
macro attach 'V' "<pipe-entry>cat >~/.cache/mutt/mail.html && $BROWSER ~/.cache/mutt/mail.html && rm ~/.cache/mutt/mail.html<enter>"
|
||||
|
||||
macro index,pager U "<enter-command>set pipe_decode = yes<enter><pipe-message>urlview<enter><enter-command>set pipe_decode = no<enter>""view URLs"
|
||||
|
||||
macro index,pager \cb "<enter-command> set my_pdsave=\$pipe_decode<enter>\
|
||||
<enter-command> unset pipe_decode<enter>\
|
||||
<pipe-message>extract_url<enter>\
|
||||
<enter-command> set pipe_decode=\$my_pdsave<enter>" "get URLs"
|
||||
|
||||
|
||||
source personal.muttrc
|
||||
|
|
|
@ -0,0 +1,85 @@
|
|||
# vim: filetype=neomuttrc
|
||||
|
||||
source ~/.config/mutt/gpg.rc
|
||||
|
||||
set date_format ="%a %d %b %R"
|
||||
set index_format ="%2C %Z %?X?A& ? %D %-45.45F %s (%-4.4c)"
|
||||
set alias_format = " %4n %t %-20a %r "
|
||||
|
||||
set pipe_decode
|
||||
set thorough_search
|
||||
set send_charset="utf-8"
|
||||
set check_new = yes
|
||||
set smart_wrap = yes
|
||||
set allow_ansi = yes
|
||||
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
|
||||
|
||||
# "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"'
|
||||
|
||||
folder-hook .*[sS]ent.* "$my_index_format_pre"t"$my_index_format_post"
|
||||
folder-hook ! .*[sS]ent.* "$my_index_format_pre"F"$my_index_format_post"
|
||||
|
||||
# Index Options -----------------------------------------
|
||||
set sort = threads # like gmail
|
||||
set sort_aux = reverse-last-date-received # like gmail
|
||||
set uncollapse_jump # don't collapse on an unread message
|
||||
set sort_re # thread based on regex
|
||||
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
|
||||
|
||||
# Header Options -------------------------------------
|
||||
set hdrs
|
||||
ignore "Authentication-Results:"
|
||||
ignore "DomainKey-Signature:"
|
||||
ignore "DKIM-Signature:"
|
||||
unignore from: to: cc: date: subject: # show only these
|
||||
unhdr_order * # some distros order things by default
|
||||
hdr_order date: from: to: date: subject: cc: # and in this order
|
||||
unignore x-mailing-list: posted-to:
|
||||
unignore x-mailer:
|
||||
|
||||
# Status Bar -----------------------------------------
|
||||
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 ├───"
|
||||
color status magenta default
|
||||
|
||||
# Composing Mail -------------------------------------
|
||||
set envelope_from # which from?
|
||||
set fast_reply # skip to compose when replying
|
||||
set sendmail_wait = 1 # wait for sending... to complete
|
||||
#set askcc # ask for CC:
|
||||
set attribution = "El %d, %n escribio:" # set the attribution
|
||||
set reply_to # reply to Reply to: field
|
||||
set skip_quoted_offset = 3
|
||||
|
||||
bind pager <up> previous-line
|
||||
bind pager <down> next-line
|
||||
bind pager <left> previous-undeleted
|
||||
bind pager <right> next-undeleted
|
||||
bind index D half-down
|
||||
bind index U half-up
|
||||
bind index d delete-message
|
||||
bind index u undelete-message
|
||||
bind index <left> previous-unread
|
||||
bind index <right> next-unread
|
||||
bind index,pager R group-reply
|
||||
macro index,pager S '<sync-mailbox>
|
||||
bind index,pager k sidebar-prev
|
||||
bind index,pager j sidebar-next
|
||||
bind index,pager l sidebar-open
|
||||
|
||||
macro index,pager \CL "<enter-command>$my_index_format_pre"F"$my_index_format_post<enter><redraw-screen>"
|
||||
|
||||
macro attach 'V' "<pipe-entry>cat >~/.cache/mutt/mail.html && $BROWSER ~/.cache/mutt/mail.html && rm ~/.cache/mutt/mail.html<enter>"
|
||||
|
||||
macro index,pager U "<enter-command>set pipe_decode = yes<enter><pipe-message>urlview<enter><enter-command>set pipe_decode = no<enter>""view URLs"
|
||||
|
||||
macro index,pager \cb "<enter-command> set my_pdsave=\$pipe_decode<enter>\
|
||||
<enter-command> unset pipe_decode<enter>\
|
||||
<pipe-message>extract_url<enter>\
|
||||
<enter-command> set pipe_decode=\$my_pdsave<enter>" "get URLs"
|
||||
|
||||
macro index,pager <F1> '<sync-mailbox><enter-command>source /home/deadguy/.config/mutt/accounts/vidaar.muttrc<enter><change-folder>!<enter>'
|
||||
source /home/deadguy/.config/mutt/accounts/vidaar.muttrc
|
||||
macro index,pager <F2> '<sync-mailbox><enter-command>source /home/deadguy/.config/mutt/accounts/alex.muttrc<enter><change-folder>!<enter>'
|
|
@ -449,7 +449,7 @@ nnoremap <silent> <CR> i<CR><ESC>
|
|||
nnoremap <leader>i mzgg=G`z<CR>
|
||||
|
||||
" Unhighlight search terms
|
||||
nnoremap <silent> <leader><space> :noh<CR>
|
||||
nnoremap <silent> <leader><space> :noh<C-R>=has('diff')?'<Bar>diffupdate':''<CR><CR><C-L>
|
||||
|
||||
" What about the Q
|
||||
nnoremap Q <nop>
|
||||
|
@ -487,9 +487,9 @@ vnoremap <C-b> <C-b>zz
|
|||
|
||||
" Tabs
|
||||
nnoremap <C-Tab> :tabnew<CR>
|
||||
nnoremap <M-Tab> :bd!<CR>
|
||||
nnoremap <Tab> :bnext!<CR>
|
||||
nnoremap <S-Tab> :bprev!<CR>
|
||||
nnoremap <M-Tab> <Plug>(wintabs_close)<CR>
|
||||
nnoremap <Tab> <Plug>(wintabs_next)<CR>
|
||||
nnoremap <S-Tab> <<Plug>(wintabs_previous)<CR>
|
||||
|
||||
" Alt to switch windows
|
||||
nnoremap <M-j> <C-W><C-J>
|
||||
|
|
|
@ -1,14 +1,20 @@
|
|||
; vim:ft=dosini
|
||||
; syntax:ssSemi
|
||||
|
||||
[colors]
|
||||
background = #121212
|
||||
background-alt = #3d3d3d
|
||||
foreground = #e8d0c3
|
||||
foreground-alt = #fefefe
|
||||
primary = #ffb300
|
||||
secondary = #7cb342
|
||||
alert = #ef5350
|
||||
border = #215d9c
|
||||
;background = ${xrdb:background:#080808}
|
||||
background = #393939
|
||||
background-alt = ${xrdb:color8:#181818}
|
||||
foreground = ${xrdb:foreground:#d3d7cf}
|
||||
foreground-alt = ${xrdb:color7:#bdbdbd}
|
||||
primary = ${xrdb:color11:#fce94f}
|
||||
secondary = ${xrdb:color10:#7cb342}
|
||||
alert = ${xrdb:color1:#ef5350}
|
||||
border = ${xrdb:color12:#729fcf}
|
||||
|
||||
[global/wm]
|
||||
margin-top = 0
|
||||
margin-bottom = 0
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
|
@ -18,15 +24,12 @@ throttle-input-for = 30
|
|||
|
||||
[bar/bar1]
|
||||
width = 100%
|
||||
height = 20
|
||||
height = 22
|
||||
radius = 0
|
||||
offset-x = 0
|
||||
offset-y = 0
|
||||
border-size = 0
|
||||
padding-left = 0
|
||||
padding-right = 0
|
||||
padding-top = 5
|
||||
padding-bottom = 5
|
||||
padding = 0
|
||||
module-margin = 2
|
||||
monitor = LVDS1
|
||||
monitor-strict = false
|
||||
|
@ -36,26 +39,32 @@ background = ${colors.background}
|
|||
foreground = ${colors.foreground}
|
||||
border-color = ${colors.border}
|
||||
|
||||
font-0 = ArchivoNarrow:size=10:weight=bold;2
|
||||
font-1 = material\-wifi:size=10;1
|
||||
font-2 = MaterialDesignIcons:size=10;1
|
||||
font-0 = IBMPlexSans:size=9:weight=bold;2
|
||||
|
||||
modules-left = bspwm
|
||||
modules-center = date
|
||||
modules-right = pavolume backlight
|
||||
modules-left = title
|
||||
modules-center =
|
||||
modules-right = updates bspwm date
|
||||
|
||||
tray-position = right
|
||||
tray-padding = 5
|
||||
tray-transparent = false
|
||||
tray-detached = false
|
||||
tray-background = ${colors.background}
|
||||
tray-transparent = false
|
||||
tray-padding = 2
|
||||
tray-maxsize = 18
|
||||
tray-background = ${root.background}
|
||||
|
||||
wm-restack = bspwm
|
||||
override-redirect = true
|
||||
;override-redirect = true
|
||||
|
||||
[module/title]
|
||||
type = internal/xwindow
|
||||
format = <label>
|
||||
format-padding = 2
|
||||
label = %title%
|
||||
label-maxlen = 120
|
||||
|
||||
[module/date]
|
||||
type = custom/script
|
||||
exec = echo "$(date +'%A %d %B %H:%M')"
|
||||
exec = echo "$(date +'%H:%M')"
|
||||
format = %{A:gsimplecal:} <label> %{A}
|
||||
label = %output%
|
||||
interval = 1
|
||||
|
@ -63,22 +72,35 @@ interval = 1
|
|||
[module/bspwm]
|
||||
type = internal/bspwm
|
||||
enable-click = false
|
||||
enable-scroll = false
|
||||
|
||||
label-focused = [ %index% ]
|
||||
label-focused = %index%
|
||||
label-focused-foreground = ${colors.primary}
|
||||
label-focused-padding = 3
|
||||
label-focused-padding = 0
|
||||
|
||||
label-occupied = %index%
|
||||
label-occupied-foreground = ${colors.secondary}
|
||||
label-occupied-padding = 3
|
||||
label-occupied =
|
||||
label-empty =
|
||||
label-occupied-padding = 0
|
||||
label-empty-padding = 0
|
||||
|
||||
label-urgent = %index%
|
||||
label-urgent-foreground = ${colors.alert}
|
||||
label-urgent-padding = 3
|
||||
[module/updates]
|
||||
type = custom/script
|
||||
exec = ~/bin/update-notifier
|
||||
exec-if = ping -q -w 1 -c 1 "$(ip r | grep default | cut -d ' ' -f 3)" >/dev/null
|
||||
interval = 7200
|
||||
format = <label>
|
||||
label = %output%
|
||||
format-foreground = ${colors.border}
|
||||
|
||||
label-empty = %index%
|
||||
label-empty-foreground = ${colors.background-alt}
|
||||
label-empty-padding = 3
|
||||
[module/usb]
|
||||
type = custom/script
|
||||
exec = ~/bin/system-usb-udev.sh
|
||||
tail = true
|
||||
click-left = ~/bin/system-usb-udev.sh --mount
|
||||
click-right = ~/bin/system-usb-udev.sh --unmount
|
||||
format = <label>
|
||||
label = %output%
|
||||
format-foreground = ${colors.secondary}
|
||||
|
||||
[module/network]
|
||||
type = internal/network
|
||||
|
@ -86,31 +108,42 @@ interface = wlo1
|
|||
interval = 3.0
|
||||
format-connected = <ramp-signal>
|
||||
format-disconnected = <label-disconnected>
|
||||
label-connected =
|
||||
label-disconnected =
|
||||
label-connected-font = 2
|
||||
label-disconnected =
|
||||
label-disconnected-font = 2
|
||||
|
||||
ramp-signal-0 = %{T3}
|
||||
ramp-signal-1 = %{T3}
|
||||
ramp-signal-2 = %{T3}
|
||||
ramp-signal-3 = %{T3}
|
||||
ramp-signal-0 = %{T2}
|
||||
ramp-signal-1 = %{T2}
|
||||
ramp-signal-2 = %{T2}
|
||||
ramp-signal-3 = %{T2}
|
||||
ramp-signal-4 = %{T2}
|
||||
|
||||
[module/pavolume]
|
||||
type = custom/script
|
||||
tail = true
|
||||
label = %output%
|
||||
exec = ~/bin/pavolume.sh --listen
|
||||
label-font = 2
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
battery = BAT0
|
||||
adapter = AC
|
||||
full-at = 100
|
||||
|
||||
[module/backlight]
|
||||
type = internal/backlight
|
||||
card = intel_backlight
|
||||
format = <ramp> <label>
|
||||
label = %percentage%%
|
||||
label-charging = %percentage%%
|
||||
format-charging = <animation-charging><label-charging>
|
||||
|
||||
ramp-0 = %{T2}
|
||||
ramp-1 = %{T2}
|
||||
ramp-2 = %{T2}
|
||||
ramp-3 = %{T2}
|
||||
ramp-4 = %{T2}
|
||||
label-discharging = %percentage%%
|
||||
format-discharging = <ramp-capacity><label-discharging>
|
||||
|
||||
label-full = %percentage%%
|
||||
format-full-prefix = ""
|
||||
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
ramp-capacity-5 =
|
||||
|
||||
animation-charging-0 =
|
||||
animation-charging-1 =
|
||||
animation-charging-2 =
|
||||
animation-charging-3 =
|
||||
animation-charging-4 =
|
||||
animation-charging-5 =
|
||||
animation-charging-6 =
|
||||
animation-charging-framerate = 500
|
|
@ -347,7 +347,7 @@ map I eval fm.open_console('rename ' + fm.thisfile.relative_path.replace("%", "
|
|||
|
||||
# Filesystem Operations
|
||||
map = chmod
|
||||
map rw eval fm.execute_console("bulkrename") if fm.thisdir.marked_items else fm.open_console("rename ")
|
||||
map w eval fm.execute_console("bulkrename") if fm.thisdir.marked_items else fm.open_console("rename ")
|
||||
map pp paste
|
||||
map po paste overwrite=True
|
||||
map pP paste append=True
|
||||
|
@ -593,7 +593,6 @@ map cd console mkdir%space
|
|||
map cc console compress%space
|
||||
map sl console shell ln -sT%space
|
||||
map bg shell hsetroot -fill %f
|
||||
map rec shell ~/bin/screenit.sh
|
||||
map Ma shell mpc add "%s"
|
||||
map Ms shell mpc play
|
||||
map Mp shell mpc toggle
|
||||
|
|
|
@ -175,7 +175,6 @@ ext mobi, has ebook-viewer, X, flag f = ebook-viewer -- "$@"
|
|||
mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
|
||||
mime ^image/svg, has display, X, flag f = display -- "$@"
|
||||
|
||||
mime ^image, has imv, X, flag f = imv -sd -e ibmplexmono:10 -- "$@" -r
|
||||
mime ^image, has pqiv, X, flag f = pqiv -- "$@"
|
||||
mime ^image, has sxiv, X, flag f = sxiv-rifle -- "$@"
|
||||
mime ^image, has feh, X, flag f = feh -- "$@"
|
||||
|
|
|
@ -20,16 +20,16 @@ super + {braceleft,braceright}
|
|||
alt + {_,shift} + Tab
|
||||
bspc node -f {next,prev}.local.normal
|
||||
|
||||
super + {comma,period}
|
||||
#super + {comma,period}
|
||||
#bspc node $(bspc query -N -n -n .!leaf || echo @/) -R {90,-B}
|
||||
bspc node @/ -F {horizontal,vertical}
|
||||
#bspc node @/ -F {horizontal,vertical}
|
||||
|
||||
super + shift + {comma,period}
|
||||
super + {comma,period}
|
||||
bspc node @/ -R {90,270}
|
||||
|
||||
super + {_,shift} + ntilde
|
||||
#bspc node $(bspc query -N -n .hidden | tail -n1) {-g hidden,-g hidden=off -f}
|
||||
whid {hide,dmenu}
|
||||
bspc node $(bspc query -N -n .hidden | tail -n1) {-g hidden,-g hidden=off -f}
|
||||
#whid {hide,dmenu}
|
||||
|
||||
super + {Up,Down,Left,Right}
|
||||
bspc node -f @{parent,brother,first,second}
|
||||
|
@ -47,8 +47,14 @@ super + {_,shift} + i
|
|||
{bspc node -i,for win in `bspc query -N -d -n .leaf.!window`; do bspc node $win -k; done}
|
||||
|
||||
# Run Applications
|
||||
super + {n,m,b,v,q,z,e,x,c}
|
||||
{subl,featherpad,firefox,pavucontrol,oblogout,termite,thunar,st,kal}
|
||||
super + {t,b,v,q,z,e,x,c}
|
||||
{subl,firefox,pavucontrol,oblogout,termite,thunar,fterm,kal}
|
||||
|
||||
super + n
|
||||
termite -e nmtui
|
||||
|
||||
super + m
|
||||
termite -e bmenu
|
||||
|
||||
super + {space,r,s}
|
||||
rofi -show {drun,run,window}
|
||||
|
@ -65,6 +71,15 @@ super + F1
|
|||
super + {F2,F3,F4,F5}
|
||||
{batt,cover,update-notifier,toggleTouchpad}
|
||||
|
||||
super + F6
|
||||
baroff
|
||||
|
||||
@super + F6
|
||||
baron
|
||||
|
||||
super + plus
|
||||
xzoom
|
||||
|
||||
# Media Keys
|
||||
XF86Audio{RaiseVolume,LowerVolume,Mute}
|
||||
pavolume.sh {--up,--down,--togmute}
|
||||
|
|
|
@ -9,9 +9,9 @@ urgent_on_bell = true
|
|||
clickable_url = true
|
||||
scrollback_lines = 10000
|
||||
search_wrap = true
|
||||
font = Sarasa Term J 10
|
||||
#font = Sarasa Term J 10
|
||||
#font = xos4 terminus 10
|
||||
#font = Monaco Regular 9
|
||||
font = Monaco Regular 9
|
||||
#font = t cherry Regular 9
|
||||
|
||||
# "system", "on" or "off"
|
||||
|
@ -33,6 +33,7 @@ filter_unmatched_urls = true
|
|||
#modify_other_keys = false
|
||||
|
||||
[colors]
|
||||
|
||||
# special
|
||||
foreground = #d3d7cf
|
||||
foreground_bold = #d3d7cf
|
||||
|
@ -40,39 +41,39 @@ cursor = #d3d7cf
|
|||
background = #080808
|
||||
|
||||
# black
|
||||
color0 = #111111
|
||||
color8 = #181818
|
||||
color0 = #181818
|
||||
color8 = #4d4d4d
|
||||
|
||||
# red
|
||||
color1 = #e53935
|
||||
color9 = #ef2929
|
||||
color1 = #ff5555
|
||||
color9 = #ff6e67
|
||||
|
||||
# green
|
||||
color2 = #4e9a06
|
||||
color10 = #7cb342
|
||||
color2 = #50fa7b
|
||||
color10 = #5af78e
|
||||
|
||||
# yellow
|
||||
color3 = #c4a000
|
||||
color11 = #fce94f
|
||||
color3 = #f1fa8c
|
||||
color11 = #f4f99d
|
||||
|
||||
# blue
|
||||
color4 = #039be5
|
||||
color12 = #729fcf
|
||||
color4 = #bd93f9
|
||||
color12 = #caa9fa
|
||||
|
||||
# magenta
|
||||
color5 = #f06292
|
||||
color13 = #ad7fa8
|
||||
color5 = #ff79c6
|
||||
color13 = #ff92d0
|
||||
|
||||
# cyan
|
||||
color6 = #26c6da
|
||||
color14 = #34e2e2
|
||||
color6 = #8be9fd
|
||||
color14 = #9aedfe
|
||||
|
||||
# white
|
||||
color7 = #bdbdbd
|
||||
color15 = #eeeeec
|
||||
|
||||
color7 = #bfbfbf
|
||||
color15 = #e6e6e6
|
||||
|
||||
[hints]
|
||||
padding = 4
|
||||
|
||||
# vim: ft=dosini cms=#%s
|
||||
# syntax:ssHash
|
|
@ -2,9 +2,9 @@
|
|||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||
|
||||
include "/home/deadguy/.gtkrc-2.0.mine"
|
||||
gtk-theme-name="Minwaita-Dark"
|
||||
gtk-theme-name="8089"
|
||||
gtk-icon-theme-name="Papirus-Dark"
|
||||
gtk-font-name="IBM Plex Sans weight=453 10"
|
||||
gtk-font-name="IBM Plex Sans weight=453 9"
|
||||
gtk-cursor-theme-name="Alkano"
|
||||
gtk-cursor-theme-size=0
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
||||
|
@ -17,3 +17,4 @@ gtk-xft-antialias=1
|
|||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle="hintmedium"
|
||||
gtk-xft-rgba="rgb"
|
||||
gtk-modules="gail:atk-bridge"
|
||||
|
|
|
@ -16,11 +16,11 @@ configuration {
|
|||
|
||||
* {
|
||||
background-color: #080808;
|
||||
text-color: #d3d7cf;
|
||||
selbg: #215d9c;
|
||||
actbg: #262626;
|
||||
text-color: #b6b6b6;
|
||||
selbg: #c4a000;
|
||||
actbg: #222222;
|
||||
urgbg: #e53935;
|
||||
winbg: #26c6da;
|
||||
winbg: #f69f3e;
|
||||
|
||||
selected-normal-foreground: @winbg;
|
||||
normal-foreground: @text-color;
|
||||
|
@ -33,7 +33,7 @@ configuration {
|
|||
urgent-background: @background-color;
|
||||
|
||||
selected-active-foreground: @winbg;
|
||||
active-foreground: @text-color;
|
||||
active-foreground: @actbg;
|
||||
selected-active-background: @actbg;
|
||||
active-background: @selbg;
|
||||
|
||||
|
|
29
.tmux.conf
29
.tmux.conf
|
@ -81,27 +81,25 @@ setw -g aggressive-resize on
|
|||
set-option -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
set -g renumber-windows on
|
||||
#set -g set-titles off
|
||||
#set -g set-titles-string "#W"
|
||||
set-window-option -g automatic-rename on
|
||||
set -wg automatic-rename-format "#{s/zsh//:pane_current_command}"
|
||||
setw -g clock-mode-style 24
|
||||
|
||||
## Status bar design
|
||||
# Status line
|
||||
set-option -g status-position top
|
||||
set -g status-justify right
|
||||
set -g status-bg default
|
||||
|
||||
# Messaging
|
||||
set -g message-fg colour0
|
||||
set -g message-bg colour11
|
||||
set -g message-command-fg colour4
|
||||
set -g message-bg colour4
|
||||
set -g message-command-fg colour13
|
||||
set -g message-command-bg colour0
|
||||
|
||||
# Panes
|
||||
set -g pane-border-style bold,fg="#212121"
|
||||
set -g pane-active-border-style bold,fg="#215d9c"
|
||||
setw -g pane-border-status top
|
||||
set -g pane-border-style bold,fg="#080808"
|
||||
set -g pane-active-border-style bold,fg="#c4a000"
|
||||
#"215d9c"
|
||||
setw -g pane-border-status bottom
|
||||
setw -g pane-border-format '─'
|
||||
|
||||
# Window notifications; display activity on other window
|
||||
|
@ -111,22 +109,21 @@ set-option -g visual-activity off
|
|||
# Window status
|
||||
bind-key t command-prompt "select-pane -T '%%'"
|
||||
bind-key , command-prompt "rename-window '%%'"
|
||||
set -g window-status-format "#{=-15:?window_name,#{window_name},#{s/deadguy/home/:?pane_current_path,#{b:pane_current_path},}}"
|
||||
set -g window-status-current-format "#{=-15:?window_name,#{window_name},#{s/deadguy/home/:?pane_current_path,#{b:pane_current_path},}}"
|
||||
set -g window-status-format " #{=-15:?window_name,#{window_name},#{s/deadguy/home/:?pane_current_path,#{b:pane_current_path},}} "
|
||||
set -g window-status-current-format " #{=-15:?window_name,#{window_name},#{s/deadguy/home/:?pane_current_path,#{b:pane_current_path},}} "
|
||||
set-window-option -g window-status-separator ' '
|
||||
|
||||
# List windows on left side of status bar
|
||||
set-option -g status-left ''
|
||||
# Left side of status bar
|
||||
set-option -g status-left '#[fg=#725ffc]#S'
|
||||
|
||||
# Right side of status bar
|
||||
set-option -g status-right-length 250
|
||||
set-option -g status-right "#(txbar)#[fg=blue]%d %b %R #[fg=colour2,bold]#S"
|
||||
set-option -g status-right ''
|
||||
|
||||
# default window title colors
|
||||
set-window-option -g window-status-fg colour7
|
||||
|
||||
# active window title colors
|
||||
set-window-option -g window-status-current-fg colour11
|
||||
set-window-option -g window-status-current-fg colour3
|
||||
set-window-option -g window-status-current-attr bright
|
||||
|
||||
# Reload conf file
|
||||
|
|
217
.zshrc
217
.zshrc
|
@ -14,85 +14,6 @@ source ~/.config/zsh/rc/transmission.zsh
|
|||
source /etc/icons-in-terminal/icons_bash.sh
|
||||
# }}}
|
||||
|
||||
# Completion styles {{{
|
||||
zstyle ':completion:*' auto-description '%d'
|
||||
zstyle ':completion:*' completer _oldlist _expand _complete _match _approximate _prefix
|
||||
zstyle ':completion:*' completions 1
|
||||
zstyle ':completion:*' expand prefix suffix
|
||||
zstyle ':completion:*' file-sort modification
|
||||
zstyle ':completion:*' format $'\n%BCompleting %F{magenta}%d%f%b'
|
||||
zstyle ':completion:*' glob 1
|
||||
zstyle ':completion:*' group-name ''
|
||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
|
||||
zstyle ':completion:*' list-suffixes true
|
||||
zstyle ':completion:*' list-rows-first true
|
||||
zstyle ':completion:*' matcher-list 'm:{[:lower:]}={[:upper:]} m:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'm:{[:lower:]}={[:upper:]} m:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*' 'm:{[:lower:]}={[:upper:]} m:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*' 'm:{[:lower:]}={[:upper:]} m:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*'
|
||||
zstyle ':completion:*' match-original both
|
||||
zstyle ':completion:*' max-errors 1 numeric
|
||||
zstyle ':completion:*' menu select=1
|
||||
zstyle ':completion:*' original true
|
||||
zstyle ':completion:*' old-list _complete _approximate _expand _correct
|
||||
zstyle ':completion:*' old-menu false
|
||||
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
|
||||
zstyle ':completion:*' substitute 1
|
||||
zstyle ':completion:*' verbose true
|
||||
zstyle ':completion:*' word true
|
||||
zstyle :compinstall filename '/home/deadguy/.zshrc'
|
||||
|
||||
zstyle ':completion:*' accept-exact '*(N)'
|
||||
zstyle ':completion::complete:*' use-cache 1
|
||||
zstyle ':completion::complete:*' cache-path "$HOME/.config/zsh/cache"
|
||||
zstyle ':completion:*:complete:-command-::commands' ignored-patterns '*\~'
|
||||
zstyle ':completion:*:builtins' list-colors '=*=1;38;5;142'
|
||||
zstyle ':completion:*:aliases' list-colors '=*=2;38;5;120'
|
||||
zstyle ':completion:*:options' list-colors '=^(-- *)=34'
|
||||
zstyle ':completion:*' list-dirs-first true
|
||||
zstyle ':completion:*' special-dirs true
|
||||
zstyle -e ':completion:*' special-dirs '[[ $PREFIX = (../)#(|.|..) ]] && reply=(..)'
|
||||
zstyle ':completion:*' rehash true
|
||||
zstyle ':completion:*:descriptions' format '%F{yellow}%B--- %d%b --- %f'
|
||||
zstyle ':completion:*:warnings' format 'No matches for: %B%F{cyan}%d%f%b'
|
||||
zstyle ':completion:*:corrections' format '%d %B(%F{red}errors: %e%f)%b'
|
||||
zstyle ':completion:*:messages' format ' %F{magenta} -- %d --%f'
|
||||
zstyle ':completion:*:options' description 'yes'
|
||||
zstyle ':completion:*:processes' command 'ps -au $USER -o pid,stat,%cpu,%mem,cputime,command'
|
||||
zstyle ':completion:*:processes-names' command 'ps c -u ${USER} -o command | uniq'
|
||||
zstyle ':completion:*:killall:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
|
||||
zstyle ':completion:*:*:-subscript-:*' tag-order indexes parameters
|
||||
zstyle ':completion:*:sudo:*' command-path /usr/local/sbin \
|
||||
/usr/local/bin \
|
||||
/usr/sbin \
|
||||
/usr/bin \
|
||||
/sbin \
|
||||
/bin
|
||||
|
||||
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;36=0=01'
|
||||
zstyle ':completion:*:*:kill:*' menu yes select
|
||||
zstyle ':completion:*:*:kill:*' force-list always
|
||||
zstyle ':completion:*:*:kill:*' insert-ids single
|
||||
zstyle ':completion:*:manuals' separate-sections true
|
||||
zstyle ':completion:*:manuals.(^1*)' insert-sections true
|
||||
zstyle ':completion:*:*:cd:*:directory-stack' force-list always
|
||||
zstyle ':completion:*:*:cd:*:directory-stack' menu yes select
|
||||
zstyle ':completion:*:*:*:*:users' list-colors '=*=$color[green]=$color[red]'
|
||||
|
||||
zstyle ':completion:*:*:*:users' ignored-patterns \
|
||||
adm amanda apache avahi beaglidx bin cacti canna clamav daemon \
|
||||
dbus distcache dovecot fax ftp games gdm gkrellmd gopher \
|
||||
hacluster haldaemon halt hsqldb ident junkbust ldap lp mail \
|
||||
mailman mailnull mldonkey mysql nagios \
|
||||
named netdump news nfsnobody nobody nscd ntp nut nx openvpn \
|
||||
operator pcap postfix postgres privoxy pulse pvm quagga radvd \
|
||||
rpc rpcuser rpm shutdown squid sshd sync uucp vcsa xfs '_*'
|
||||
|
||||
# prompt formats
|
||||
LISTPROMPT='View all items? '
|
||||
|
||||
# prompt for correct
|
||||
SPROMPT="Correct to %r? "
|
||||
# }}}
|
||||
|
||||
# Zsh addons {{{
|
||||
autoload -Uz compinit
|
||||
autoload -Uz colors
|
||||
|
@ -116,15 +37,6 @@ autoload -U select-bracketed
|
|||
autoload -U select-quoted
|
||||
zle -N select-quoted
|
||||
zle -N select-bracketed
|
||||
for km in visual viopp; do
|
||||
bindkey -M $km -- '-' vi-up-line-or-history
|
||||
for c in {a,i}${(s..)^:-\'\"\`\|,./:;-=+@}; do
|
||||
bindkey -M $km $c select-quoted
|
||||
done
|
||||
for c in {a,i}${(s..)^:-'()[]{}<>bB'}; do
|
||||
bindkey -M $km $c select-bracketed
|
||||
done
|
||||
done
|
||||
|
||||
# Zcalc stuff
|
||||
function __calc_plugin {
|
||||
|
@ -134,6 +46,89 @@ aliases[calc]='noglob __calc_plugin'
|
|||
aliases[=]='noglob __calc_plugin'
|
||||
#}}}
|
||||
|
||||
# Completion styles {{{
|
||||
zstyle :compinstall filename '/home/deadguy/.zshrc'
|
||||
zstyle ':completion:*' menu select=1
|
||||
zstyle ':completion:*:sudo:*' command-path /usr/local/sbin \
|
||||
/usr/local/bin \
|
||||
/usr/sbin \
|
||||
/usr/bin \
|
||||
/sbin \
|
||||
/bin
|
||||
zstyle ':completion:*:correct:*' insert-unambiguous true
|
||||
zstyle ':completion:*:corrections' format '%d %B(%F{red}errors: %e%f)%b'
|
||||
zstyle ':completion:*:correct:*' original true
|
||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||
zstyle ':completion:*' format $'\n%BCompleting %F{magenta}%d%f%b'
|
||||
zstyle ':completion:*:descriptions' format '%F{yellow}%B--- %d%b --- %f'
|
||||
zstyle ':completion:*' matcher-list 'm:{[:lower:]}={[:upper:]} m:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'm:{[:lower:]}={[:upper:]} m:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*' 'm:{[:lower:]}={[:upper:]} m:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*' 'm:{[:lower:]}={[:upper:]} m:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*'
|
||||
zstyle ':completion:*:matches' group 'yes'
|
||||
zstyle ':completion:*' group-name ''
|
||||
zstyle ':completion:*:messages' format ' %F{magenta} -- %d --%f'
|
||||
zstyle ':completion:*' auto-description '%d'
|
||||
zstyle ':completion:*:options' description 'yes'
|
||||
zstyle ':completion:*:processes' command 'ps -au $USER -o pid,stat,%cpu,%mem,cputime,command'
|
||||
zstyle ':completion:*:killall:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
|
||||
zstyle ':completion:*' verbose true
|
||||
zstyle ':completion:*:-command-:*:' verbose false
|
||||
zstyle ':completion:*:warnings' format 'No matches for: %B%F{cyan}%d%f%b'
|
||||
zstyle ':completion::(^approximate*):*:functions' ignored-patterns '_*'
|
||||
zstyle ':completion:*:processes-names' command 'ps c -u ${USER} -o command | uniq'
|
||||
zstyle ':completion:*:manuals' separate-sections true
|
||||
zstyle ':completion:*:manuals.(^1*)' insert-sections true
|
||||
zstyle ':completion:*:man:*' menu yes select
|
||||
zstyle ':completion:*' completer _oldlist _expand _complete _files _ignored
|
||||
zstyle ':completion:*' rehash true
|
||||
zstyle ':completion:*:parameters' list-colors '=*=34'
|
||||
zstyle ':completion:*:commands' list-colors '=*=1;32'
|
||||
zstyle ':completion:*:builtins' list-colors '=*=1;38;5;142'
|
||||
zstyle ':completion:*:aliases' list-colors '=*=2;38;5;120'
|
||||
zstyle ':completion:*:options' list-colors '=^(-- *)=34'
|
||||
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;36=0=01'
|
||||
zstyle ':completion::complete:*' use-cache on
|
||||
zstyle ':completion::complete:*' cache-path "$HOME/.config/zsh/cache"
|
||||
|
||||
# do we still need these?
|
||||
zstyle ':completion:*' completions 1
|
||||
zstyle ':completion:*' expand prefix suffix
|
||||
zstyle ':completion:*' file-sort modification
|
||||
zstyle ':completion:*' glob 1
|
||||
zstyle ':completion:*' list-suffixes true
|
||||
zstyle ':completion:*' list-rows-first true
|
||||
zstyle ':completion:*' match-original both
|
||||
zstyle ':completion:*' max-errors 1 numeric
|
||||
zstyle ':completion:*' old-list _complete _approximate _expand _correct
|
||||
zstyle ':completion:*' old-menu false
|
||||
zstyle ':completion:*' substitute 1
|
||||
zstyle ':completion:*' word true
|
||||
zstyle ':completion:*' accept-exact '*(N)'
|
||||
zstyle ':completion:*:complete:-command-::commands' ignored-patterns '*\~'
|
||||
zstyle ':completion:*' list-dirs-first true
|
||||
zstyle ':completion:*' special-dirs true
|
||||
zstyle -e ':completion:*' special-dirs '[[ $PREFIX = (../)#(|.|..) ]] && reply=(..)'
|
||||
zstyle ':completion:*:*:-subscript-:*' tag-order indexes parameters
|
||||
zstyle ':completion:*:*:kill:*' menu yes select
|
||||
zstyle ':completion:*:*:kill:*' force-list always
|
||||
zstyle ':completion:*:*:kill:*' insert-ids single
|
||||
zstyle ':completion:*:*:cd:*:directory-stack' force-list always
|
||||
zstyle ':completion:*:*:cd:*:directory-stack' menu yes select
|
||||
zstyle ':completion:*:*:*:*:users' list-colors '=*=$color[green]=$color[red]'
|
||||
zstyle ':completion:*:*:*:users' ignored-patterns \
|
||||
adm amanda apache avahi beaglidx bin cacti canna clamav daemon \
|
||||
dbus distcache dovecot fax ftp games gdm gkrellmd gopher \
|
||||
hacluster haldaemon halt hsqldb ident junkbust ldap lp mail \
|
||||
mailman mailnull mldonkey mysql nagios \
|
||||
named netdump news nfsnobody nobody nscd ntp nut nx openvpn \
|
||||
operator pcap postfix postgres privoxy pulse pvm quagga radvd \
|
||||
rpc rpcuser rpm shutdown squid sshd sync uucp vcsa xfs '_*'
|
||||
|
||||
# prompt formats
|
||||
LISTPROMPT='View all items? '
|
||||
|
||||
# prompt for correct
|
||||
SPROMPT="Correct to %r? "
|
||||
# }}}
|
||||
|
||||
# Options {{{
|
||||
export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help"
|
||||
HISTFILE=~/.config/zsh/histfile
|
||||
|
@ -150,7 +145,6 @@ setopt autocd
|
|||
setopt autoresume
|
||||
setopt equals # Enable "=command" feature
|
||||
setopt magic_equal_subst # Enable completion in "--option=arg"
|
||||
setopt prompt_subst # allow expansion in prompts
|
||||
setopt brace_ccl # Enable brace expansion function
|
||||
setopt appendhistory # dont create the hist file over and over
|
||||
setopt hist_ignore_all_dups # If a new command is a duplicate, remove the older one
|
||||
|
@ -179,6 +173,8 @@ setopt auto_name_dirs
|
|||
setopt always_to_end
|
||||
setopt complete_in_word
|
||||
setopt list_types # List like "ls -F"
|
||||
setopt prompt_subst # allow expansion in prompts
|
||||
|
||||
|
||||
eval $( dircolors -b $HOME/.config/zsh/LS_COLORS )
|
||||
|
||||
|
@ -266,6 +262,7 @@ bindkey '^[[6~' history-beginning-search-forward # Page down key
|
|||
|
||||
# Assorted Alias {{{
|
||||
unalias run-help
|
||||
|
||||
# Programs
|
||||
alias gdl='gallery-dl'
|
||||
alias mutt='neomutt'
|
||||
|
@ -283,12 +280,12 @@ alias py='python '
|
|||
alias py2='python2 '
|
||||
alias rb='ruby '
|
||||
alias ytv='youtube-viewer'
|
||||
alias git='hub'
|
||||
alias git='lab'
|
||||
alias help='run-help'
|
||||
alias p='pacui'
|
||||
alias sr='sr -browser=$CLIBROWSER' # open in cli browser
|
||||
alias surfraw='surfraw -browser=$BROWSER' # open in gui browser
|
||||
alias foxdot='python -m FoxDot & disown'
|
||||
alias foxy='FoxDot & disown'
|
||||
|
||||
# MAXIMUM VERBOSITY YIELDS MAXIMUM RESULTS
|
||||
alias chmod='chmod -v'
|
||||
|
@ -306,7 +303,7 @@ alias umount='umount -v'
|
|||
# Opinionated
|
||||
alias tx='tmux -2'
|
||||
alias imv='imv -sd -e gohugohufont:11 -r'
|
||||
alias ytdl='youtube-dl -ic'
|
||||
alias ydl='youtube-dl -ic'
|
||||
alias ls='ls -F --color=always --group-directories-first'
|
||||
alias grep='grep --color=tty -d skip'
|
||||
alias sgrep='grep -R -n -H -C 5 --exclude-dir={.git,.svn,CVS} '
|
||||
|
@ -326,6 +323,7 @@ alias ping='ping -c 5'
|
|||
alias dd="dd status=progress"
|
||||
|
||||
# Commands
|
||||
alias svi="sudo nvim"
|
||||
alias pacmir='sudo pacman-mirrors -f5'
|
||||
alias tis='tig status'
|
||||
alias til='tig log'
|
||||
|
@ -336,7 +334,6 @@ alias ytw='youtube-viewer -C -D -W -f -7 --results=10'
|
|||
alias hoy='calcurse -a --format-apt=" - %m (%S a %E)\n" --format-recur-apt=" - %m (%S a %E)\n"'
|
||||
alias week='calcurse -r7 --format-apt=" - %m (%S a %E)\n" --format-recur-apt=" - %m (%S a %E)\n"'
|
||||
alias todo='calcurse -t --format-todo "(%p) %m\n"'
|
||||
alias gal='ls | imv &!'
|
||||
alias winclass='xprop | grep WM_CLASS' # for bspwm rules
|
||||
alias path='echo -e ${PATH//:/\\n}' # Pretty-print of some PATH variables
|
||||
alias compare='grep -nFxvf' # Usage: compare <file1> <file2>
|
||||
|
@ -348,8 +345,9 @@ alias tk='tmux kill-session -t'
|
|||
alias lst='ls -FAghoBtH --group-directories-first --dereference-command-line-symlink-to-dir --time-style=+"%d-%m-%Y %H:%M"'
|
||||
alias java='java -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
|
||||
alias disks='echo "╓───── m o u n t . p o i n t s"; echo "╙────────────────────────────────────── ─ ─ "; lsblk -a; echo ""; echo "╓───── d i s k . u s a g e"; echo "╙────────────────────────────────────── ─ ─ "; df -h;'
|
||||
# }}}
|
||||
|
||||
# Dotfiles
|
||||
# Dotfiles {{{
|
||||
alias hexa='/usr/bin/git --git-dir=$HOME/hexagons/ --work-tree=$HOME'
|
||||
alias hx-up='hexa add -vu'
|
||||
alias hx-ls='hexa ls-files -m'
|
||||
|
@ -474,28 +472,19 @@ zplugin snippet OMZ::lib/git.zsh
|
|||
zplugin snippet OMZ::plugins/git/git.plugin.zsh
|
||||
source ~/.config/zsh/zplugin/plugins/tj---git-extras/etc/git-extras-completion.zsh
|
||||
|
||||
# Load the pure theme, with zsh-async that's bundled with it
|
||||
zplugin load mafredri/zsh-async
|
||||
zplugin ice compile"(pure|async).zsh";zplugin light sindresorhus/pure
|
||||
PURE_CMD_MAX_EXEC_TIME=1000000
|
||||
VIM_PROMPT=">"
|
||||
PROMPT='%(?.%B%F{green}.%B%F{red}>%B%F{green})${VIM_PROMPT}%b%f '
|
||||
#export AM_UPDATE_L_PROMPT=0
|
||||
#export AM_SHOW_FULL_DIR=1
|
||||
export PROMPT_START_TAG='> '
|
||||
export PROMPT_END_TAG=''
|
||||
export PROMPT_START_TAG_COLOR=41
|
||||
export PROMPT_END_TAG_COLOR=41
|
||||
export AM_ERROR_ON_START_TAG=1
|
||||
export AM_HIDE_EXIT_CODE=1
|
||||
export AM_INITIAL_LINE_FEED=1
|
||||
export AM_THEME=terminal
|
||||
zplugin load eendroroy/alien-minimal
|
||||
|
||||
prompt_pure_update_vim_prompt() {
|
||||
zle || {
|
||||
print "error: pure_update_vim_prompt must be called when zle is active"
|
||||
return 1
|
||||
}
|
||||
VIM_PROMPT=${${KEYMAP/vicmd/<}/(main|viins)/>}
|
||||
zle .reset-prompt
|
||||
}
|
||||
|
||||
function zle-line-init zle-keymap-select {
|
||||
prompt_pure_update_vim_prompt
|
||||
}
|
||||
export KEYTIMEOUT=1
|
||||
zle -N zle-line-init
|
||||
zle -N zle-keymap-select
|
||||
|
||||
zplugin cdclear -q # <- forget completions provided up to this moment
|
||||
zplugin snippet 'https://github.com/junegunn/fzf/blob/master/shell/completion.zsh'
|
||||
|
|
2
bin/cfg
2
bin/cfg
|
@ -6,7 +6,7 @@ case $1 in
|
|||
start) $EDITOR ~/.config/bspwm/autostart ;;
|
||||
wm) $EDITOR ~/.config/bspwm/bspwmrc ;;
|
||||
keys) $EDITOR ~/.config/sxhkd/sxhkdrc ;;
|
||||
mutt) $EDITOR ~/.config/mutt/muttrc ;;
|
||||
mutt) $EDITOR ~/.config/mutt/personal.muttrc ;;
|
||||
zsh) $EDITOR ~/.zshrc ;;
|
||||
bar) $EDITOR ~/.config/polybar/config ;;
|
||||
dunst) $EDITOR ~/.config/dunst/dunstrc ;;
|
||||
|
|
|
@ -14,7 +14,9 @@ album_color="##ad7fa8"
|
|||
song_color="##34e2e2"
|
||||
|
||||
# What do we want the notification to look like?
|
||||
form="\n<b>Artist:</b>\t<span color='$artist_color'>%artist%</span>\n<b>Track:</b>\t<span color='$song_color'>%title%</span>\n<b>Album:</b>\t<span color='$album_color'>%album%</span>"
|
||||
form="\\n<b>Artist:</b>\\t<span
|
||||
color='$artist_color'>%artist%</span>\\n<b>Track:</b>\\t<span
|
||||
color='$song_color'>%title%</span>\\n<b>Album:</b>\\t<span color='$album_color'>%album%</span>"
|
||||
# END CONFIG ----------------------------------------------------
|
||||
|
||||
# These are some variables we need for things to work
|
||||
|
|
|
@ -24,7 +24,7 @@ sleep 5s
|
|||
# Create new window, launch foxdot
|
||||
tmux new-window -t $session:2
|
||||
tmux selectp -t 1
|
||||
tmux send-keys "foxdot" C-m
|
||||
tmux send-keys "FoxDot" C-m
|
||||
|
||||
# Attach to the session
|
||||
tmux attach-session -t $session
|
1
bin/rld
1
bin/rld
|
@ -7,5 +7,6 @@ case $1 in
|
|||
dunst) ~/.config/dunst/./reload ;;
|
||||
comp) pkill compton && compton -bcCGf ;;
|
||||
xres) xrdb ~/.Xresources ;;
|
||||
bar) ~/.config/polybar/./launch.sh ;;
|
||||
*) echo "Can't help you with that" ;;
|
||||
esac
|
41
paketes.txt
41
paketes.txt
|
@ -1,4 +1,5 @@
|
|||
accountsservice
|
||||
acpi
|
||||
acpid
|
||||
adobe-source-code-pro-fonts
|
||||
aisleriot
|
||||
|
@ -12,6 +13,7 @@ autoconf
|
|||
automake
|
||||
autopep8
|
||||
b43-fwcutter
|
||||
bat
|
||||
bison
|
||||
blender
|
||||
blueman
|
||||
|
@ -20,11 +22,11 @@ bspwm
|
|||
bzr
|
||||
cadence
|
||||
calf
|
||||
cataclysm-dda
|
||||
catfish
|
||||
catimg
|
||||
ccache
|
||||
clang
|
||||
cmake
|
||||
compton
|
||||
cpupower
|
||||
crda
|
||||
|
@ -35,9 +37,12 @@ dconf-editor
|
|||
dhclient
|
||||
dhcpcd
|
||||
dhex
|
||||
dialog
|
||||
discount
|
||||
dnsmasq
|
||||
docx2txt
|
||||
downgrade
|
||||
dwarffortress
|
||||
ecryptfs-utils
|
||||
efitools
|
||||
ethtool
|
||||
|
@ -45,16 +50,13 @@ exfat-utils
|
|||
f2fs-tools
|
||||
fakeroot
|
||||
fd
|
||||
ffmpeg2.8
|
||||
ffmpegthumbnailer
|
||||
file-roller
|
||||
firefox
|
||||
fontforge
|
||||
gedit
|
||||
ghex
|
||||
gimp-nufraw
|
||||
gimp-plugin-gmic
|
||||
gimp-plugin-lqr
|
||||
gimp-ufraw
|
||||
gparted
|
||||
grub
|
||||
gsimplecal
|
||||
|
@ -75,7 +77,6 @@ htop
|
|||
hub
|
||||
hydrogen
|
||||
imv
|
||||
inkscape
|
||||
intel-ucode
|
||||
iputils
|
||||
ipw2100-fw
|
||||
|
@ -95,10 +96,10 @@ linux-rt-manjaro
|
|||
linux-rt-manjaro-headers
|
||||
linux44-headers
|
||||
linux44-ndiswrapper
|
||||
lmms
|
||||
logrotate
|
||||
lrzip
|
||||
lsof
|
||||
ltrace
|
||||
lxappearance-gtk3
|
||||
lynx
|
||||
lzop
|
||||
|
@ -111,6 +112,7 @@ manjaro-firmware
|
|||
manjaro-hotfixes
|
||||
manjaro-pulse
|
||||
manjaro-release
|
||||
manjaro-system
|
||||
mediainfo
|
||||
memtest86+
|
||||
mencoder
|
||||
|
@ -140,11 +142,11 @@ nss-mdns
|
|||
oblogout-manjaro
|
||||
obs-studio
|
||||
odt2txt
|
||||
offlineimap
|
||||
open-fuse-iso
|
||||
os-prober
|
||||
p7zip
|
||||
paprefs
|
||||
parallel
|
||||
patch
|
||||
pavucontrol
|
||||
pd
|
||||
|
@ -152,15 +154,16 @@ pd-l2ork
|
|||
perl-clone
|
||||
perl-curses-ui
|
||||
perl-dbi
|
||||
perl-glib-object-introspection
|
||||
perl-image-exiftool
|
||||
perl-mime-types
|
||||
perl-text-charwidth
|
||||
perl-xml-libxml
|
||||
pkg-config
|
||||
pkgbrowser
|
||||
pkgconf
|
||||
pkgfile
|
||||
polkit-gnome
|
||||
poppler-data
|
||||
polybar
|
||||
powertop
|
||||
ps_mem
|
||||
pulseaudio-bluetooth
|
||||
|
@ -168,15 +171,19 @@ pulseaudio-ctl
|
|||
pulseaudio-equalizer
|
||||
pulseaudio-jack
|
||||
pulseaudio-zeroconf
|
||||
pulsemixer
|
||||
python-beautifulsoup4
|
||||
python-isort
|
||||
python-lxml
|
||||
python-language-server
|
||||
python-mpd2
|
||||
python-neovim
|
||||
python-opengl
|
||||
python-pillow
|
||||
python-pip
|
||||
python-pycurl
|
||||
python-pydocstyle
|
||||
python-pyliblo
|
||||
python-pyperclip
|
||||
python-pystemmer
|
||||
python-pytest-cache
|
||||
python-pytest-flake8
|
||||
python-setproctitle
|
||||
|
@ -184,6 +191,7 @@ python2-lxml
|
|||
python2-numpy
|
||||
qalculate-gtk
|
||||
qsynth
|
||||
qt5-styleplugins
|
||||
qt5-tools
|
||||
qt5-webengine
|
||||
qt5ct
|
||||
|
@ -193,6 +201,7 @@ reiserfsprogs
|
|||
rp-pppoe
|
||||
rsync
|
||||
s-nail
|
||||
sdl2_mixer
|
||||
sdparm
|
||||
seahorse
|
||||
smartmontools
|
||||
|
@ -200,6 +209,8 @@ soundfont-fluid
|
|||
sox
|
||||
squashfs-tools
|
||||
srandrd
|
||||
strace
|
||||
sublime-text
|
||||
surfraw
|
||||
swh-plugins
|
||||
sxhkd
|
||||
|
@ -207,17 +218,20 @@ sxiv-rifle
|
|||
syslinux
|
||||
systemd-sysvcompat
|
||||
tap-plugins
|
||||
telegram-desktop
|
||||
termite
|
||||
testdisk
|
||||
texlive-fontsextra
|
||||
texlive-formatsextra
|
||||
texlive-science
|
||||
the_silver_searcher
|
||||
thermald
|
||||
thunar-volman
|
||||
tig
|
||||
tmux
|
||||
transmission-cli
|
||||
tree
|
||||
trizen
|
||||
ttf-anonymous-pro
|
||||
ttf-montserrat
|
||||
tumbler
|
||||
|
@ -269,13 +283,12 @@ xorg-xsetroot
|
|||
xorg-xvinfo
|
||||
xsel
|
||||
xtitle
|
||||
yapf
|
||||
youtube-dl
|
||||
youtube-viewer
|
||||
zathura-cb
|
||||
zathura-djvu
|
||||
zathura-pdf-poppler
|
||||
zathura-ps
|
||||
zd1211-firmware
|
||||
zsh-history-substring-search
|
||||
zsh-syntax-highlighting
|
||||
zynaddsubfx
|
||||
|
|
|
@ -1,19 +1,24 @@
|
|||
adwaita-qt5
|
||||
alephone-eternalx
|
||||
alephone-evil
|
||||
alephone-infinity
|
||||
alephone-marathon
|
||||
alephone-marathon2
|
||||
archivo-narrow
|
||||
bandcamp-dl
|
||||
bashmount
|
||||
bdf2psf
|
||||
blockout2
|
||||
boxes-git
|
||||
calcurse-git
|
||||
colort-git
|
||||
cortex-git
|
||||
deflemask
|
||||
discord
|
||||
distrho-lv2-git
|
||||
distrho-vst-git
|
||||
dpf-plugins-git
|
||||
dunst-git
|
||||
dwarffortress-terminal-fonts
|
||||
dwarftherapist
|
||||
figlet-fonts
|
||||
flif-git
|
||||
fritzing
|
||||
|
@ -28,51 +33,53 @@ gimp-plugin-satequalizer
|
|||
gimp-plugin-scale-layer-to-image-size
|
||||
gimp-plugin-toy
|
||||
gimp-plugin-wavelet-sharpen
|
||||
gimp-webp
|
||||
gnome-vfs
|
||||
godot
|
||||
gohufont
|
||||
helm-vst
|
||||
hsetroot
|
||||
ibniz-git
|
||||
icons-in-terminal
|
||||
img2xterm
|
||||
imlib2-bpg-git
|
||||
imlib2-webp-git
|
||||
lab
|
||||
libbpg
|
||||
lmms-orgmaker-samples
|
||||
megatools
|
||||
modprobed-db
|
||||
mons
|
||||
ncpamixer-git
|
||||
neomutt-git
|
||||
neovim-drop-in
|
||||
njconnect
|
||||
oomox
|
||||
openav-artyfx-git
|
||||
pablodraw
|
||||
pacnews-neovim
|
||||
papirus-icon-theme-git
|
||||
pcmciautils
|
||||
perl-extract-url
|
||||
perl-getopt-long-descriptive
|
||||
perl-glib-object-introspection
|
||||
perl-uri-find
|
||||
pmount
|
||||
pulsemixer
|
||||
python-language-server
|
||||
pymdown-extensions
|
||||
python-lolcat
|
||||
ranger-git
|
||||
rar
|
||||
reaper
|
||||
rofi-git
|
||||
rtv
|
||||
sc3-plugins-git
|
||||
shadowfox-updater
|
||||
shellcheck-static
|
||||
soulseekqt
|
||||
ted
|
||||
terminus-font-ll2-td1
|
||||
texmaster
|
||||
thunar-archive-plugin-git
|
||||
thunar-media-tags-plugin-git
|
||||
thunar-vcs-plugin-git
|
||||
toilet-fonts
|
||||
transmission-remote-cli-git
|
||||
trizen
|
||||
ttf-clear-sans
|
||||
ttf-ibm-plex-git
|
||||
ttf-iosevka
|
||||
|
@ -82,5 +89,6 @@ ttf-sarasa-gothic
|
|||
unclutter-xfixes-git
|
||||
urlview
|
||||
xcursor-alkano-default
|
||||
yetris
|
||||
xzoom
|
||||
zd1211-firmware
|
||||
zsh-completions-git
|
||||
|
|
Reference in New Issue