Cosas nazis, peter
This commit is contained in:
parent
fa81cbba7c
commit
c0be1730af
9
Makefile
9
Makefile
|
@ -1,9 +0,0 @@
|
||||||
FILES = i3 \
|
|
||||||
i3status.conf \
|
|
||||||
|
|
||||||
|
|
||||||
.PHONNY: symlinks
|
|
||||||
|
|
||||||
symlinks: $(FILES)
|
|
||||||
@echo Making news symlinks...
|
|
||||||
$(foreach FILE, $(FILES), ln -fs -T $(PWD)/$(FILE) $(HOME)/.$(FILE);)
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
<div id="table-of-contents">
|
||||||
|
<h2>Table of Contents</h2>
|
||||||
|
<div id="text-table-of-contents">
|
||||||
|
<ul>
|
||||||
|
<li><a href="#orgheadline1">1. dotfiles</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
# dotfiles<a id="orgheadline1"></a>
|
||||||
|
|
||||||
|
Este repositorio contiene los siguientes archivos y directorios:
|
||||||
|
|
||||||
|
- El archivo `Xdefaults` para urxvt.
|
||||||
|
|
||||||
|
- El archivo `Xmodmap` con el caps lock y el ctrl invertidos.
|
||||||
|
|
||||||
|
- El archivo `tmux.conf` para tmux.
|
||||||
|
|
||||||
|
- El directorio `i3` que contiene archivos de configuración y scripts para i3-gaps y i3blocks-gaps.
|
||||||
|
- `config`: el archivo principal de i3-wm
|
||||||
|
|
||||||
|
- `i3blocks`: el archivo principal de i3blocks
|
||||||
|
|
||||||
|
- `scripts`: varios scripts para i3blocks y i3
|
||||||
|
|
||||||
|
- El directorio `mutt` que contiene archivos de configuración y scripts para neomutt, offlineimap, abook y notmuch. Los nombres de los archivos son lógicos, por lo que no requieren explicación. Se puede leer más sobre el tema en este [articulo](https://daemons.cf/posts/neomutt-offlineimap-notmuch-abook-sustituyendo-a-los-gestores-de-correo-monstruosos/index.html).
|
||||||
|
|
||||||
|
Ver ayuda con `bash instala.sh`.
|
|
@ -0,0 +1,20 @@
|
||||||
|
* dotfiles
|
||||||
|
|
||||||
|
Este repositorio contiene los siguientes archivos y directorios:
|
||||||
|
- El archivo =Xdefaults= para urxvt.
|
||||||
|
|
||||||
|
- El archivo =Xmodmap= con el caps lock y el ctrl invertidos.
|
||||||
|
|
||||||
|
- El archivo =tmux.conf= para tmux.
|
||||||
|
|
||||||
|
- El directorio =i3= que contiene archivos de configuración y scripts para i3-gaps y i3blocks-gaps.
|
||||||
|
|
||||||
|
+ =config=: el archivo principal de i3-wm
|
||||||
|
|
||||||
|
+ =i3blocks=: el archivo principal de i3blocks
|
||||||
|
|
||||||
|
+ =scripts=: varios scripts para i3blocks y i3
|
||||||
|
|
||||||
|
- El directorio =mutt= que contiene archivos de configuración y scripts para neomutt, offlineimap, abook y notmuch. Los nombres de los archivos son lógicos, por lo que no requieren explicación. Se puede leer más sobre el tema en este [[https://daemons.cf/posts/neomutt-offlineimap-notmuch-abook-sustituyendo-a-los-gestores-de-correo-monstruosos/index.html][articulo]].
|
||||||
|
|
||||||
|
Ver ayuda con =bash instala.sh=.
|
|
@ -0,0 +1,62 @@
|
||||||
|
!------------------------------------------------------------------------------
|
||||||
|
! u r x v t
|
||||||
|
|
||||||
|
URxvt.font: xft:DejaVu Sans Mono Book:pixelsize=12:antialias=true
|
||||||
|
URxvt.letterSpace: -2
|
||||||
|
URxvt*scrollBar: false
|
||||||
|
URxvt*scrollBar_right: true
|
||||||
|
|
||||||
|
URxvt*transparent: true
|
||||||
|
URxvt*shading: 20
|
||||||
|
URxvt*saveLines: 1000
|
||||||
|
|
||||||
|
URxvt.perl-ext-common: default,matcher
|
||||||
|
URxvt.url-launcher: qutebrowser --target tab-bg-silent
|
||||||
|
URxvt.matcher.button: 1
|
||||||
|
URxvt.colorUL: #4682B4
|
||||||
|
|
||||||
|
!------------------------------------------------------------------------------
|
||||||
|
! ! c o l o r - s e t t i n g s
|
||||||
|
|
||||||
|
*background: black
|
||||||
|
*foreground: grey50
|
||||||
|
|
||||||
|
! Cursor theme
|
||||||
|
xcursor.theme: Vanilla-DMZ
|
||||||
|
|
||||||
|
! URxvt config
|
||||||
|
URxvt*termName: rxvt-unicode-256color
|
||||||
|
URxvt*selectToClipboard: false
|
||||||
|
|
||||||
|
! Tango color palette
|
||||||
|
URxvt*background: #2e3436
|
||||||
|
URxvt*foreground: #eeeeec
|
||||||
|
URxvt*cursorColor: #8ae234
|
||||||
|
! foreground color for underline
|
||||||
|
URxvt*colorUL: #8ae234
|
||||||
|
! line color for underline
|
||||||
|
URxvt*underlineColor: #92659a
|
||||||
|
! black dark/light
|
||||||
|
URxvt*color0: #2e3436
|
||||||
|
URxvt*color8: #6e706b
|
||||||
|
! red dark/light
|
||||||
|
URxvt*color1: #cc0000
|
||||||
|
URxvt*color9: #ef2929
|
||||||
|
! green dark/light
|
||||||
|
URxvt*color2: #4e9a06
|
||||||
|
URxvt*color10: #8ae234
|
||||||
|
! yellow dark/light
|
||||||
|
URxvt*color3: #edd400
|
||||||
|
URxvt*color11: #fce94f
|
||||||
|
! blue dark/light
|
||||||
|
URxvt*color4: #3465a4
|
||||||
|
URxvt*color12: #729fcf
|
||||||
|
! magenta dark/light
|
||||||
|
URxvt*color5: #92659a
|
||||||
|
URxvt*color13: #c19fbe
|
||||||
|
! cyan dark/light
|
||||||
|
URxvt*color6: #07c7ca
|
||||||
|
URxvt*color14: #63e9e9
|
||||||
|
! white dark/light
|
||||||
|
URxvt*color7: #d3d7cf
|
||||||
|
URxvt*color15: #eeeeec
|
|
@ -0,0 +1,260 @@
|
||||||
|
keycode 8 =
|
||||||
|
keycode 9 = Escape NoSymbol Escape
|
||||||
|
keycode 10 = 1 exclam 1 exclam bar exclamdown bar
|
||||||
|
keycode 11 = 2 quotedbl 2 quotedbl at oneeighth at
|
||||||
|
keycode 12 = 3 periodcentered 3 periodcentered numbersign sterling numbersign
|
||||||
|
keycode 13 = 4 dollar 4 dollar asciitilde dollar asciitilde
|
||||||
|
keycode 14 = 5 percent 5 percent onehalf threeeighths onehalf
|
||||||
|
keycode 15 = 6 ampersand 6 ampersand notsign fiveeighths notsign
|
||||||
|
keycode 16 = 7 slash 7 slash braceleft seveneighths braceleft
|
||||||
|
keycode 17 = 8 parenleft 8 parenleft bracketleft trademark bracketleft
|
||||||
|
keycode 18 = 9 parenright 9 parenright bracketright plusminus bracketright
|
||||||
|
keycode 19 = 0 equal 0 equal braceright degree braceright
|
||||||
|
keycode 20 = apostrophe question apostrophe question backslash questiondown backslash
|
||||||
|
keycode 21 = exclamdown questiondown exclamdown questiondown dead_tilde asciitilde dead_tilde
|
||||||
|
keycode 22 = BackSpace BackSpace BackSpace BackSpace NoSymbol NoSymbol Terminate_Server
|
||||||
|
keycode 23 = Tab ISO_Left_Tab Tab ISO_Left_Tab
|
||||||
|
keycode 24 = q Q q Q at Greek_OMEGA at
|
||||||
|
keycode 25 = w W w W lstroke Lstroke lstroke
|
||||||
|
keycode 26 = e E e E EuroSign cent EuroSign
|
||||||
|
keycode 27 = r R r R paragraph registered paragraph
|
||||||
|
keycode 28 = t T t T tslash Tslash tslash
|
||||||
|
keycode 29 = y Y y Y leftarrow yen leftarrow
|
||||||
|
keycode 30 = u U u U downarrow uparrow downarrow
|
||||||
|
keycode 31 = i I i I rightarrow idotless rightarrow
|
||||||
|
keycode 32 = o O o O oslash Oslash oslash
|
||||||
|
keycode 33 = p P p P thorn THORN thorn
|
||||||
|
keycode 34 = dead_grave dead_circumflex dead_grave dead_circumflex bracketleft dead_abovering bracketleft
|
||||||
|
keycode 35 = plus asterisk plus asterisk bracketright dead_macron bracketright
|
||||||
|
keycode 36 = Return NoSymbol Return
|
||||||
|
keycode 37 = Control_L NoSymbol Control_L
|
||||||
|
keycode 38 = a A a A ae AE ae
|
||||||
|
keycode 39 = s S s S ssharp section ssharp
|
||||||
|
keycode 40 = d D d D eth ETH eth
|
||||||
|
keycode 41 = f F f F dstroke ordfeminine dstroke
|
||||||
|
keycode 42 = g G g G eng ENG eng
|
||||||
|
keycode 43 = h H h H hstroke Hstroke hstroke
|
||||||
|
keycode 44 = j J j J dead_hook dead_horn dead_hook
|
||||||
|
keycode 45 = k K k K kra ampersand kra
|
||||||
|
keycode 46 = l L l L lstroke Lstroke lstroke
|
||||||
|
keycode 47 = ntilde Ntilde ntilde Ntilde asciitilde dead_doubleacute asciitilde
|
||||||
|
keycode 48 = dead_acute dead_diaeresis dead_acute dead_diaeresis braceleft braceleft braceleft
|
||||||
|
keycode 49 = masculine ordfeminine masculine ordfeminine backslash backslash backslash
|
||||||
|
keycode 50 = Shift_L NoSymbol Shift_L
|
||||||
|
keycode 51 = ccedilla Ccedilla ccedilla Ccedilla braceright dead_breve braceright
|
||||||
|
keycode 52 = z Z z Z guillemotleft less guillemotleft
|
||||||
|
keycode 53 = x X x X guillemotright greater guillemotright
|
||||||
|
keycode 54 = c C c C cent copyright cent
|
||||||
|
keycode 55 = v V v V leftdoublequotemark leftsinglequotemark leftdoublequotemark
|
||||||
|
keycode 56 = b B b B rightdoublequotemark rightsinglequotemark rightdoublequotemark
|
||||||
|
keycode 57 = n N n N n N n
|
||||||
|
keycode 58 = m M m M mu masculine mu
|
||||||
|
keycode 59 = comma semicolon comma semicolon horizconnector multiply horizconnector
|
||||||
|
keycode 60 = period colon period colon periodcentered division periodcentered
|
||||||
|
keycode 61 = minus underscore minus underscore dead_belowdot dead_abovedot dead_belowdot
|
||||||
|
keycode 62 = Shift_R NoSymbol Shift_R
|
||||||
|
keycode 63 = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab
|
||||||
|
keycode 64 = Alt_L Meta_L Alt_L Meta_L
|
||||||
|
keycode 65 = space NoSymbol space
|
||||||
|
keycode 66 = Caps_Lock NoSymbol Caps_Lock
|
||||||
|
keycode 67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1
|
||||||
|
keycode 68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2
|
||||||
|
keycode 69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3
|
||||||
|
keycode 70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4
|
||||||
|
keycode 71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5
|
||||||
|
keycode 72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6
|
||||||
|
keycode 73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7
|
||||||
|
keycode 74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8
|
||||||
|
keycode 75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9
|
||||||
|
keycode 76 = F10 F10 F10 F10 F10 F10 XF86Switch_VT_10
|
||||||
|
keycode 77 = Num_Lock NoSymbol Num_Lock
|
||||||
|
keycode 78 = Scroll_Lock NoSymbol Scroll_Lock
|
||||||
|
keycode 79 = KP_Home 7 KP_Home 7
|
||||||
|
keycode 80 = KP_Up 8 KP_Up 8
|
||||||
|
keycode 81 = KP_Prior 9 KP_Prior 9
|
||||||
|
keycode 82 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode
|
||||||
|
keycode 83 = KP_Left 4 KP_Left 4
|
||||||
|
keycode 84 = KP_Begin 5 KP_Begin 5
|
||||||
|
keycode 85 = KP_Right 6 KP_Right 6
|
||||||
|
keycode 86 = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add XF86Next_VMode
|
||||||
|
keycode 87 = KP_End 1 KP_End 1
|
||||||
|
keycode 88 = KP_Down 2 KP_Down 2
|
||||||
|
keycode 89 = KP_Next 3 KP_Next 3
|
||||||
|
keycode 90 = KP_Insert 0 KP_Insert 0
|
||||||
|
keycode 91 = KP_Delete KP_Decimal KP_Delete KP_Decimal
|
||||||
|
keycode 92 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
|
||||||
|
keycode 93 =
|
||||||
|
keycode 94 = less greater less greater bar brokenbar bar
|
||||||
|
keycode 95 = F11 F11 F11 F11 F11 F11 XF86Switch_VT_11
|
||||||
|
keycode 96 = F12 F12 F12 F12 F12 F12 XF86Switch_VT_12
|
||||||
|
keycode 97 =
|
||||||
|
keycode 98 = Katakana NoSymbol Katakana
|
||||||
|
keycode 99 = Hiragana NoSymbol Hiragana
|
||||||
|
keycode 100 = Henkan_Mode NoSymbol Henkan_Mode
|
||||||
|
keycode 101 = Hiragana_Katakana NoSymbol Hiragana_Katakana
|
||||||
|
keycode 102 = Muhenkan NoSymbol Muhenkan
|
||||||
|
keycode 103 =
|
||||||
|
keycode 104 = KP_Enter NoSymbol KP_Enter
|
||||||
|
keycode 105 = Control_R NoSymbol Control_R
|
||||||
|
keycode 106 = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab
|
||||||
|
keycode 107 = Print Sys_Req Print Sys_Req
|
||||||
|
keycode 108 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
|
||||||
|
keycode 109 = Linefeed NoSymbol Linefeed
|
||||||
|
keycode 110 = Home NoSymbol Home
|
||||||
|
keycode 111 = Up NoSymbol Up
|
||||||
|
keycode 112 = Prior NoSymbol Prior
|
||||||
|
keycode 113 = Left NoSymbol Left
|
||||||
|
keycode 114 = Right NoSymbol Right
|
||||||
|
keycode 115 = End NoSymbol End
|
||||||
|
keycode 116 = Down NoSymbol Down
|
||||||
|
keycode 117 = Next NoSymbol Next
|
||||||
|
keycode 118 = Insert NoSymbol Insert
|
||||||
|
keycode 119 = Delete NoSymbol Delete
|
||||||
|
keycode 120 =
|
||||||
|
keycode 121 = XF86AudioMute NoSymbol XF86AudioMute
|
||||||
|
keycode 122 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume
|
||||||
|
keycode 123 = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume
|
||||||
|
keycode 124 = XF86PowerOff NoSymbol XF86PowerOff
|
||||||
|
keycode 125 = KP_Equal NoSymbol KP_Equal
|
||||||
|
keycode 126 = plusminus NoSymbol plusminus
|
||||||
|
keycode 127 = Pause Break Pause Break
|
||||||
|
keycode 128 = XF86LaunchA NoSymbol XF86LaunchA
|
||||||
|
keycode 129 = KP_Decimal KP_Decimal KP_Decimal KP_Decimal
|
||||||
|
keycode 130 = Hangul NoSymbol Hangul
|
||||||
|
keycode 131 = Hangul_Hanja NoSymbol Hangul_Hanja
|
||||||
|
keycode 132 =
|
||||||
|
keycode 133 = Super_L NoSymbol Super_L
|
||||||
|
keycode 134 = Super_R NoSymbol Super_R
|
||||||
|
keycode 135 = Super_L NoSymbol Super_L
|
||||||
|
keycode 136 = Cancel NoSymbol Cancel
|
||||||
|
keycode 137 = Redo NoSymbol Redo
|
||||||
|
keycode 138 = SunProps NoSymbol SunProps
|
||||||
|
keycode 139 = Undo NoSymbol Undo
|
||||||
|
keycode 140 = SunFront NoSymbol SunFront
|
||||||
|
keycode 141 = XF86Copy NoSymbol XF86Copy
|
||||||
|
keycode 142 = SunOpen NoSymbol SunOpen
|
||||||
|
keycode 143 = XF86Paste NoSymbol XF86Paste
|
||||||
|
keycode 144 = Find NoSymbol Find
|
||||||
|
keycode 145 = XF86Cut NoSymbol XF86Cut
|
||||||
|
keycode 146 = Help NoSymbol Help
|
||||||
|
keycode 147 = XF86MenuKB NoSymbol XF86MenuKB
|
||||||
|
keycode 148 = XF86Calculator NoSymbol XF86Calculator
|
||||||
|
keycode 149 =
|
||||||
|
keycode 150 = XF86Sleep NoSymbol XF86Sleep
|
||||||
|
keycode 151 = XF86WakeUp NoSymbol XF86WakeUp
|
||||||
|
keycode 152 = XF86Explorer NoSymbol XF86Explorer
|
||||||
|
keycode 153 = XF86Send NoSymbol XF86Send
|
||||||
|
keycode 154 =
|
||||||
|
keycode 155 = XF86Xfer NoSymbol XF86Xfer
|
||||||
|
keycode 156 = XF86Launch1 NoSymbol XF86Launch1
|
||||||
|
keycode 157 = XF86Launch2 NoSymbol XF86Launch2
|
||||||
|
keycode 158 = XF86WWW NoSymbol XF86WWW
|
||||||
|
keycode 159 = XF86DOS NoSymbol XF86DOS
|
||||||
|
keycode 160 = XF86ScreenSaver NoSymbol XF86ScreenSaver
|
||||||
|
keycode 161 =
|
||||||
|
keycode 162 = XF86RotateWindows NoSymbol XF86RotateWindows
|
||||||
|
keycode 163 = XF86Mail NoSymbol XF86Mail
|
||||||
|
keycode 164 = XF86Favorites NoSymbol XF86Favorites
|
||||||
|
keycode 165 = XF86MyComputer NoSymbol XF86MyComputer
|
||||||
|
keycode 166 = XF86Back NoSymbol XF86Back
|
||||||
|
keycode 167 = XF86Forward NoSymbol XF86Forward
|
||||||
|
keycode 168 =
|
||||||
|
keycode 169 = XF86Eject NoSymbol XF86Eject
|
||||||
|
keycode 170 = XF86Eject XF86Eject XF86Eject XF86Eject
|
||||||
|
keycode 171 = XF86AudioNext NoSymbol XF86AudioNext
|
||||||
|
keycode 172 = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause
|
||||||
|
keycode 173 = XF86AudioPrev NoSymbol XF86AudioPrev
|
||||||
|
keycode 174 = XF86AudioStop XF86Eject XF86AudioStop XF86Eject
|
||||||
|
keycode 175 = XF86AudioRecord NoSymbol XF86AudioRecord
|
||||||
|
keycode 176 = XF86AudioRewind NoSymbol XF86AudioRewind
|
||||||
|
keycode 177 = XF86Phone NoSymbol XF86Phone
|
||||||
|
keycode 178 =
|
||||||
|
keycode 179 = XF86Tools NoSymbol XF86Tools
|
||||||
|
keycode 180 = XF86HomePage NoSymbol XF86HomePage
|
||||||
|
keycode 181 = XF86Reload NoSymbol XF86Reload
|
||||||
|
keycode 182 = XF86Close NoSymbol XF86Close
|
||||||
|
keycode 183 =
|
||||||
|
keycode 184 =
|
||||||
|
keycode 185 = XF86ScrollUp NoSymbol XF86ScrollUp
|
||||||
|
keycode 186 = XF86ScrollDown NoSymbol XF86ScrollDown
|
||||||
|
keycode 187 = parenleft NoSymbol parenleft
|
||||||
|
keycode 188 = parenright NoSymbol parenright
|
||||||
|
keycode 189 = XF86New NoSymbol XF86New
|
||||||
|
keycode 190 = Redo NoSymbol Redo
|
||||||
|
keycode 191 = XF86Tools NoSymbol XF86Tools
|
||||||
|
keycode 192 = XF86Launch5 NoSymbol XF86Launch5
|
||||||
|
keycode 193 = XF86Launch6 NoSymbol XF86Launch6
|
||||||
|
keycode 194 = XF86Launch7 NoSymbol XF86Launch7
|
||||||
|
keycode 195 = XF86Launch8 NoSymbol XF86Launch8
|
||||||
|
keycode 196 = XF86Launch9 NoSymbol XF86Launch9
|
||||||
|
keycode 197 =
|
||||||
|
keycode 198 =
|
||||||
|
keycode 199 = XF86TouchpadToggle NoSymbol XF86TouchpadToggle
|
||||||
|
keycode 200 = XF86TouchpadOn NoSymbol XF86TouchpadOn
|
||||||
|
keycode 201 = XF86TouchpadOff NoSymbol XF86TouchpadOff
|
||||||
|
keycode 202 =
|
||||||
|
keycode 203 = Mode_switch NoSymbol Mode_switch
|
||||||
|
keycode 204 = NoSymbol Alt_L NoSymbol Alt_L
|
||||||
|
keycode 205 = NoSymbol Meta_L NoSymbol Meta_L
|
||||||
|
keycode 206 = NoSymbol Super_L NoSymbol Super_L
|
||||||
|
keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L
|
||||||
|
keycode 208 = XF86AudioPlay NoSymbol XF86AudioPlay
|
||||||
|
keycode 209 = XF86AudioPause NoSymbol XF86AudioPause
|
||||||
|
keycode 210 = XF86Launch3 NoSymbol XF86Launch3
|
||||||
|
keycode 211 = XF86Launch4 NoSymbol XF86Launch4
|
||||||
|
keycode 212 = XF86LaunchB NoSymbol XF86LaunchB
|
||||||
|
keycode 213 = XF86Suspend NoSymbol XF86Suspend
|
||||||
|
keycode 214 = XF86Close NoSymbol XF86Close
|
||||||
|
keycode 215 = XF86AudioPlay NoSymbol XF86AudioPlay
|
||||||
|
keycode 216 = XF86AudioForward NoSymbol XF86AudioForward
|
||||||
|
keycode 217 =
|
||||||
|
keycode 218 = Print NoSymbol Print
|
||||||
|
keycode 219 =
|
||||||
|
keycode 220 = XF86WebCam NoSymbol XF86WebCam
|
||||||
|
keycode 221 =
|
||||||
|
keycode 222 =
|
||||||
|
keycode 223 = XF86Mail NoSymbol XF86Mail
|
||||||
|
keycode 224 = XF86Messenger NoSymbol XF86Messenger
|
||||||
|
keycode 225 = XF86Search NoSymbol XF86Search
|
||||||
|
keycode 226 = XF86Go NoSymbol XF86Go
|
||||||
|
keycode 227 = XF86Finance NoSymbol XF86Finance
|
||||||
|
keycode 228 = XF86Game NoSymbol XF86Game
|
||||||
|
keycode 229 = XF86Shop NoSymbol XF86Shop
|
||||||
|
keycode 230 =
|
||||||
|
keycode 231 = Cancel NoSymbol Cancel
|
||||||
|
keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown
|
||||||
|
keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp
|
||||||
|
keycode 234 = XF86AudioMedia NoSymbol XF86AudioMedia
|
||||||
|
keycode 235 = XF86Display NoSymbol XF86Display
|
||||||
|
keycode 236 = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff
|
||||||
|
keycode 237 = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown
|
||||||
|
keycode 238 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp
|
||||||
|
keycode 239 = XF86Send NoSymbol XF86Send
|
||||||
|
keycode 240 = XF86Reply NoSymbol XF86Reply
|
||||||
|
keycode 241 = XF86MailForward NoSymbol XF86MailForward
|
||||||
|
keycode 242 = XF86Save NoSymbol XF86Save
|
||||||
|
keycode 243 = XF86Documents NoSymbol XF86Documents
|
||||||
|
keycode 244 = XF86Battery NoSymbol XF86Battery
|
||||||
|
keycode 245 = XF86Bluetooth NoSymbol XF86Bluetooth
|
||||||
|
keycode 246 = XF86WLAN NoSymbol XF86WLAN
|
||||||
|
keycode 247 =
|
||||||
|
keycode 248 =
|
||||||
|
keycode 249 =
|
||||||
|
keycode 250 =
|
||||||
|
keycode 251 =
|
||||||
|
keycode 252 =
|
||||||
|
keycode 253 =
|
||||||
|
keycode 254 =
|
||||||
|
keycode 255 =
|
||||||
|
!
|
||||||
|
! Swap Caps_Lock and Control_L
|
||||||
|
!
|
||||||
|
remove Lock = Caps_Lock
|
||||||
|
remove Control = Control_L
|
||||||
|
keysym Control_L = Caps_Lock
|
||||||
|
keysym Caps_Lock = Control_L
|
||||||
|
add Lock = Caps_Lock
|
||||||
|
add Control = Control_L
|
||||||
|
!
|
||||||
|
! Arreglar las putas ctrl + flechas
|
||||||
|
!
|
53
i3/.code
53
i3/.code
|
@ -1,53 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
case $1; in
|
|
||||||
tornado
|
|
||||||
tropical storm
|
|
||||||
hurricane
|
|
||||||
severe thunderstorms
|
|
||||||
thunderstorms
|
|
||||||
mixed rain and snow
|
|
||||||
mixed rain and sleet
|
|
||||||
mixed snow and sleet
|
|
||||||
freezing drizzle
|
|
||||||
drizzle
|
|
||||||
freezing rain
|
|
||||||
showers
|
|
||||||
showers
|
|
||||||
snow flurries
|
|
||||||
light snow showers
|
|
||||||
blowing snow
|
|
||||||
snow
|
|
||||||
hail
|
|
||||||
sleet
|
|
||||||
dust
|
|
||||||
foggy
|
|
||||||
haze
|
|
||||||
smoky
|
|
||||||
blustery
|
|
||||||
windy
|
|
||||||
cold
|
|
||||||
cloudy
|
|
||||||
mostly cloudy (night)
|
|
||||||
mostly cloudy (day)
|
|
||||||
partly cloudy (night)
|
|
||||||
partly cloudy (day)
|
|
||||||
clear (night)
|
|
||||||
sunny
|
|
||||||
fair (night)
|
|
||||||
fair (day)
|
|
||||||
mixed rain and hail
|
|
||||||
hot
|
|
||||||
isolated thunderstorms
|
|
||||||
scattered thunderstorms
|
|
||||||
scattered thunderstorms
|
|
||||||
scattered showers
|
|
||||||
heavy snow
|
|
||||||
scattered snow showers
|
|
||||||
heavy snow
|
|
||||||
partly cloudy
|
|
||||||
thundershowers
|
|
||||||
snow showers
|
|
||||||
isolated thundershowers
|
|
||||||
not available
|
|
||||||
done
|
|
139
i3/config
139
i3/config
|
@ -1,55 +1,9 @@
|
||||||
# This file has been auto-generated by i3-config-wizard(1).
|
|
||||||
# It will not be overwritten, so edit it as you like.
|
|
||||||
#
|
|
||||||
# Should you change your keyboard layout somewhen, delete
|
|
||||||
# this file and re-run i3-config-wizard(1).
|
|
||||||
#
|
|
||||||
|
|
||||||
# i3 config file (v4)
|
|
||||||
#
|
|
||||||
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
|
||||||
# Tango colors
|
# Tango colors
|
||||||
# $i3-status
|
# $i3-status
|
||||||
|
|
||||||
set color_bad = "#CC0000"
|
set color_bad = #CC0000
|
||||||
set color_degraded = "#EDD400"
|
set color_degraded = #EDD400
|
||||||
set color_good = "#73D216"
|
set color_good = #73D216
|
||||||
|
|
||||||
# $i3-theme-window
|
|
||||||
# tango dark
|
|
||||||
set $darkblue #204A87
|
|
||||||
set $darkbrown #8F5902
|
|
||||||
set $darkgreen #4E9A06
|
|
||||||
set $darkmagenta #5C3566
|
|
||||||
set $darkred #A40000
|
|
||||||
set $darkyellow #C4A000
|
|
||||||
set $darkorange #CE5C00
|
|
||||||
|
|
||||||
# tango light
|
|
||||||
set $lightblue #729FCF
|
|
||||||
set $lightbrown #E9B96E
|
|
||||||
set $lightgreen #8AE234
|
|
||||||
set $lightmagenta #AD7FA8
|
|
||||||
set $lightred #EF2929
|
|
||||||
set $lightyellow #FCE94F
|
|
||||||
set $lightorange #FCAF3E
|
|
||||||
|
|
||||||
# tango normal
|
|
||||||
set $blue #3465A4
|
|
||||||
set $brown #C17D11
|
|
||||||
set $green #73D216
|
|
||||||
set $magenta #75507B
|
|
||||||
set $red #CC0000
|
|
||||||
set $yellow #EDD400
|
|
||||||
set $orange #F57900
|
|
||||||
|
|
||||||
# tango mono
|
|
||||||
set $black #555753
|
|
||||||
set $grey #BABDB6
|
|
||||||
set $white #EEEEEC
|
|
||||||
set $darkblack #2E3436
|
|
||||||
set $darkgrey #888A85
|
|
||||||
set $darkwhite #D3D7CF
|
|
||||||
|
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
|
||||||
|
@ -71,7 +25,7 @@ set $display2 VGA1
|
||||||
workspace_auto_back_and_forth yes
|
workspace_auto_back_and_forth yes
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec urxvt
|
bindsym $mod+Return exec terminal
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+Q kill
|
bindsym $mod+Shift+Q kill
|
||||||
|
@ -125,21 +79,9 @@ set $ws4 4<big></big>
|
||||||
set $ws5 5<big></big>
|
set $ws5 5<big></big>
|
||||||
set $ws6 6<big></big>
|
set $ws6 6<big></big>
|
||||||
set $ws7 7<big></big>
|
set $ws7 7<big></big>
|
||||||
set $ws8 8<big></big>
|
set $ws8 8<big></big>
|
||||||
set $ws9 9<big></big>
|
set $ws9 9<big></big>
|
||||||
set $ws10 <big>10</big>
|
set $ws10 10
|
||||||
|
|
||||||
# workspace names
|
|
||||||
# workspace $ws1 output $display
|
|
||||||
# workspace $ws2 output $display
|
|
||||||
# workspace $ws3 output $display
|
|
||||||
# workspace $ws4 output $display
|
|
||||||
# workspace $ws5 output $display
|
|
||||||
# workspace $ws6 output $display
|
|
||||||
# workspace $ws7 output $display
|
|
||||||
# workspace $ws8 output $display
|
|
||||||
# workspace $ws9 output $display
|
|
||||||
# workspace $ws10 output $display2
|
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+1 workspace $ws1
|
bindsym $mod+1 workspace $ws1
|
||||||
|
@ -164,15 +106,13 @@ bindsym $mod+Shift+8 move container to workspace $ws8
|
||||||
bindsym $mod+Shift+9 move container to workspace $ws9
|
bindsym $mod+Shift+9 move container to workspace $ws9
|
||||||
bindsym $mod+Shift+0 move container to workspace $ws10
|
bindsym $mod+Shift+0 move container to workspace $ws10
|
||||||
|
|
||||||
|
# set workspace to monitor
|
||||||
|
workspace $ws2 output $display2
|
||||||
|
workspace $ws8 output $display1
|
||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
# resize window (you can also use the mouse for that)
|
||||||
mode "Resize" {
|
mode "Resize" {
|
||||||
# These bindings trigger as soon as you enter the resize mode
|
# These bindings trigger as soon as you enter the resize mode
|
||||||
|
|
||||||
# Pressing left will shrink the window’s width.
|
|
||||||
# Pressing right will grow the window’s width.
|
|
||||||
# Pressing up will shrink the window’s height.
|
|
||||||
# Pressing down will grow the window’s height.
|
|
||||||
bindsym j resize shrink width 10 px or 10 ppt
|
bindsym j resize shrink width 10 px or 10 ppt
|
||||||
bindsym k resize grow height 10 px or 10 ppt
|
bindsym k resize grow height 10 px or 10 ppt
|
||||||
bindsym l resize shrink height 10 px or 10 ppt
|
bindsym l resize shrink height 10 px or 10 ppt
|
||||||
|
@ -196,9 +136,9 @@ bindsym $mod+r mode "Resize"
|
||||||
bar {
|
bar {
|
||||||
font pango:Dyuthi3, Awesome, Icons 10
|
font pango:Dyuthi3, Awesome, Icons 10
|
||||||
status_command /usr/local/bin/i3blocks
|
status_command /usr/local/bin/i3blocks
|
||||||
|
position top
|
||||||
# quitar los putos números del nombre del workspace
|
# quitar los putos números del nombre del workspace
|
||||||
strip_workspace_numbers yes
|
strip_workspace_numbers yes
|
||||||
position top
|
|
||||||
|
|
||||||
colors {
|
colors {
|
||||||
background #000000
|
background #000000
|
||||||
|
@ -208,21 +148,16 @@ bar {
|
||||||
focused_workspace #990099 #222222 #729FCF
|
focused_workspace #990099 #222222 #729FCF
|
||||||
inactive_workspace #222222 #222222 #729FCF
|
inactive_workspace #222222 #222222 #729FCF
|
||||||
active_workspace #222222 #222222 #729FCF
|
active_workspace #222222 #222222 #729FCF
|
||||||
urgent_workspace $red #22222 $red
|
urgent_workspace #FF0000 #222222 #FF0000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# exit i3 (logs you out of your X session)
|
|
||||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
|
||||||
|
|
||||||
#shutdown
|
|
||||||
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
|
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
|
||||||
mode "$mode_system" {
|
mode "$mode_system" {
|
||||||
bindsym l exec --no-startup-id ~/.i3/exit lock, mode "default"
|
bindsym l exec --no-startup-id ~/.i3/scripts/exit lock, mode "default"
|
||||||
bindsym s exec --no-startup-id ~/.i3/exit pm-suspend, mode "default"
|
bindsym s exec --no-startup-id ~/.i3/scripts/exit pm-suspend, mode "default"
|
||||||
bindsym r exec --no-startup-id ~/.i3/exit reboot, mode "default"
|
bindsym r exec --no-startup-id ~/.i3/scripts/exit reboot, mode "default"
|
||||||
bindsym e exec --no-startup-id ~/.i3/exit logout, mode "default"
|
bindsym e exec --no-startup-id ~/.i3/scripts/exit logout, mode "default"
|
||||||
bindsym Shift+s exec --no-startup-id ~/.i3/exit shutdown, mode "default"
|
|
||||||
|
|
||||||
# back to normal: Enter or Escape
|
# back to normal: Enter or Escape
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
|
@ -235,31 +170,34 @@ bindsym $mod+Escape mode "$mode_system"
|
||||||
new_window pixel
|
new_window pixel
|
||||||
|
|
||||||
# class border backgr text indicator
|
# class border backgr text indicator
|
||||||
client.focused #990099 #990099 $white $blue
|
client.focused #990099 #990099 #ffffff #729FCF
|
||||||
client.focused_inactive #990099 #990099 $white $blue
|
client.focused_inactive #990099 #990099 #ffffff #729FCF
|
||||||
client.unfocused #990099 $gray $white $blue
|
client.unfocused #990099 #222222 #ffffff #729FCF
|
||||||
client.urgent #FF0000 #8C5665 #ffffff #FF0000
|
client.urgent #FF0000 #8C5665 #ffffff #FF0000
|
||||||
|
|
||||||
# Wallpaper
|
# Wallpaper
|
||||||
exec --no-startup-id feh --bg-scale ~/Imagenes/Fondos\ de\ Pantalla/Debian_Electric_Blue_by_EnlightenedShadow.jpg
|
exec --no-startup-id feh --bg-scale ~/Imagenes/Fondos\ de\ Pantalla/following.jpeg
|
||||||
|
|
||||||
# Autostart
|
# Autostart
|
||||||
exec --no-startup-id owncloud
|
# exec --no-startup-id emacs
|
||||||
exec --no-startup-id emacs
|
# exec --no-startup-id start-tor
|
||||||
exec --no-startup-id start-tor
|
# exec --no-startup-id firefox
|
||||||
exec --no-startup-id iceweasel
|
exec --no-startup-id xbacklight -set 100
|
||||||
exec --no-startup-id xmodmap ~/.Xmodmap
|
exec --no-startup-id bash ~/.i3/scripts/autolock.sh
|
||||||
|
|
||||||
# Move programs to layout
|
|
||||||
assign [class="(?i)iceweasel"] → $ws2
|
|
||||||
assign [class="(?i)tor"] → $ws2
|
|
||||||
assign [class="(?i)icedove"] → $ws9
|
|
||||||
assign [class="(?i)keepassx"] → $ws5
|
|
||||||
assign [class="(?i)mumble"] → $ws8
|
|
||||||
assign [title="bittorrent"] → $ws3
|
|
||||||
assign [title="emacs24@torre"] → $ws1
|
|
||||||
assign [title="Steam"] → $ws7
|
|
||||||
|
|
||||||
|
# Move programs to workspace
|
||||||
|
assign [class="(?i)firefox"] $ws2
|
||||||
|
assign [class="(?i)tor"] $ws2
|
||||||
|
assign [class="(?i)qutebrowser"] $ws2
|
||||||
|
assign [class="(?i)thunderbird"] $ws9
|
||||||
|
assign [title="mutt"] $ws9
|
||||||
|
assign [class="(?i)keepassx"] $ws5
|
||||||
|
assign [class="(?i)mumble"] $ws8
|
||||||
|
assign [title="bittorrent"] $ws3
|
||||||
|
assign [title="emacs-24.5-with-x11@slacky"] $ws1
|
||||||
|
assign [title="emacs@netbook"] $ws1
|
||||||
|
assign [title="Steam"] $ws7
|
||||||
|
assign [class="(?i)mpv"] $ws8
|
||||||
|
|
||||||
|
|
||||||
# Enable floating to certain programs
|
# Enable floating to certain programs
|
||||||
|
@ -273,8 +211,9 @@ for_window [class="(?i)plasma-desktop"] floating enable
|
||||||
for_window [class="(?i)klipper"] floating enable
|
for_window [class="(?i)klipper"] floating enable
|
||||||
for_window [class="(?i)feh"] floating enable
|
for_window [class="(?i)feh"] floating enable
|
||||||
for_window [class="Progreso de operación de archivo"] floating enable
|
for_window [class="Progreso de operación de archivo"] floating enable
|
||||||
|
for_window [title="emacsclient"] floating enable
|
||||||
|
|
||||||
# gapps
|
# i3-gaps
|
||||||
gaps inner 10
|
gaps inner 10
|
||||||
gaps outer 10
|
gaps outer 10
|
||||||
smart_borders on
|
smart_borders on
|
||||||
|
|
|
@ -12,6 +12,12 @@ separator=false
|
||||||
separator_block_width=5
|
separator_block_width=5
|
||||||
markup=pango
|
markup=pango
|
||||||
|
|
||||||
|
# [focused window]
|
||||||
|
# command=xdotool getactivewindow getwindowname
|
||||||
|
# interval=repeat
|
||||||
|
# separator=false
|
||||||
|
# color=#9fbc00
|
||||||
|
|
||||||
[weather]
|
[weather]
|
||||||
interval=30600
|
interval=30600
|
||||||
border=#729FCF
|
border=#729FCF
|
||||||
|
@ -39,6 +45,15 @@ border_left=0
|
||||||
|
|
||||||
[separator]
|
[separator]
|
||||||
|
|
||||||
|
[slack_updates]
|
||||||
|
interval=3600
|
||||||
|
border=#729FCF
|
||||||
|
border_top=0
|
||||||
|
border_right=0
|
||||||
|
border_left=0
|
||||||
|
|
||||||
|
[separator]
|
||||||
|
|
||||||
[volume]
|
[volume]
|
||||||
instance=Master
|
instance=Master
|
||||||
interval=once
|
interval=once
|
||||||
|
@ -57,3 +72,9 @@ border_top=0
|
||||||
border_right=0
|
border_right=0
|
||||||
border_left=0
|
border_left=0
|
||||||
signal=1
|
signal=1
|
||||||
|
|
||||||
|
[separator]
|
||||||
|
|
||||||
|
[batterybar]
|
||||||
|
interval=5
|
||||||
|
min_width=loooooool
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
xautolock -time 10 -locker "slock" -notify 30 &
|
|
@ -37,9 +37,9 @@ $percent = $2;
|
||||||
$full_text = "$percent%";
|
$full_text = "$percent%";
|
||||||
|
|
||||||
if ($status eq 'Discharging') {
|
if ($status eq 'Discharging') {
|
||||||
$full_text .= ' DIS';
|
$full_text .= '';
|
||||||
} elsif ($status eq 'Charging') {
|
} elsif ($status eq 'Charging') {
|
||||||
$full_text .= ' CHR';
|
$full_text = $full_text;
|
||||||
}
|
}
|
||||||
|
|
||||||
$short_text = $full_text;
|
$short_text = $full_text;
|
||||||
|
@ -49,25 +49,30 @@ if ($acpi =~ /(\d\d:\d\d):/) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# print text
|
# print text
|
||||||
print "$full_text\n";
|
|
||||||
print "$short_text\n";
|
|
||||||
|
|
||||||
# consider color and urgent flag only on discharge
|
# consider color and urgent flag only on discharge
|
||||||
if ($status eq 'Discharging') {
|
if ($status eq 'Discharging') {
|
||||||
|
|
||||||
if ($percent < 20) {
|
|
||||||
print "#FF0000\n";
|
|
||||||
} elsif ($percent < 40) {
|
|
||||||
print "#FFAE00\n";
|
|
||||||
} elsif ($percent < 60) {
|
|
||||||
print "#FFF600\n";
|
|
||||||
} elsif ($percent < 85) {
|
|
||||||
print "#A8FF00\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($percent < 5) {
|
if ($percent < 5) {
|
||||||
|
print '<span foreground="#729FCF">ï</span> ';
|
||||||
|
print "$short_text\n";
|
||||||
exit(33);
|
exit(33);
|
||||||
}
|
} elsif ($percent < 20) {
|
||||||
|
print '<span foreground="#729FCF">ï</span> ';
|
||||||
|
} elsif ($percent < 50) {
|
||||||
|
print '<span foreground="#729FCF">ï</span> ';
|
||||||
|
} elsif ($percent < 60) {
|
||||||
|
print '<span foreground="#729FCF">ï</span> ';
|
||||||
|
} elsif ($percent < 85) {
|
||||||
|
print '<span foreground="#729FCF">ï</span> ';
|
||||||
|
} elsif ($percent > 86) {
|
||||||
|
print '<span foreground="#729FCF">ï</span> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
print '<span foreground="#729FCF">ï¦</span> ';
|
||||||
|
}
|
||||||
|
print "$short_text\n";
|
||||||
exit(0);
|
exit(0);
|
||||||
|
|
|
@ -0,0 +1,121 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
# batterybar; displays battery percentage as a bar on i3blocks
|
||||||
|
#
|
||||||
|
# Copyright 2015 Keftaa <adnan.37h@gmail.com>
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
# MA 02110-1301, USA.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
output=$(acpi battery)
|
||||||
|
percentage=$(echo "$output" | grep -o -m1 '[0-9]\{1,3\}%' | tr -d '%')
|
||||||
|
status=$(echo "$output" | egrep -o -m1 'Discharging|Charging|AC|Full|Unknown')
|
||||||
|
remaining=$( echo "$output" | egrep -o -m1 '[0-9][0-9]:[0-9][0-9]')
|
||||||
|
[[ -n $remaining ]] && remaining_formatted=" ($remaining)"
|
||||||
|
squares="■"
|
||||||
|
|
||||||
|
|
||||||
|
#There are 8 colors that reflect the current battery percentage when
|
||||||
|
#discharging
|
||||||
|
dis_colors=("#FF0027" "#FF3B05" "#FFB923" "#FFD000" "#E4FF00" "#ADFF00"
|
||||||
|
"#6DFF00" "#10BA00")
|
||||||
|
charging_color="#00AFE3"
|
||||||
|
full_color="#FFFFFF"
|
||||||
|
ac_color="#535353"
|
||||||
|
|
||||||
|
|
||||||
|
while getopts 1:2:3:4:5:6:7:8:c:f:a:h opt; do
|
||||||
|
case "$opt" in
|
||||||
|
1) dis_colors[0]="$OPTARG";;
|
||||||
|
2) dis_colors[1]="$OPTARG";;
|
||||||
|
3) dis_colors[2]="$OPTARG";;
|
||||||
|
4) dis_colors[3]="$OPTARG";;
|
||||||
|
5) dis_colors[4]="$OPTARG";;
|
||||||
|
6) dis_colors[5]="$OPTARG";;
|
||||||
|
7) dis_colors[6]="$OPTARG";;
|
||||||
|
8) dis_colors[7]="$OPTARG";;
|
||||||
|
c) charging_color="$OPTARG";;
|
||||||
|
f) full_color="$OPTARG";;
|
||||||
|
a) ac_color="$OPTARG";;
|
||||||
|
h) printf "Usage: batterybar [OPTION] color
|
||||||
|
When discharging, there are 8 [1-8] levels colors.
|
||||||
|
You can specify custom colors, for example:
|
||||||
|
|
||||||
|
batterybar -1 red -2 \"#F6F6F6\" -8 green
|
||||||
|
|
||||||
|
You can also specify the colors for the charging, AC and
|
||||||
|
charged states:
|
||||||
|
|
||||||
|
batterybar -c green -f white -a \"#EEEEEE\"\n";
|
||||||
|
exit 0;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if (( percentage > 0 && percentage < 20 )); then
|
||||||
|
squares="■"
|
||||||
|
elif (( percentage >= 20 && percentage < 40 )); then
|
||||||
|
squares="■■"
|
||||||
|
elif (( percentage >= 40 && percentage < 60 )); then
|
||||||
|
squares="■■■"
|
||||||
|
elif (( percentage >= 60 && percentage < 80 )); then
|
||||||
|
squares="■■■■"
|
||||||
|
elif (( percentage >=80 )); then
|
||||||
|
squares="■■■■■"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$status" = "Unknown" ]]; then
|
||||||
|
squares="<sup>?</sup>$squares"
|
||||||
|
fi
|
||||||
|
|
||||||
|
case "$status" in
|
||||||
|
"Charging")
|
||||||
|
color="$charging_color"
|
||||||
|
;;
|
||||||
|
"Full")
|
||||||
|
color="$full_color"
|
||||||
|
;;
|
||||||
|
"AC")
|
||||||
|
color="$ac_color"
|
||||||
|
;;
|
||||||
|
"Discharging"|"Unknown")
|
||||||
|
if (( percentage >= 0 && percentage < 10 )); then
|
||||||
|
color="${dis_colors[0]}"
|
||||||
|
elif (( percentage >= 10 && percentage < 20 )); then
|
||||||
|
color="${dis_colors[1]}"
|
||||||
|
elif (( percentage >= 20 && percentage < 30 )); then
|
||||||
|
color="${dis_colors[2]}"
|
||||||
|
elif (( percentage >= 30 && percentage < 40 )); then
|
||||||
|
color="${dis_colors[3]}"
|
||||||
|
elif (( percentage >= 40 && percentage < 60 )); then
|
||||||
|
color="${dis_colors[4]}"
|
||||||
|
elif (( percentage >= 60 && percentage < 70 )); then
|
||||||
|
color="${dis_colors[5]}"
|
||||||
|
elif (( percentage >= 70 && percentage < 80 )); then
|
||||||
|
color="${dis_colors[6]}"
|
||||||
|
elif (( percentage >= 80 )); then
|
||||||
|
color="${dis_colors[7]}"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [[ "$BLOCK_BUTTON" -eq 1 ]]; then
|
||||||
|
echo "$status <span foreground=\"$color\">$percentage%$remaining_formatted</span>"
|
||||||
|
fi
|
||||||
|
echo "<span foreground=\"$color\">$squares</span>"
|
|
@ -5,14 +5,13 @@ lock() {
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
lock)
|
lock)
|
||||||
i3lock
|
/usr/bin/slock &
|
||||||
;;
|
;;
|
||||||
logout)
|
logout)
|
||||||
i3-msg exit
|
i3-msg exit
|
||||||
;;
|
;;
|
||||||
suspend)
|
suspend)
|
||||||
password=$(zenity --title Exit --password --text "Introduce tu contraseña:")
|
/usr/local/bin/susp
|
||||||
echo -n $password | sudo --stdin pm-suspend & i3lock
|
|
||||||
;;
|
;;
|
||||||
reboot)
|
reboot)
|
||||||
password=$(zenity --title Exit --password --text "Introduce tu contraseña:")
|
password=$(zenity --title Exit --password --text "Introduce tu contraseña:")
|
|
@ -6,3 +6,4 @@ case $BLOCK_BUTTON in
|
||||||
4) xbacklight -inc 20 ;; # scroll up, increase light
|
4) xbacklight -inc 20 ;; # scroll up, increase light
|
||||||
5) xbacklight -dec 20 ;; # scroll down, decrease light
|
5) xbacklight -dec 20 ;; # scroll down, decrease light
|
||||||
esac
|
esac
|
||||||
|
echo -e "<span foreground='#729FCF'> </span>"`xbacklight | cut -d'.' -f1`
|
||||||
|
|
|
@ -14,18 +14,30 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
INTERFACE="${1:-eth0}"
|
wlan=eth0
|
||||||
|
eth=eth1
|
||||||
|
|
||||||
state="$(cat /sys/class/net/$INTERFACE/operstate)"
|
if [ `cat /sys/class/net/$eth/operstate` = 'up' ]
|
||||||
|
then
|
||||||
|
INTERFACE=${eth}
|
||||||
|
SYMBOL=""
|
||||||
|
elif [ `cat /sys/class/net/$wlan/operstate` = 'up' ]
|
||||||
|
then
|
||||||
|
INTERFACE=${wlan}
|
||||||
|
SYMBOL=""
|
||||||
|
else
|
||||||
|
SYMBOL=""
|
||||||
|
fi
|
||||||
|
|
||||||
ISON=$(ping -q -w 1 -c 1 `ip r | grep default | cut -d ' ' -f 3` > /dev/null && echo On || echo Off)
|
ISON=$(ping -q -w 1 -c 1 `/sbin/ip r | grep default | cut -d ' ' -f 3` > /dev/null && echo On || echo Off)
|
||||||
ipaddr="$(ip addr show $INTERFACE | perl -n -e'/inet (.+)\// && print $1')"
|
ipaddr="$(/sbin/ifconfig | grep inet | grep -v 'inet6\|127' |sed 's/ /,/g' | sed 's/,,,,,,,,/,/' | cut -d',' -f3)"
|
||||||
ipaddr="${ipaddr:-0.0.0.0}"
|
ipaddr="${ipaddr:-0.0.0.0}"
|
||||||
|
|
||||||
if [ "$ISON" = "Off" ] || [ "$state" != 'up' ]; then # no internet? color will turn red
|
if [ "$ISON" = "Off" ]; then # no internet? color will turn red
|
||||||
echo -n '<span foreground="red"></span> Down'
|
echo -n "<span foreground='red'>${SYMBOL} No Internet</span>"
|
||||||
exit 33
|
exit 33
|
||||||
else
|
else
|
||||||
echo -n '<span foreground="#729FCF"></span> '"$ipaddr"
|
echo -n "<span foreground='#729FCF'>$SYMBOL</span> "
|
||||||
|
echo -n $ipaddr
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
xrandr --output VIRTUAL1 --off --output LVDS1 --mode 1024x768 --pos 0x768 --rotate normal --output VGA1 --mode 1024x768 --pos 0x0 --rotate normal
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo -n '<span foreground="#729FCF"></span> ' "$(sensors | grep temp1 | cut -d"+" -f2 | cut -d" " -f1)"
|
echo -n '<span foreground="#729FCF"></span> ' $(acpi -t|cut -d' ' -f4)
|
||||||
|
|
|
@ -0,0 +1,39 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
update="$(/usr/sbin/slackpkg check-updates)"
|
||||||
|
update="$(echo $update | grep 'No news is good news')"
|
||||||
|
|
||||||
|
version="$(cat /etc/slackware-version | cut -d' ' -f2)"
|
||||||
|
arch="$(uname -m)"
|
||||||
|
mirror="http://mirrors.slackware.com/slackware/slackware"
|
||||||
|
end="$(grep -n '+--------------------------+' /tmp/changelog.txt | head -n1 | cut -d':' -f1)"
|
||||||
|
changelog="$(head -n$end /tmp/changelog.txt | grep txz | cut -d'/' -f2 | cut -d':' -f1)"
|
||||||
|
num_changelog="$(head -n$end /tmp/changelog.txt | grep txz | cut -d'/' -f2 | cut -d':' -f1 | wc -l)"
|
||||||
|
|
||||||
|
if [ "$version" == "14.2" ]
|
||||||
|
then
|
||||||
|
version="current"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$arch" == "x86_86" ]
|
||||||
|
then
|
||||||
|
arch="64"
|
||||||
|
else
|
||||||
|
arch=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
case $BLOCK_BUTTON in
|
||||||
|
1) notify-send "`echo "$changelog"`" ;;
|
||||||
|
3) notify-send "`echo "$changelog"`" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
wget -q -O - $mirror$arch-$version/ChangeLog.txt | iconv -f ISO-8859-1 -t UTF-8 > /tmp/changelog.txt
|
||||||
|
|
||||||
|
if [ -z "$update" ]
|
||||||
|
then
|
||||||
|
echo -n "<span foreground='#729FCF'></span> `echo $num_changelog` Updates"
|
||||||
|
else
|
||||||
|
echo -n "<span foreground='#729FCF'></span> No Updates"
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
comprueba="$(ps aux | grep urxvtd | grep -v grep)"
|
||||||
|
|
||||||
|
if [[ -z $comprueba ]]
|
||||||
|
then
|
||||||
|
urxvtd -q -o -f
|
||||||
|
urxvtc
|
||||||
|
else
|
||||||
|
urxvtc
|
||||||
|
fi
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Author: Raphael P. Ribeiro <raphaelpr01@gmail.com>
|
||||||
|
|
||||||
|
uptime=$(</proc/uptime)
|
||||||
|
uptime=${uptime%%.*}
|
||||||
|
|
||||||
|
s=$(( uptime%60 ))
|
||||||
|
m=$(( uptime/60%60 ))
|
||||||
|
h=$(( uptime/60/60%24 ))
|
||||||
|
d=$(( uptime/60/60/24 ))
|
||||||
|
|
||||||
|
echo ""$d"d"$h"h"$m"m"
|
|
@ -71,11 +71,11 @@ esac
|
||||||
print=$(volume | format)
|
print=$(volume | format)
|
||||||
if [ $print = "MUTE" ]
|
if [ $print = "MUTE" ]
|
||||||
then
|
then
|
||||||
echo -n '<span foreground="red"> </span>'
|
echo -n '<span foreground="red"> </span>'
|
||||||
echo -e $print
|
echo -e $print
|
||||||
exit 33
|
exit 33
|
||||||
else
|
else
|
||||||
echo -n '<span foreground="#729FCF"> </span>'
|
echo -n '<span foreground="#729FCF"> </span>'
|
||||||
echo -e $print
|
echo -e $print
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -0,0 +1,35 @@
|
||||||
|
if [[ $1 = "all" ]]
|
||||||
|
then
|
||||||
|
for file in `ls | grep -v "README\|instala.sh"`
|
||||||
|
do
|
||||||
|
ln -fs -T $(pwd)/$file $HOME/.$file
|
||||||
|
done
|
||||||
|
|
||||||
|
elif [[ $1 = "X" ]]
|
||||||
|
then
|
||||||
|
ln -fs -T $(pwd)/Xdefaults $HOME/.Xdefaults
|
||||||
|
ln -fs -T $(pwd)/Xmodmap $HOME/.Xmodmap
|
||||||
|
|
||||||
|
elif [[ $1 = "i3" ]]
|
||||||
|
then
|
||||||
|
ln -fs -T $(pwd)/i3 $HOME/.i3
|
||||||
|
ln -fs -T $(pwd)/i3/i3blocks.conf $HOME/.i3blocks.conf
|
||||||
|
|
||||||
|
elif [[ $1 = "mutt" ]]
|
||||||
|
then
|
||||||
|
ln -fs -T $(pwd)/mutt $HOME/.mutt
|
||||||
|
ln -fs -T $(pwd)/mutt/muttrc.example $HOME/.muttrc
|
||||||
|
ln -fs -T $(pwd)/mutt/offlineimaprc.example $HOME/.offlineimaprc
|
||||||
|
|
||||||
|
elif [[ $1 = "tmux" ]]
|
||||||
|
then
|
||||||
|
ln -fs -T $(pwd)/tmux.conf $HOME/.tmux.conf
|
||||||
|
|
||||||
|
elif [[ $1 = "" ]]
|
||||||
|
then
|
||||||
|
echo "bash instala.sh {all, X, i3, tmux}"
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "No existe ese parámetro. Escoge: {all, X, i3, tmux}"
|
||||||
|
|
||||||
|
fi
|
|
@ -0,0 +1,30 @@
|
||||||
|
# Puede que haya que cambiar el puerto de smtp_url según proveedor de correo
|
||||||
|
set my_pass = ""
|
||||||
|
set from = ""
|
||||||
|
set server = ""
|
||||||
|
set smtp_url = "smtp://$my_pass:$from@$server:587"
|
||||||
|
set realname = ""
|
||||||
|
set mbox_type = Maildir
|
||||||
|
|
||||||
|
# Puede que sea necesario cambiar algunas variables según el proveedor de correo
|
||||||
|
set folder = ~/mail/account_name/
|
||||||
|
set spoolfile = ~/mail/account_name/INBOX
|
||||||
|
set record = ~/mail/account_name/Sent
|
||||||
|
set postponed = ~/mail/account_name/Drafts
|
||||||
|
set mbox = ~/mail/account_name/archive
|
||||||
|
|
||||||
|
virtual-mailboxes \
|
||||||
|
"Entrada" "notmuch://?query=tag:inbox and not tag:trash"\
|
||||||
|
"Archivo" "notmuch://?query=tag:archive and not tag:trash"\
|
||||||
|
"org-mode" "notmuch://?query=tag:orgmode and not tag:trash"\
|
||||||
|
"Slackware" "notmuch://?query=tag:slackware and not tag:trash"\
|
||||||
|
"Basura" "notmuch://?query=tag:trash"
|
||||||
|
|
||||||
|
send-hook . set signature="signature"
|
||||||
|
|
||||||
|
# El id de la clave gpg con la que firmar
|
||||||
|
set pgp_sign_as = AAAAAA
|
||||||
|
set crypt_autosign = yes
|
||||||
|
set crypt_replyencrypt = yes
|
||||||
|
set crypt_replysignencrypted = yes
|
||||||
|
set crypt_opportunistic_encrypt = yes
|
|
@ -0,0 +1,70 @@
|
||||||
|
# color32 azul
|
||||||
|
# color170 lila
|
||||||
|
# color235 gris
|
||||||
|
|
||||||
|
# colors
|
||||||
|
color error red default # error messages
|
||||||
|
color message white default # message informational messages
|
||||||
|
color indicator color170 default # indicator for the "current message"
|
||||||
|
color status color32 color235 # status lines in the folder index sed for the mini-help line
|
||||||
|
color tree red default # the "tree" display of threads within the folder index
|
||||||
|
|
||||||
|
# Highlights inside the body of a message.
|
||||||
|
|
||||||
|
# URLs
|
||||||
|
color body brightgreen default "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
|
||||||
|
color body brightgreen default "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
|
||||||
|
mono body bold "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
|
||||||
|
mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
|
||||||
|
|
||||||
|
# email addresses
|
||||||
|
color body brightgreen default "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
|
||||||
|
|
||||||
|
# header
|
||||||
|
color header color227 default "^from:"
|
||||||
|
color header color227 default "^to:"
|
||||||
|
color header color227 default "^cc:"
|
||||||
|
color header color227 default "^date:"
|
||||||
|
color header color227 default "^newsgroups:"
|
||||||
|
color header color227 default "^reply-to:"
|
||||||
|
color header color32 default "^subject:"
|
||||||
|
color header red default "^x-spam-rule:"
|
||||||
|
color header color227 default "^x-mailer:"
|
||||||
|
color header color227 default "^message-id:"
|
||||||
|
color header color227 default "^mime-version:"
|
||||||
|
color header color227 default "^content-type:"
|
||||||
|
color header color227 default "^content-disposition:"
|
||||||
|
color header color227 default "^Organization:"
|
||||||
|
color header color227 default "^Organisation:"
|
||||||
|
color header color227 default "^User-Agent:"
|
||||||
|
color header color227 default "^X-Fnord:"
|
||||||
|
color header color227 default "^X-WebTV-Stationery:"
|
||||||
|
color header color227 default "^X-Message-Flag:"
|
||||||
|
color header color227 default "^X-Spam-Status:"
|
||||||
|
color header color227 default "^X-SpamProbe:"
|
||||||
|
color header red default "^X-SpamProbe: SPAM"
|
||||||
|
color header color227 default "^List-Id:"
|
||||||
|
|
||||||
|
# gpg stuff
|
||||||
|
# color body color91 default "^gpg: Good signature .*"
|
||||||
|
# color body color91 default "^BAD signature.*"
|
||||||
|
# color body color174 default "^Can't check signature.*"
|
||||||
|
# color body color170 default "-- Begin signature information --"
|
||||||
|
# color body color174 default "^-----BEGIN PGP SIGNED MESSAGE-----"
|
||||||
|
# color body color174 default "^-----BEGIN PGP SIGNATURE-----"
|
||||||
|
# color body color174 default "^-----END PGP SIGNED MESSAGE-----"
|
||||||
|
# color body color174 default "^-----END PGP SIGNATURE-----"
|
||||||
|
# color body color174 default "^Version: GnuPG.*"
|
||||||
|
# color body color174 default "^Comment: .*"
|
||||||
|
|
||||||
|
# misc body stuff
|
||||||
|
color attachment color174 default
|
||||||
|
color signature color223 default
|
||||||
|
|
||||||
|
# sidebar
|
||||||
|
color sidebar_new yellow default
|
||||||
|
color sidebar_indicator color32 default
|
||||||
|
color sidebar_highlight white color238
|
||||||
|
color sidebar_spoolfile white default
|
||||||
|
color sidebar_flagged red default
|
||||||
|
color sidebar_divider color8 default
|
|
@ -0,0 +1,96 @@
|
||||||
|
# -*-muttrc-*-
|
||||||
|
#
|
||||||
|
# Command formats for gpg.
|
||||||
|
#
|
||||||
|
# This version uses gpg-2comp from
|
||||||
|
# http://70t.de/download/gpg-2comp.tar.gz
|
||||||
|
#
|
||||||
|
# $Id$
|
||||||
|
#
|
||||||
|
# %p The empty string when no passphrase is needed,
|
||||||
|
# the string "PGPPASSFD=0" if one is needed.
|
||||||
|
#
|
||||||
|
# This is mostly used in conditional % sequences.
|
||||||
|
#
|
||||||
|
# %f Most PGP commands operate on a single file or a file
|
||||||
|
# containing a message. %f expands to this file's name.
|
||||||
|
#
|
||||||
|
# %s When verifying signatures, there is another temporary file
|
||||||
|
# containing the detached signature. %s expands to this
|
||||||
|
# file's name.
|
||||||
|
#
|
||||||
|
# %a In "signing" contexts, this expands to the value of the
|
||||||
|
# configuration variable $pgp_sign_as. You probably need to
|
||||||
|
# use this within a conditional % sequence.
|
||||||
|
#
|
||||||
|
# %r In many contexts, mutt passes key IDs to pgp. %r expands to
|
||||||
|
# a list of key IDs.
|
||||||
|
|
||||||
|
# Note that we explicitly set the comment armor header since GnuPG, when used
|
||||||
|
# in some localiaztion environments, generates 8bit data in that header, thereby
|
||||||
|
# breaking PGP/MIME.
|
||||||
|
|
||||||
|
# decode application/pgp
|
||||||
|
set pgp_decode_command="gpg %?p? --no-verbose --quiet --batch --output - %f"
|
||||||
|
|
||||||
|
# verify a pgp/mime signature
|
||||||
|
set pgp_verify_command="gpg --no-verbose --quiet --batch --output - --verify %s %f"
|
||||||
|
|
||||||
|
# decrypt a pgp/mime attachment
|
||||||
|
set pgp_decrypt_command="gpg %?p? --no-verbose --quiet --batch --output - %f"
|
||||||
|
|
||||||
|
# create a pgp/mime signed attachment
|
||||||
|
# set pgp_sign_command="gpg-2comp --comment '' --no-verbose --batch --output - %?p? --armor --detach-sign --textmode %?a?-u %a? %f"
|
||||||
|
set pgp_sign_command="gpg --no-verbose --batch --quiet --output - %?p? --armor --detach-sign --textmode %?a?-u %a? %f"
|
||||||
|
|
||||||
|
# create a application/pgp signed (old-style) message
|
||||||
|
# set pgp_clearsign_command="gpg-2comp --comment '' --no-verbose --batch --output - %?p? --armor --textmode --clearsign %?a?-u %a? %f"
|
||||||
|
set pgp_clearsign_command="gpg --no-verbose --batch --quiet --output - %?p? --armor --textmode --clearsign %?a?-u %a? %f"
|
||||||
|
|
||||||
|
# create a pgp/mime encrypted attachment
|
||||||
|
# set pgp_encrypt_only_command="pgpewrap gpg-2comp -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
|
||||||
|
set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
|
||||||
|
|
||||||
|
# create a pgp/mime encrypted and signed attachment
|
||||||
|
# set pgp_encrypt_sign_command="pgpewrap gpg-2comp %?p? -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
|
||||||
|
set pgp_encrypt_sign_command="pgpewrap gpg %?p? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
|
||||||
|
|
||||||
|
# import a key into the public key ring
|
||||||
|
set pgp_import_command="gpg --no-verbose --import %f"
|
||||||
|
|
||||||
|
# export a key from the public key ring
|
||||||
|
set pgp_export_command="gpg --no-verbose --export --armor %r"
|
||||||
|
|
||||||
|
# verify a key
|
||||||
|
set pgp_verify_key_command="gpg --verbose --batch --fingerprint --check-sigs %r"
|
||||||
|
|
||||||
|
# read in the public key ring
|
||||||
|
set pgp_list_pubring_command="gpg --no-verbose --batch --quiet --with-colons --with-fingerprint --with-fingerprint --list-keys %r"
|
||||||
|
|
||||||
|
# read in the secret key ring
|
||||||
|
set pgp_list_secring_command="gpg --no-verbose --batch --quiet --with-colons --with-fingerprint --with-fingerprint --list-secret-keys %r"
|
||||||
|
|
||||||
|
# fetch keys
|
||||||
|
# set pgp_getkeys_command="pkspxycwrap %r"
|
||||||
|
|
||||||
|
# pattern for good signature - may need to be adapted to locale!
|
||||||
|
|
||||||
|
# set pgp_good_sign="^gpgv?: Good signature from "
|
||||||
|
|
||||||
|
# OK, here's a version which uses gnupg's message catalog:
|
||||||
|
# set pgp_good_sign="`gettext -d gnupg -s 'Good signature from "' | tr -d '"'`"
|
||||||
|
|
||||||
|
# This version uses --status-fd messages
|
||||||
|
set pgp_good_sign="^\\[GNUPG:\\] GOODSIG"
|
||||||
|
|
||||||
|
# pattern to verify a decryption occurred
|
||||||
|
set pgp_decryption_okay="^\\[GNUPG:\\] DECRYPTION_OKAY"
|
||||||
|
|
||||||
|
# gpg-agent
|
||||||
|
set pgp_use_gpg_agent = yes
|
||||||
|
|
||||||
|
# timeout
|
||||||
|
set pgp_timeout = 600
|
||||||
|
|
||||||
|
# verify signature
|
||||||
|
set pgp_verify_sig=yes
|
|
@ -0,0 +1,13 @@
|
||||||
|
macro index,pager "\Cx\Cs" "<pipe-message>cat > ~/" # Guardar correo
|
||||||
|
macro index,pager "\Cx\b" "<change-folder>?<change-dir><home>^K=<enter>" # Cambiar de directorio
|
||||||
|
macro index,pager d "<modify-labels>-archive -unread -inbox -sent +trash\n<sync-mailbox>" # Borrar
|
||||||
|
macro index,pager a "<modify-labels>-inbox +archive\n<sync-mailbox>" # Archivar
|
||||||
|
macro index,pager u "<set-flag>N" # Marcar como no leido
|
||||||
|
macro index,pager G "!/usr/local/bin/mailsync\n" "Invocando offlineimap..." # Actualizar correos
|
||||||
|
bind index,pager r group-reply # Responder al grupo
|
||||||
|
bind index,pager R reply # Responder a la persona
|
||||||
|
# macro index r <clear-flag>N "Mark mail as read"
|
||||||
|
|
||||||
|
bind index,pager "\Cn" sidebar-next # Mover una sección abajo en la barra
|
||||||
|
bind index,pager "\Cp" sidebar-prev # Mover una sección arriba en la barra
|
||||||
|
bind index,pager "\Ck" sidebar-open # Abrir la sección
|
|
@ -0,0 +1 @@
|
||||||
|
text/html; lynx -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput
|
|
@ -0,0 +1,69 @@
|
||||||
|
# Activar archivos
|
||||||
|
source "~/.mutt/account.example"
|
||||||
|
source "~/.mutt/colors"
|
||||||
|
source "~/.mutt/keybinds"
|
||||||
|
|
||||||
|
set header_cache = ~/.mutt/cache/headers/
|
||||||
|
|
||||||
|
# Ordenar por hilos y algunas cosas más
|
||||||
|
set sort = 'threads'
|
||||||
|
set sort_aux = 'reverse-last-date-received'
|
||||||
|
set auto_tag = yes
|
||||||
|
alternative_order text/plain text/enriched text/html
|
||||||
|
|
||||||
|
set mailcap_path = ~/.mutt/mailcap
|
||||||
|
|
||||||
|
# Pasar a texto los correos HTML
|
||||||
|
auto_view text/html
|
||||||
|
|
||||||
|
# Reordenar las cabeceras
|
||||||
|
ignore *
|
||||||
|
unignore From To Subject X-Mailer Cc Date User-Agent List-Id
|
||||||
|
hdr_order Date List-Id From Reply-To To Cc Subject X-Mailer User-Agent
|
||||||
|
|
||||||
|
set mark_old=no
|
||||||
|
|
||||||
|
# Editor
|
||||||
|
set editor="emacsclient -c -t"
|
||||||
|
set text_flowed=yes
|
||||||
|
set send_charset=utf-8
|
||||||
|
set config_charset=utf-8
|
||||||
|
|
||||||
|
set ssl_starttls=yes
|
||||||
|
|
||||||
|
# Show all the mail when editing
|
||||||
|
set edit_headers
|
||||||
|
|
||||||
|
set postpone = ask-no
|
||||||
|
set check_new = yes
|
||||||
|
|
||||||
|
set arrow_cursor
|
||||||
|
|
||||||
|
set query_command="abook --datafile ~/.abook --mutt-query '%s'"
|
||||||
|
bind editor <Tab> complete-query
|
||||||
|
|
||||||
|
# comprueba nuevos mails sin apretar ninguna tecla
|
||||||
|
set timeout=30
|
||||||
|
|
||||||
|
set pager_stop
|
||||||
|
unset markers
|
||||||
|
set fast_reply
|
||||||
|
set fcc_attach
|
||||||
|
unset mime_forward
|
||||||
|
|
||||||
|
# Status Bar -----------------------------------------
|
||||||
|
set status_chars = " *%A"
|
||||||
|
set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"
|
||||||
|
|
||||||
|
|
||||||
|
# Sidebar Patch --------------------------------------
|
||||||
|
set sidebar_visible = yes
|
||||||
|
set sidebar_width = 18
|
||||||
|
set sidebar_format = "%B%?F? [$F]?%* %?N?%N/?%S"
|
||||||
|
set mail_check_stats = yes
|
||||||
|
|
||||||
|
# notmutch patch
|
||||||
|
set virtual_spoolfile=yes
|
||||||
|
set nm_db_limit = 0
|
||||||
|
set nm_default_uri = "~/mail/"
|
||||||
|
set nm_query_type = messages # o threads
|
|
@ -0,0 +1,19 @@
|
||||||
|
[general]
|
||||||
|
ui = ttyui
|
||||||
|
accounts = account_name
|
||||||
|
|
||||||
|
[Account account_name]
|
||||||
|
localrepository = account_name-local
|
||||||
|
remoterepository = account_name-remote
|
||||||
|
|
||||||
|
[Repository account_name-local]
|
||||||
|
type = Maildir
|
||||||
|
localfolders = ~/mail/
|
||||||
|
|
||||||
|
[Repository account_name-remote]
|
||||||
|
type = IMAP
|
||||||
|
remotehost = mail.account.org
|
||||||
|
remoteuser = example@account.org
|
||||||
|
remotepass = goodPassword
|
||||||
|
realdelete = yes
|
||||||
|
maxconnections = 3
|
|
@ -0,0 +1 @@
|
||||||
|
tu https://gnu.org
|
|
@ -0,0 +1,22 @@
|
||||||
|
set -g default-terminal "screen-256color"
|
||||||
|
set -g prefix C-a
|
||||||
|
set-window-option -g xterm-keys on
|
||||||
|
|
||||||
|
set -g status-bg colour235
|
||||||
|
set -g status-fg colour32
|
||||||
|
|
||||||
|
set-window-option -g automatic-rename on
|
||||||
|
|
||||||
|
set -g pane-active-border-fg white
|
||||||
|
|
||||||
|
# automatic resize a la ventana mas grande
|
||||||
|
setw -g aggressive-resize on
|
||||||
|
|
||||||
|
set-option -g status-utf8 on
|
||||||
|
setw -g monitor-activity on
|
||||||
|
set -g visual-activity on
|
||||||
|
|
||||||
|
bind-key L last-window
|
||||||
|
|
||||||
|
bind-key a send-prefix
|
||||||
|
|
Loading…
Reference in New Issue