Migrate to ansible

This commit is contained in:
drymer 2017-10-21 22:03:12 +02:00
parent fe6f69d133
commit 2ecdd525c7
195 changed files with 5314 additions and 57124 deletions

20
.gitignore vendored
View File

@ -1,3 +1,17 @@
/i3/scripts/weather
/emacs.d/private-literate.org
/programas/*
*.pyc
*cache*
roles/*/molecule/default/.molecule
roles/docker
roles/emacs
roles/emacs-dotfiles
roles/fonts
roles/i3blocks-gaps
roles/i3-gaps
roles/qutebrowser
roles/slim
roles/syncthing
roles/syncthing-inotify
roles/termite
roles/virtualbos
roles/virtualenvwrapper
roles/vte-ng

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "powerlevel9k"]
path = shell/zsh_custom_themes/powerlevel9k
url = https://github.com/bhilburn/powerlevel9k.git

4
.yamllint Normal file
View File

@ -0,0 +1,4 @@
extends: relaxed
truthy: disable
rules: {line-length: {max: 130}}

View File

@ -1,10 +0,0 @@
#!/bin/bash
USERID=`id -u`
if [[ ! -e /tmp/emacs$USERID/server ]]
then
emacs --daemon
emacsclient -c -n -e '(load-file "/tmp/powerline.el")' -e "(org-agenda-list)"
else
emacsclient -c -n -e "(org-agenda-list)"
fi

File diff suppressed because it is too large Load Diff

View File

@ -1,41 +0,0 @@
;; Antes que nada, quitamos del path el org-mode que viene con emacs, por que es viejo
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)
(dolist (val load-path)
(if (string-match "lisp\/org" val)
(progn
(setq org-viejo val)
(delete val load-path))))
;; Se añade la ruta del org-mode nuevo
(add-to-list 'load-path (concat user-emacs-directory "el-get/org-mode-maint/lisp/"))
;; Se intenta cargar el org-mode más nuevo. Si falla, vuelve a añadir al path la versión vieja para poder cargar el fichero de configuración
(unless (require 'org nil 'noerror)
(add-to-list 'load-path org-viejo))
;; Se carga la configuración pública y la privada
(message "Evaluating init-literate.org")
(org-babel-load-file (concat user-emacs-directory "init-literate.org"))
(message "Evaluating private-literate.org")
(org-babel-load-file (concat user-emacs-directory "private-literate.org"))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-safe-themes
(quote
("71ecffba18621354a1be303687f33b84788e13f40141580fa81e7840752d31bf" default)))
(put 'upcase-region 'disabled nil)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:family "DejaVu Sans Mono" :foundry "unknown" :slant normal :weight normal :height 107 :width normal)))))

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,7 +0,0 @@
6
drift.pcf drift
noxis.pcf noxis
terminalpants.pcf -ppants-terminalpants-medium-r-normal--12-120-75-75-c-60-iso8859-1
terminusicons.pcf -xos4-terminus2-medium-r-normal--12-120-72-72-c-60-iso8859-1
terminusicons2.pcf -xos4-terminusicons2-medium-r-normal--12-120-72-72-c-60-iso8859-1
terminusicons2mono.bdf -xos4-terminusicons2mono-medium-r-normal--12-120-72-72-m-60-iso8859-1

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,77 +0,0 @@
Ohsnap is a monospaced bitmap font based on Artwiz Snap (http://artwizaleczapka.sourceforge.net/).
There are ISO8859-1 versions, versions with status icons, consolefonts and I started working on ISO10646-1 versions. All have bold too.
There are four sizes now: 6x11, 7x12, 6x13 and 7x14.
each size has 8 fonts, for example:
ohsnap6x11r.pcf (6x11 medium iso8859-1)
ohsnap6x11b.pcf (6x11 bold iso8859-1)
ohsnap6x11r.icons.pcf (6x11 medium with status icons)
ohsnap6x11b.icons.pcf (6x11 bold with status icons)
ohsnapu6x11r.pcf (6x11 medium iso10646-1)
ohsnapu6x11b.pcf (6x11 bold iso10646-1)
ohsnap6x11r.psfu (6x11 medium consolefont)
ohsnap6x11b.psfu (6x11 bold consolefont)
You can use xfontsel to get the full names.
To install manually system-wide, copy the .pcf files to /usr/share/fonts/local and the .psfu files to /usr/share/kbd/consolefonts.
Then do:
sudo fc-cache -fs
sudo mkfontscale /usr/share/fonts/local
sudo mkfontdir /usr/share/fonts/local
And make sure you have something like this in your .xinitrc:
xset +fp /usr/share/fonts/local
xset fp rehash
I would recommend trying to use the ISO10646-1 versions first and use the ISO8859-1 versions as fallback.
To use the ISO10646-1:
-*-ohsnapu-medium-r-normal-*-11-*-*-*-*-*-*-*
-*-ohsnapu-bold-r-normal-*-11-*-*-*-*-*-*-*
For the ISO8859-1:
-*-ohsnap-medium-r-normal-*-11-*-*-*-*-*-*-*
-*-ohsnap-bold-r-normal-*-11-*-*-*-*-*-*-*
The icon versions have status "icons" that I drew into the font. The inspiration for the icons came from lokaltog (https://github.com/Lokaltog) and his post in the dwm
(http://dwm.suckless.org) hackers thread on the Arch Linux forums (https://bbs.archlinux.org/viewtopic.php?pid=724236#p724236).
To use the icon versions:
-*-ohsnap.icons-medium-r-normal-*-11-*-*-*-*-*-*-*
-*-ohsnap.icons-bold-r-normal-*-11-*-*-*-*-*-*-*
You can use xfd to view the font. (xfd -fn -misc-ohsnap.icons-medium-r-normal--11-79-100-100-c-60-iso8859-1)
From a terminal, you can do something like:
echo -e '\xB7' to display a clock icon for example and then copy the output to a script or your config.h.
You can also use pcf2bdf to convert the .pcf fonts to .bdf and then use gbdfed (http://sofia.nmsu.edu/~mleisher/Software/gbdfed/) to view and edit the font.
To convert from .pcf to .bdf: (pcf2bdf -o ohsnap6x11r.bdf ohsnap6x11r.pcf).
Then use bdftopcf to convert it back: (bdftopcf -o ohsnap6x11r.pcf ohsnap6x11r.bdf).
Reinstall.
You can check out the ohsnap thread on the forums (https://bbs.archlinux.org/viewtopic.php?id=130562&p=1) for screenshots and discussion.
A better solution for icons (at least for dwm, which I originally made these for) might be to use stlarch_font (https:sourceforge.net/projects/stlarch_font/).
See the README.stlarch for more info.
To try the consolefont, you can do: setfont ohsnap6x11r for example. See your distros documentation for a more permanent solution.
Created by stlarch (stlarchie@gmail.com)
Released under GPLv2 license. (http://www.gnu.org/licenses/gpl-2.0.html)
Changes in version 1.7.5: Added consolefonts and ISO10646-1 versions and dropped the 8x15 and 8x17 sizes.
Changes in version 1.7.6: Fixes.
Changes in version 1.7.7: A few more fixes to the 6x11 bold.
Changes in version 1.7.8: A couple fixes to the iso10646-1 versions.
Changes in version 1.7.9: Added a new size, 6x13, and a few other changes, mainly to the 7x14.
Changes in version 1.8.0: Fixed the mapping table on the consolefonts.

View File

@ -1,25 +0,0 @@
24
ohsnap6x11b.icons.pcf -misc-ohsnap.icons-bold-r-normal--11-79-100-100-c-60-iso8859-1
ohsnap6x11b.pcf -misc-ohsnap-bold-r-normal--11-79-100-100-c-60-iso8859-1
ohsnap6x11r.icons.pcf -misc-ohsnap.icons-medium-r-normal--11-79-100-100-c-60-iso8859-1
ohsnap6x11r.pcf -misc-ohsnap-medium-r-normal--11-79-100-100-c-60-iso8859-1
ohsnap6x13b.icons.pcf -misc-ohsnap.icons-bold-r-normal--13-120-75-75-c-60-iso8859-1
ohsnap6x13b.pcf -misc-ohsnap-bold-r-normal--13-120-75-75-c-60-iso8859-1
ohsnap6x13r.icons.pcf -misc-ohsnap.icons-medium-r-normal--13-120-75-75-c-60-iso8859-1
ohsnap6x13r.pcf -misc-ohsnap-medium-r-normal--13-120-75-75-c-60-iso8859-1
ohsnap7x12b.icons.pcf -misc-ohsnap.icons-bold-r-normal--12-87-100-100-c-70-iso8859-1
ohsnap7x12b.pcf -misc-ohsnap-bold-r-normal--12-87-100-100-c-70-iso8859-1
ohsnap7x12r.icons.pcf -misc-ohsnap.icons-medium-r-normal--12-87-100-100-c-70-iso8859-1
ohsnap7x12r.pcf -misc-ohsnap-medium-r-normal--12-87-100-100-c-70-iso8859-1
ohsnap7x14b.icons.pcf -misc-ohsnap.icons-bold-r-normal--14-101-100-100-c-70-iso8859-1
ohsnap7x14b.pcf -misc-ohsnap-bold-r-normal--14-101-100-100-c-70-iso8859-1
ohsnap7x14r.icons.pcf -misc-ohsnap.icons-medium-r-normal--14-101-100-100-c-70-iso8859-1
ohsnap7x14r.pcf -misc-ohsnap-medium-r-normal--14-101-100-100-c-70-iso8859-1
ohsnapu6x11b.pcf -misc-ohsnapu-bold-r-normal--11-79-100-100-c-60-iso10646-1
ohsnapu6x11r.pcf -misc-ohsnapu-medium-r-normal--11-79-100-100-c-60-iso10646-1
ohsnapu6x13b.pcf -misc-ohsnapu-bold-r-normal--13-120-75-75-c-60-iso10646-1
ohsnapu6x13r.pcf -misc-ohsnapu-medium-r-normal--13-120-75-75-c-60-iso10646-1
ohsnapu7x12b.pcf -misc-ohsnapu-bold-r-normal--12-87-100-100-c-70-iso10646-1
ohsnapu7x12r.pcf -misc-ohsnapu-medium-r-normal--12-87-100-100-c-70-iso10646-1
ohsnapu7x14b.pcf -misc-ohsnapu-bold-r-normal--14-101-100-100-c-70-iso10646-1
ohsnapu7x14r.pcf -misc-ohsnapu-medium-r-normal--14-101-100-100-c-70-iso10646-1

View File

@ -1 +0,0 @@
0

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,19 +0,0 @@
18
ter-powerline-x12b.pcf -xos4-terminesspowerline-bold-r-normal--12-120-72-72-c-60-iso10646-1
ter-powerline-x12n.pcf -xos4-terminesspowerline-medium-r-normal--12-120-72-72-c-60-iso10646-1
ter-powerline-x14b.pcf -xos4-terminesspowerline-bold-r-normal--14-140-72-72-c-80-iso10646-1
ter-powerline-x14n.pcf -xos4-terminesspowerline-medium-r-normal--14-140-72-72-c-80-iso10646-1
ter-powerline-x16b.pcf -xos4-terminesspowerline-bold-r-normal--16-160-72-72-c-80-iso10646-1
ter-powerline-x16n.pcf -xos4-terminesspowerline-medium-r-normal--16-160-72-72-c-80-iso10646-1
ter-powerline-x18b.pcf -xos4-terminesspowerline-bold-r-normal--18-180-72-72-c-100-iso10646-1
ter-powerline-x18n.pcf -xos4-terminesspowerline-medium-r-normal--18-180-72-72-c-100-iso10646-1
ter-powerline-x20b.pcf -xos4-terminesspowerline-bold-r-normal--20-200-72-72-c-100-iso10646-1
ter-powerline-x20n.pcf -xos4-terminesspowerline-medium-r-normal--20-200-72-72-c-100-iso10646-1
ter-powerline-x22b.pcf -xos4-terminesspowerline-bold-r-normal--22-220-72-72-c-110-iso10646-1
ter-powerline-x22n.pcf -xos4-terminesspowerline-medium-r-normal--22-220-72-72-c-110-iso10646-1
ter-powerline-x24b.pcf -xos4-terminesspowerline-bold-r-normal--24-240-72-72-c-120-iso10646-1
ter-powerline-x24n.pcf -xos4-terminesspowerline-medium-r-normal--24-240-72-72-c-120-iso10646-1
ter-powerline-x28b.pcf -xos4-terminesspowerline-bold-r-normal--28-280-72-72-c-140-iso10646-1
ter-powerline-x28n.pcf -xos4-terminesspowerline-medium-r-normal--28-280-72-72-c-140-iso10646-1
ter-powerline-x32b.pcf -xos4-terminesspowerline-bold-r-normal--32-320-72-72-c-160-iso10646-1
ter-powerline-x32n.pcf -xos4-terminesspowerline-medium-r-normal--32-320-72-72-c-160-iso10646-1

View File

@ -1,7 +0,0 @@
6
tewi-bold-11.bdf -lucy-tewi-bold-r-normal--11-90-75-75-m-60-iso10646-1
tewi-normal-11.bdf -lucy-tewi-medium-r-normal--11-90-75-75-m-60-iso10646-1
tewi2a-bold-11.bdf -lucy-tewi2a-bold-r-normal--11-90-75-75-m-60-iso10646-1
tewi2a-normal-11.bdf -lucy-tewi2a-medium-r-normal--11-90-75-75-m-60-iso10646-1
tewifw-bold-11.bdf -lucy-tewifw-bold-r-normal--11-90-75-75-m-60-iso10646-1
tewifw-normal-11.bdf -lucy-tewifw-medium-r-normal--11-90-75-75-m-60-iso10646-1

View File

@ -1 +0,0 @@
0

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,392 +0,0 @@
STARTFONT 2.1
COMMENT Double story a, for use with normal Tewi as a fallback.
COMMENT
COMMENT This file is part of bdf-tewi.
COMMENT
COMMENT Tewi is free software: you can redistribute it and/or modify
COMMENT it under the terms of the GNU General Public License as published by
COMMENT the Free Software Foundation, either version 3 of the License, or
COMMENT (at your option) any later version.
COMMENT
COMMENT Tewi is distributed in the hope that it will be useful,
COMMENT but WITHOUT ANY WARRANTY; without even the implied warranty of
COMMENT MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
COMMENT GNU General Public License for more details.
COMMENT
COMMENT You should have received a copy of the GNU General Public License
COMMENT along with bdf-tewi. If not, see <http://www.gnu.org/licenses/>.
COMMENT
COMMENT As a special exception, if you create a document which uses this
COMMENT font, and embed this font or unaltered portions of this font into
COMMENT the document, this font does not by itself cause the resulting
COMMENT document to be covered by the GNU General Public License. This
COMMENT exception does not however invalidate any other reasons why the
COMMENT document might be covered by the GNU General Public License. If you
COMMENT modify this font, you may extend this exception to your version of
COMMENT the font, but you are not obligated to do so. If you do not wish to
COMMENT do so, delete this exception statement from your version.
FONT -lucy-tewi2a-bold-r-normal--11-90-75-75-m-60-ISO10646-1
SIZE 9 75 75
FONTBOUNDINGBOX 6 13 0 -4
STARTPROPERTIES 20
CHARSET_COLLECTIONS "ISO8859-2 ISO8859-5 ISO8859-9 ISO8859-4 ISO10646-1"
COPYRIGHT "© lucy <ne.tetewi@gmail.com>"
FOUNDRY "lucy"
FAMILY_NAME "tewi2a"
WEIGHT_NAME "bold"
SLANT "r"
SETWIDTH_NAME "normal"
ADD_STYLE_NAME ""
PIXEL_SIZE 11
POINT_SIZE 90
RESOLUTION_X 75
RESOLUTION_Y 75
SPACING "m"
AVERAGE_WIDTH 60
CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1"
FONT_ASCENT 9
FONT_DESCENT 3
QUAD_WIDTH 6
_GBDFED_INFO "Edited with gbdfed 1.6."
ENDPROPERTIES
CHARS 23
STARTCHAR LATIN SMALL LETTER A
ENCODING 97
SWIDTH 640 0
DWIDTH 6 0
BBX 5 5 0 0
BITMAP
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH GRAVE
ENCODING 224
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
60
30
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH ACUTE
ENCODING 225
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
30
60
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH CIRCUMFLEX
ENCODING 226
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
50
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH TILDE
ENCODING 227
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
68
B0
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH DIAERESIS
ENCODING 228
SWIDTH 640 0
DWIDTH 6 0
BBX 5 7 0 0
BITMAP
D8
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH RING ABOVE
ENCODING 229
SWIDTH 640 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
20
50
20
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH MACRON
ENCODING 257
SWIDTH 640 0
DWIDTH 6 0
BBX 5 7 0 0
BITMAP
F8
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH BREVE
ENCODING 259
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
D8
70
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH OGONEK
ENCODING 261
SWIDTH 640 0
DWIDTH 6 0
BBX 6 6 0 -1
BITMAP
70
18
78
D8
78
0C
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH CARON
ENCODING 462
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
50
20
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH DIAERESIS AND MACRON
ENCODING 479
SWIDTH 640 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
F8
00
D8
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH DOT ABOVE AND MACRON
ENCODING 481
SWIDTH 640 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
70
00
20
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH RING ABOVE AND ACUTE
ENCODING 507
SWIDTH 640 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
10
20
50
20
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH DOUBLE GRAVE
ENCODING 513
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
A0
50
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH INVERTED BREVE
ENCODING 515
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
70
D8
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH DOT ABOVE
ENCODING 551
SWIDTH 640 0
DWIDTH 6 0
BBX 5 7 0 0
BITMAP
20
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER TURNED A
ENCODING 592
SWIDTH 640 0
DWIDTH 6 0
BBX 5 5 0 0
BITMAP
F0
D8
F0
C0
70
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH RING BELOW
ENCODING 7681
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 -3
BITMAP
70
18
78
D8
78
20
50
20
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH DOT BELOW
ENCODING 7841
SWIDTH 640 0
DWIDTH 6 0
BBX 5 7 0 -2
BITMAP
70
18
78
D8
78
00
20
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH HOOK ABOVE
ENCODING 7843
SWIDTH 640 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
20
50
10
20
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH CIRCUMFLEX AND ACUTE
ENCODING 7845
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
48
B0
00
70
18
78
D8
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH CIRCUMFLEX AND GRAVE
ENCODING 7847
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
90
68
00
70
18
78
D8
78
ENDCHAR
ENDFONT

View File

@ -1,392 +0,0 @@
STARTFONT 2.1
COMMENT Double story a, for use with normal Tewi as a fallback.
COMMENT
COMMENT This file is part of bdf-tewi.
COMMENT
COMMENT Tewi is free software: you can redistribute it and/or modify
COMMENT it under the terms of the GNU General Public License as published by
COMMENT the Free Software Foundation, either version 3 of the License, or
COMMENT (at your option) any later version.
COMMENT
COMMENT Tewi is distributed in the hope that it will be useful,
COMMENT but WITHOUT ANY WARRANTY; without even the implied warranty of
COMMENT MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
COMMENT GNU General Public License for more details.
COMMENT
COMMENT You should have received a copy of the GNU General Public License
COMMENT along with bdf-tewi. If not, see <http://www.gnu.org/licenses/>.
COMMENT
COMMENT As a special exception, if you create a document which uses this
COMMENT font, and embed this font or unaltered portions of this font into
COMMENT the document, this font does not by itself cause the resulting
COMMENT document to be covered by the GNU General Public License. This
COMMENT exception does not however invalidate any other reasons why the
COMMENT document might be covered by the GNU General Public License. If you
COMMENT modify this font, you may extend this exception to your version of
COMMENT the font, but you are not obligated to do so. If you do not wish to
COMMENT do so, delete this exception statement from your version.
FONT -lucy-tewi2a-medium-r-normal--11-90-75-75-m-60-ISO10646-1
SIZE 9 75 75
FONTBOUNDINGBOX 6 13 0 -4
STARTPROPERTIES 20
CHARSET_COLLECTIONS "ISO8859-2 ISO8859-5 ISO8859-9 ISO8859-4 ISO10646-1"
COPYRIGHT "© lucy <ne.tetewi@gmail.com>"
FOUNDRY "lucy"
FAMILY_NAME "tewi2a"
WEIGHT_NAME "medium"
SLANT "r"
SETWIDTH_NAME "normal"
ADD_STYLE_NAME ""
PIXEL_SIZE 11
POINT_SIZE 90
RESOLUTION_X 75
RESOLUTION_Y 75
SPACING "m"
AVERAGE_WIDTH 60
CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1"
FONT_ASCENT 9
FONT_DESCENT 3
QUAD_WIDTH 6
_GBDFED_INFO "Edited with gbdfed 1.6."
ENDPROPERTIES
CHARS 23
STARTCHAR LATIN SMALL LETTER A
ENCODING 97
SWIDTH 640 0
DWIDTH 6 0
BBX 5 5 0 0
BITMAP
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH GRAVE
ENCODING 224
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
10
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH ACUTE
ENCODING 225
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
10
20
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH CIRCUMFLEX
ENCODING 226
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
20
50
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH TILDE
ENCODING 227
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
68
B0
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH DIAERESIS
ENCODING 228
SWIDTH 640 0
DWIDTH 6 0
BBX 5 7 0 0
BITMAP
50
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH RING ABOVE
ENCODING 229
SWIDTH 640 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
20
50
20
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH MACRON
ENCODING 257
SWIDTH 640 0
DWIDTH 6 0
BBX 5 7 0 0
BITMAP
F8
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH BREVE
ENCODING 259
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
88
70
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH OGONEK
ENCODING 261
SWIDTH 640 0
DWIDTH 6 0
BBX 6 6 0 -1
BITMAP
70
08
78
88
78
04
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH CARON
ENCODING 462
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
50
20
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH DIAERESIS AND MACRON
ENCODING 479
SWIDTH 640 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
70
00
50
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH DOT ABOVE AND MACRON
ENCODING 481
SWIDTH 640 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
70
00
20
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH RING ABOVE AND ACUTE
ENCODING 507
SWIDTH 640 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
10
20
50
20
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH DOUBLE GRAVE
ENCODING 513
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
A0
50
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH INVERTED BREVE
ENCODING 515
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
70
88
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH DOT ABOVE
ENCODING 551
SWIDTH 640 0
DWIDTH 6 0
BBX 5 7 0 0
BITMAP
20
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER TURNED A
ENCODING 592
SWIDTH 640 0
DWIDTH 6 0
BBX 5 5 0 0
BITMAP
F0
88
F0
80
70
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH RING BELOW
ENCODING 7681
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 -3
BITMAP
70
08
78
88
78
20
50
20
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH DOT BELOW
ENCODING 7841
SWIDTH 640 0
DWIDTH 6 0
BBX 5 7 0 -2
BITMAP
70
08
78
88
78
00
20
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH HOOK ABOVE
ENCODING 7843
SWIDTH 640 0
DWIDTH 6 0
BBX 5 9 0 0
BITMAP
20
50
10
20
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH CIRCUMFLEX AND ACUTE
ENCODING 7845
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
48
B0
00
70
08
78
88
78
ENDCHAR
STARTCHAR LATIN SMALL LETTER A WITH CIRCUMFLEX AND GRAVE
ENCODING 7847
SWIDTH 640 0
DWIDTH 6 0
BBX 5 8 0 0
BITMAP
90
68
00
70
08
78
88
78
ENDCHAR
ENDFONT

View File

@ -1,531 +0,0 @@
STARTFONT 2.1
COMMENT This file is part of bdf-tewi.
COMMENT
COMMENT Tewi is free software: you can redistribute it and/or modify
COMMENT it under the terms of the GNU General Public License as published by
COMMENT the Free Software Foundation, either version 3 of the License, or
COMMENT (at your option) any later version.
COMMENT
COMMENT Tewi is distributed in the hope that it will be useful,
COMMENT but WITHOUT ANY WARRANTY; without even the implied warranty of
COMMENT MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
COMMENT GNU General Public License for more details.
COMMENT
COMMENT You should have received a copy of the GNU General Public License
COMMENT along with bdf-tewi. If not, see <http://www.gnu.org/licenses/>.
COMMENT
COMMENT As a special exception, if you create a document which uses this
COMMENT font, and embed this font or unaltered portions of this font into
COMMENT the document, this font does not by itself cause the resulting
COMMENT document to be covered by the GNU General Public License. This
COMMENT exception does not however invalidate any other reasons why the
COMMENT document might be covered by the GNU General Public License. If you
COMMENT modify this font, you may extend this exception to your version of
COMMENT the font, but you are not obligated to do so. If you do not wish to
COMMENT do so, delete this exception statement from your version.
FONT -lucy-tewifw-bold-r-normal--11-90-75-75-m-60-ISO10646-1
SIZE 9 75 75
FONTBOUNDINGBOX 12 13 0 -4
STARTPROPERTIES 20
CHARSET_COLLECTIONS "ISO8859-2 ISO8859-5 ISO8859-9 ISO8859-4 ISO10646-1"
COPYRIGHT "© lucy <ne.tetewi@gmail.com>"
FOUNDRY "lucy"
FAMILY_NAME "tewifw"
WEIGHT_NAME "bold"
SLANT "r"
SETWIDTH_NAME "normal"
ADD_STYLE_NAME ""
PIXEL_SIZE 11
POINT_SIZE 90
RESOLUTION_X 75
RESOLUTION_Y 75
SPACING "M"
AVERAGE_WIDTH 60
CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1"
FONT_ASCENT 9
FONT_DESCENT 3
QUAD_WIDTH 12
_GBDFED_INFO "Edited with gbdfed 1.6."
ENDPROPERTIES
CHARS 35
STARTCHAR <control>
ENCODING 0
SWIDTH 1280 0
DWIDTH 12 0
BBX 0 0 0 0
BITMAP
ENDCHAR
STARTCHAR WAVY OVERLINE
ENCODING 65099
SWIDTH 1280 0
DWIDTH 12 0
BBX 11 2 0 6
BITMAP
DDC0
7760
ENDCHAR
STARTCHAR WAVY LOW LINE
ENCODING 65103
SWIDTH 1280 0
DWIDTH 12 0
BBX 11 2 0 -1
BITMAP
DDC0
7760
ENDCHAR
STARTCHAR FULLWIDTH EXCLAMATION MARK
ENCODING 65281
SWIDTH 1280 0
DWIDTH 12 0
BBX 2 8 5 0
BITMAP
C0
C0
C0
C0
C0
C0
00
C0
ENDCHAR
STARTCHAR FULLWIDTH QUOTATION MARK
ENCODING 65282
SWIDTH 1280 0
DWIDTH 12 0
BBX 5 3 3 5
BITMAP
D8
D8
D8
ENDCHAR
STARTCHAR FULLWIDTH NUMBER SIGN
ENCODING 65283
SWIDTH 1280 0
DWIDTH 12 0
BBX 9 8 2 0
BITMAP
1B00
1B00
7F80
3600
3600
FF00
6C00
6C00
ENDCHAR
STARTCHAR FULLWIDTH DOLLAR SIGN
ENCODING 65284
SWIDTH 1280 0
DWIDTH 12 0
BBX 8 9 2 -1
BITMAP
18
7E
DB
D8
7E
1B
DB
7E
18
ENDCHAR
STARTCHAR FULLWIDTH PERCENT SIGN
ENCODING 65285
SWIDTH 1280 0
DWIDTH 12 0
BBX 9 8 2 0
BITMAP
6600
D600
D600
6C00
1B00
3680
6680
6300
ENDCHAR
STARTCHAR FULLWIDTH AMPERSAND
ENCODING 65286
SWIDTH 1280 0
DWIDTH 12 0
BBX 9 8 2 0
BITMAP
3800
6C00
7800
3000
7380
CB00
CE00
7F00
ENDCHAR
STARTCHAR FULLWIDTH APOSTROPHE
ENCODING 65287
SWIDTH 1280 0
DWIDTH 12 0
BBX 3 4 3 4
BITMAP
E0
E0
60
C0
ENDCHAR
STARTCHAR FULLWIDTH LEFT PARENTHESIS
ENCODING 65288
SWIDTH 1280 0
DWIDTH 12 0
BBX 4 10 4 -2
BITMAP
30
60
60
C0
C0
C0
C0
60
60
30
ENDCHAR
STARTCHAR FULLWIDTH RIGHT PARENTHESIS
ENCODING 65289
SWIDTH 1280 0
DWIDTH 12 0
BBX 4 10 4 -2
BITMAP
C0
60
60
30
30
30
30
60
60
C0
ENDCHAR
STARTCHAR FULLWIDTH ASTERISK
ENCODING 65290
SWIDTH 1280 0
DWIDTH 12 0
BBX 5 7 3 0
BITMAP
20
A8
F8
70
F8
A8
20
ENDCHAR
STARTCHAR FULLWIDTH PLUS SIGN
ENCODING 65291
SWIDTH 1280 0
DWIDTH 12 0
BBX 8 7 2 0
BITMAP
18
18
18
FF
18
18
18
ENDCHAR
STARTCHAR FULLWIDTH COMMA
ENCODING 65292
SWIDTH 1280 0
DWIDTH 12 0
BBX 3 4 1 -2
BITMAP
E0
E0
60
C0
ENDCHAR
STARTCHAR FULLWIDTH HYPHEN-MINUS
ENCODING 65293
SWIDTH 1280 0
DWIDTH 12 0
BBX 9 1 1 3
BITMAP
FF80
ENDCHAR
STARTCHAR FULLWIDTH FULL STOP
ENCODING 65294
SWIDTH 1280 0
DWIDTH 12 0
BBX 3 2 1 0
BITMAP
E0
E0
ENDCHAR
STARTCHAR FULLWIDTH SOLIDUS
ENCODING 65295
SWIDTH 1280 0
DWIDTH 12 0
BBX 10 9 1 -2
BITMAP
00C0
0180
0300
0600
0C00
1800
3000
6000
C000
ENDCHAR
STARTCHAR FULLWIDTH DIGIT ZERO
ENCODING 65296
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
78
CC
DC
DC
F4
F4
E4
78
ENDCHAR
STARTCHAR FULLWIDTH DIGIT ONE
ENCODING 65297
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 3 0
BITMAP
30
70
F0
30
30
30
30
FC
ENDCHAR
STARTCHAR FULLWIDTH DIGIT TWO
ENCODING 65298
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
78
CC
CC
0C
18
30
60
FC
ENDCHAR
STARTCHAR FULLWIDTH DIGIT THREE
ENCODING 65299
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
78
CC
0C
38
0C
0C
CC
78
ENDCHAR
STARTCHAR FULLWIDTH DIGIT FOUR
ENCODING 65300
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
08
18
38
58
D8
FC
08
1C
ENDCHAR
STARTCHAR FULLWIDTH DIGIT FIVE
ENCODING 65301
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
FC
C0
C0
78
0C
0C
CC
78
ENDCHAR
STARTCHAR FULLWIDTH DIGIT SIX
ENCODING 65302
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
78
C0
C0
F8
CC
CC
CC
78
ENDCHAR
STARTCHAR FULLWIDTH DIGIT SEVEN
ENCODING 65303
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
FC
0C
0C
18
18
30
30
30
ENDCHAR
STARTCHAR FULLWIDTH DIGIT EIGHT
ENCODING 65304
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
78
CC
CC
78
CC
CC
CC
78
ENDCHAR
STARTCHAR FULLWIDTH DIGIT NINE
ENCODING 65305
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
78
CC
CC
CC
7C
0C
0C
78
ENDCHAR
STARTCHAR FULLWIDTH COLON
ENCODING 65306
SWIDTH 1280 0
DWIDTH 12 0
BBX 3 6 1 0
BITMAP
E0
E0
00
00
E0
E0
ENDCHAR
STARTCHAR FULLWIDTH SEMICOLON
ENCODING 65307
SWIDTH 1280 0
DWIDTH 12 0
BBX 3 8 1 -2
BITMAP
E0
E0
00
00
E0
E0
60
C0
ENDCHAR
STARTCHAR FULLWIDTH LESS-THAN SIGN
ENCODING 65308
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 9 3 -1
BITMAP
0C
18
30
60
C0
60
30
18
0C
ENDCHAR
STARTCHAR FULLWIDTH EQUALS SIGN
ENCODING 65309
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 4 2 2
BITMAP
FC
00
00
FC
ENDCHAR
STARTCHAR FULLWIDTH GREATER-THAN SIGN
ENCODING 65310
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 9 3 -1
BITMAP
C0
60
30
18
0C
18
30
60
C0
ENDCHAR
STARTCHAR FULLWIDTH QUESTION MARK
ENCODING 65311
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
78
CC
CC
18
30
30
00
30
ENDCHAR
STARTCHAR FULLWIDTH COMMERCIAL AT
ENCODING 65312
SWIDTH 1280 0
DWIDTH 12 0
BBX 9 8 2 0
BITMAP
3E00
6300
DD80
B580
B580
DB00
6000
3E00
ENDCHAR
ENDFONT

View File

@ -1,600 +0,0 @@
STARTFONT 2.1
COMMENT This file is part of bdf-tewi.
COMMENT
COMMENT Tewi is free software: you can redistribute it and/or modify
COMMENT it under the terms of the GNU General Public License as published by
COMMENT the Free Software Foundation, either version 3 of the License, or
COMMENT (at your option) any later version.
COMMENT
COMMENT Tewi is distributed in the hope that it will be useful,
COMMENT but WITHOUT ANY WARRANTY; without even the implied warranty of
COMMENT MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
COMMENT GNU General Public License for more details.
COMMENT
COMMENT You should have received a copy of the GNU General Public License
COMMENT along with bdf-tewi. If not, see <http://www.gnu.org/licenses/>.
COMMENT
COMMENT As a special exception, if you create a document which uses this
COMMENT font, and embed this font or unaltered portions of this font into
COMMENT the document, this font does not by itself cause the resulting
COMMENT document to be covered by the GNU General Public License. This
COMMENT exception does not however invalidate any other reasons why the
COMMENT document might be covered by the GNU General Public License. If you
COMMENT modify this font, you may extend this exception to your version of
COMMENT the font, but you are not obligated to do so. If you do not wish to
COMMENT do so, delete this exception statement from your version.
FONT -lucy-tewifw-medium-r-normal--11-90-75-75-m-60-ISO10646-1
SIZE 9 75 75
FONTBOUNDINGBOX 12 13 0 -4
STARTPROPERTIES 20
CHARSET_COLLECTIONS "ISO8859-2 ISO8859-5 ISO8859-9 ISO8859-4 ISO10646-1"
COPYRIGHT "© lucy <ne.tetewi@gmail.com>"
FOUNDRY "lucy"
FAMILY_NAME "tewifw"
WEIGHT_NAME "medium"
SLANT "r"
SETWIDTH_NAME "normal"
ADD_STYLE_NAME ""
PIXEL_SIZE 11
POINT_SIZE 90
RESOLUTION_X 75
RESOLUTION_Y 75
SPACING "M"
AVERAGE_WIDTH 60
CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1"
FONT_ASCENT 9
FONT_DESCENT 3
QUAD_WIDTH 12
_GBDFED_INFO "Edited with gbdfed 1.6."
ENDPROPERTIES
CHARS 41
STARTCHAR <control>
ENCODING 0
SWIDTH 1280 0
DWIDTH 12 0
BBX 0 0 0 0
BITMAP
ENDCHAR
STARTCHAR LEFT-POINTING ANGLE BRACKET
ENCODING 9001
SWIDTH 1280 0
DWIDTH 12 0
BBX 5 9 0 -1
BITMAP
08
08
10
10
20
10
10
08
08
ENDCHAR
STARTCHAR RIGHT-POINTING ANGLE BRACKET
ENCODING 9002
SWIDTH 1280 0
DWIDTH 12 0
BBX 3 9 2 -1
BITMAP
80
80
40
40
20
40
40
80
80
ENDCHAR
STARTCHAR WAVE DASH
ENCODING 12316
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 2 2 3
BITMAP
64
98
ENDCHAR
STARTCHAR REVERSED DOUBLE PRIME QUOTATION MARK
ENCODING 12317
SWIDTH 1280 0
DWIDTH 12 0
BBX 4 3 3 4
BITMAP
A0
A0
50
ENDCHAR
STARTCHAR DOUBLE PRIME QUOTATION MARK
ENCODING 12318
SWIDTH 1280 0
DWIDTH 12 0
BBX 4 3 3 4
BITMAP
50
50
A0
ENDCHAR
STARTCHAR LOW DOUBLE PRIME QUOTATION MARK
ENCODING 12319
SWIDTH 1280 0
DWIDTH 12 0
BBX 7 2 0 0
BITMAP
0A
14
ENDCHAR
STARTCHAR WAVY OVERLINE
ENCODING 65099
SWIDTH 1280 0
DWIDTH 12 0
BBX 10 2 0 6
BITMAP
9980
6640
ENDCHAR
STARTCHAR WAVY LOW LINE
ENCODING 65103
SWIDTH 1280 0
DWIDTH 12 0
BBX 10 2 0 -1
BITMAP
9980
6640
ENDCHAR
STARTCHAR FULLWIDTH EXCLAMATION MARK
ENCODING 65281
SWIDTH 1280 0
DWIDTH 12 0
BBX 1 8 5 0
BITMAP
80
80
80
80
80
80
00
80
ENDCHAR
STARTCHAR FULLWIDTH QUOTATION MARK
ENCODING 65282
SWIDTH 1280 0
DWIDTH 12 0
BBX 3 3 4 5
BITMAP
A0
A0
A0
ENDCHAR
STARTCHAR FULLWIDTH NUMBER SIGN
ENCODING 65283
SWIDTH 1280 0
DWIDTH 12 0
BBX 8 8 2 0
BITMAP
12
12
7F
24
24
FE
48
48
ENDCHAR
STARTCHAR FULLWIDTH DOLLAR SIGN
ENCODING 65284
SWIDTH 1280 0
DWIDTH 12 0
BBX 7 9 2 -1
BITMAP
10
7C
92
90
7C
12
92
7C
10
ENDCHAR
STARTCHAR FULLWIDTH PERCENT SIGN
ENCODING 65285
SWIDTH 1280 0
DWIDTH 12 0
BBX 8 8 2 0
BITMAP
62
92
94
68
16
29
49
46
ENDCHAR
STARTCHAR FULLWIDTH AMPERSAND
ENCODING 65286
SWIDTH 1280 0
DWIDTH 12 0
BBX 8 8 2 0
BITMAP
30
48
50
20
57
8A
8C
73
ENDCHAR
STARTCHAR FULLWIDTH APOSTROPHE
ENCODING 65287
SWIDTH 1280 0
DWIDTH 12 0
BBX 2 4 3 4
BITMAP
C0
C0
40
80
ENDCHAR
STARTCHAR FULLWIDTH LEFT PARENTHESIS
ENCODING 65288
SWIDTH 1280 0
DWIDTH 12 0
BBX 3 10 4 -2
BITMAP
20
40
40
80
80
80
80
40
40
20
ENDCHAR
STARTCHAR FULLWIDTH RIGHT PARENTHESIS
ENCODING 65289
SWIDTH 1280 0
DWIDTH 12 0
BBX 3 10 4 -2
BITMAP
80
40
40
20
20
20
20
40
40
80
ENDCHAR
STARTCHAR FULLWIDTH ASTERISK
ENCODING 65290
SWIDTH 1280 0
DWIDTH 12 0
BBX 5 6 3 1
BITMAP
20
A8
70
70
A8
20
ENDCHAR
STARTCHAR FULLWIDTH PLUS SIGN
ENCODING 65291
SWIDTH 1280 0
DWIDTH 12 0
BBX 7 7 2 0
BITMAP
10
10
10
FE
10
10
10
ENDCHAR
STARTCHAR FULLWIDTH COMMA
ENCODING 65292
SWIDTH 1280 0
DWIDTH 12 0
BBX 2 4 1 -2
BITMAP
C0
C0
40
80
ENDCHAR
STARTCHAR FULLWIDTH HYPHEN-MINUS
ENCODING 65293
SWIDTH 1280 0
DWIDTH 12 0
BBX 9 1 1 3
BITMAP
FF80
ENDCHAR
STARTCHAR FULLWIDTH FULL STOP
ENCODING 65294
SWIDTH 1280 0
DWIDTH 12 0
BBX 3 2 0 0
BITMAP
60
60
ENDCHAR
STARTCHAR FULLWIDTH SOLIDUS
ENCODING 65295
SWIDTH 1280 0
DWIDTH 12 0
BBX 9 9 1 -2
BITMAP
0080
0100
0200
0400
0800
1000
2000
4000
8000
ENDCHAR
STARTCHAR FULLWIDTH DIGIT ZERO
ENCODING 65296
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
78
8C
94
94
A4
A4
C4
78
ENDCHAR
STARTCHAR FULLWIDTH DIGIT ONE
ENCODING 65297
SWIDTH 1280 0
DWIDTH 12 0
BBX 5 8 3 0
BITMAP
20
60
A0
20
20
20
20
F8
ENDCHAR
STARTCHAR FULLWIDTH DIGIT TWO
ENCODING 65298
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
78
84
84
08
10
20
40
FC
ENDCHAR
STARTCHAR FULLWIDTH DIGIT THREE
ENCODING 65299
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
78
84
04
38
04
04
84
78
ENDCHAR
STARTCHAR FULLWIDTH DIGIT FOUR
ENCODING 65300
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
08
18
28
48
88
FC
08
1C
ENDCHAR
STARTCHAR FULLWIDTH DIGIT FIVE
ENCODING 65301
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
FC
80
80
78
04
04
84
78
ENDCHAR
STARTCHAR FULLWIDTH DIGIT SIX
ENCODING 65302
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
78
80
80
F8
84
84
84
78
ENDCHAR
STARTCHAR FULLWIDTH DIGIT SEVEN
ENCODING 65303
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
FC
04
08
10
10
20
20
20
ENDCHAR
STARTCHAR FULLWIDTH DIGIT EIGHT
ENCODING 65304
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
78
84
84
78
84
84
84
78
ENDCHAR
STARTCHAR FULLWIDTH DIGIT NINE
ENCODING 65305
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
78
84
84
84
7C
04
04
78
ENDCHAR
STARTCHAR FULLWIDTH COLON
ENCODING 65306
SWIDTH 1280 0
DWIDTH 12 0
BBX 2 6 1 0
BITMAP
C0
C0
00
00
C0
C0
ENDCHAR
STARTCHAR FULLWIDTH SEMICOLON
ENCODING 65307
SWIDTH 1280 0
DWIDTH 12 0
BBX 2 8 1 -2
BITMAP
C0
C0
00
00
C0
C0
40
80
ENDCHAR
STARTCHAR FULLWIDTH LESS-THAN SIGN
ENCODING 65308
SWIDTH 1280 0
DWIDTH 12 0
BBX 7 9 1 -1
BITMAP
02
04
08
10
20
10
08
04
02
ENDCHAR
STARTCHAR FULLWIDTH EQUALS SIGN
ENCODING 65309
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 4 2 2
BITMAP
FC
00
00
FC
ENDCHAR
STARTCHAR FULLWIDTH GREATER-THAN SIGN
ENCODING 65310
SWIDTH 1280 0
DWIDTH 12 0
BBX 5 9 3 -1
BITMAP
80
40
20
10
08
10
20
40
80
ENDCHAR
STARTCHAR FULLWIDTH QUESTION MARK
ENCODING 65311
SWIDTH 1280 0
DWIDTH 12 0
BBX 6 8 2 0
BITMAP
78
84
84
08
10
10
00
10
ENDCHAR
STARTCHAR FULLWIDTH COMMERCIAL AT
ENCODING 65312
SWIDTH 1280 0
DWIDTH 12 0
BBX 8 8 2 0
BITMAP
3E
41
9D
A5
A5
9A
40
3E
ENDCHAR
ENDFONT

View File

@ -1 +0,0 @@
config.i3blocks

View File

@ -1,214 +0,0 @@
# Tango colors
# $i3-status
set color_bad = #CC0000
set color_degraded = #EDD400
set color_good = #73D216
set $mod Mod4
# Fuente para títulos de ventanas
font pango:DejaVu Sans Mono 10
# Usar Ratón+$mod para mover las ventanas flotantes
floating_modifier $mod
# Display
set $display LVDS1
set $display2 VGA1
# volver a la misma ventana que estaba apretando el mismo worskpace
workspace_auto_back_and_forth yes
# abrir una terminal
bindsym $mod+Return exec termite
# cerrat ventana
bindsym $mod+Shift+Q kill
# arrancar dmenu
bindsym $mod+d exec dmenu_run
# Reinicia i3
bindsym $mod+Shift+r restart
# Cambiar foco
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
bindsym $mod+gXG focus right
# Cambiar foco con las flechas
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# Mover de workspace
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
# Mover de workspace usando las flechas
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# Cambiar la orientación en horizontal
bindsym $mod+h split h
# Cambiar la orientación en vertical
bindsym $mod+v split v
# Fullscreen
bindsym $mod+f fullscreen
# Cambiar layout
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout default
# Cambiar entre tiling / floating
bindsym $mod+Shift+space floating toggle
# Cambiar foco entre tiling / floating windows
bindsym $mod+space focus mode_toggle
# Foco al padre
bindsym $mod+a focus parent
# Definir workspaces
set $ws1 1
set $ws2 2
set $ws3 3
set $ws4 4
set $ws5 5
set $ws6 6
set $ws7 7
set $ws8 8
set $ws9 9
set $ws10 10
# Cambiar a workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
# Mover a workspace
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
# Workspace a monitores
workspace $ws2 output $display2
workspace $ws8 output $display1
# Cambiar tamaño de ventana
mode "Resize" {
# These bindings trigger as soon as you enter the resize mode
bindsym j resize shrink width 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 ntilde resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 1 px or 1 ppt
bindsym Down resize grow height 1 px or 1 ppt
bindsym Up resize shrink height 1 px or 1 ppt
bindsym Right resize grow width 1 px or 1 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "Resize"
# Barra principal
bar {
status_command ~/.i3/lemonbar/i3_lemonbar.sh
mode invisible
}
# Modo sistema
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
bindsym l exec --no-startup-id ~/.i3/scripts/exit lock, mode "default"
bindsym s exec --no-startup-id ~/.i3/scripts/exit pm-suspend, mode "default"
bindsym r exec --no-startup-id ~/.i3/scripts/exit reboot, mode "default"
bindsym e exec --no-startup-id ~/.i3/scripts/exit logout, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Escape mode "$mode_system"
new_window pixel
# Colors de las ventanas
# class border backgr text indicator
client.focused #990099 #222222 #ffffff #729FCF
client.focused_inactive #222222 #222222 #ffffff #729FCF
client.unfocused #222222 #222222 #ffffff #729FCF
client.urgent #FF0000 #8C5665 #ffffff #FF0000
# Wallpaper
exec --no-startup-id feh --bg-scale ~/Imagenes/Fondos\ de\ Pantalla/hacking-matrix_azul.png
# Autostart
exec --no-startup-id xbacklight -set 100
exec --no-startup-id bash ~/.i3/scripts/autolock.sh
exec --no-startup-id parcellite
exec --no-startup-id compton
exec --no-startup-id mpd
# Mover programas automáticamente a workspace
assign [title="(?i)emacs"] $ws1
assign [class="(?i)firefox"] $ws2
assign [class="(?i)tor"] $ws2
assign [class="(?i)qutebrowser"] $ws2
assign [class="(?i)icecat"] $ws2
assign [title="bittorrent"] $ws3
assign [class="(?i)keepassx"] $ws5
assign [title="Steam"] $ws7
assign [class="(?i)mumble"] $ws8
assign [class="(?i)mpv"] $ws8
assign [class="(?i)transmission"] $ws8
assign [class="(?i)thunderbird"] $ws9
assign [title="mutt"] $ws9
# Hacer ventanas flotantes automáticamente
for_window [window_role="Preferences"] floating enable
for_window [window_role="help-browser"] floating enable
for_window [class="(?i)xcalc"] floating enable
for_window [window_role="pop-up"] floating enable
for_window [window_role="About"] floating enable
for_window [class="(?i)wicd"] floating enable
for_window [class="(?i)plasma-desktop"] floating enable
for_window [class="(?i)klipper"] floating enable
for_window [class="(?i)feh"] floating enable
for_window [class="Progreso de operación de archivo"] floating enable
for_window [title="emacsclient"] floating enable
# i3-gaps
gaps inner 10
gaps outer 10
smart_borders on
smart_gaps on

View File

@ -1,148 +0,0 @@
# Esto es un fork
Mas o menos. En realidad "solo" he copiado la configuración de lemonbar de ![Electro7] (https://github.com/electro7/dotfiles/) y la he modificado. Dejo el README como referencia. Los cambios vienen a ser, cambiar formato de la hora y fecha y quitar el wifi de conky, cambiar el script de gmail por uno de notmuch, cambiar colores y añadir Font Awesome.
# I3 LemonBar
A functional config for lemonbar to work with i3wm.
![lemonbar full] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_full.png)
### Requeriments
* Of course, [lemonbar] (https://github.com/LemonBoy/bar)
* Alsa-utils for volume indicator.
* Conky for CPU, MEM, NET and DISK usage.
* Curl for gmail alert.
* Weechat for private messages alert. Bitlbee for twitter and chat protocols
integration.
* MPD and mpc for song info.
* xprop for focus app indicator.
* And finally, [i3wm] (https://i3wm.org)
### Basically, how it works?
***i3_lemonbar.sh*** bash script read the configuration from
***i3_lemonbar_config*** file.
Later, execute the requested apps for the diferent meter sections. The output
is redirected to fifo file, adding 3 letters ID for each.
Finally, run a ***i3_lemonbar_parser.sh*** that read from fifo, check the ID
meter, and converts it with lemonbar format.
### Configuration
* Change the bar section on i3wm config:
```
bar {
i3bar_command ~./.i3/lemonbar/i3_lemonbar.sh
}
```
* Adjust bar settings editing i3_lemonnar_config. Settings for:
* Fifo file.
* Bar geometry.
* Normal and icon font. [Here are my fonts used] (https://github.com/electro7/dotfiles/tree/master/.fonts)
* CPU and NET usage alerts.
* Colors
* Specials symbols for separator (powerline).
* Icons glyps.
### Sections
#### Workspace
Workspace changes are received from ***i3_workspace.pl*** perl script.
![lemonbar wsp] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_wsp.png)
#### Focus window title
Window title is received from xprop spy process.
![lemonbar title] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_title.png)
#### Time and date
Time and date is received from conky process. Conky config file is
***i3_lemonbar_conky*** and refresh meters every 2 seconds.
![lemonbar date] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_date.png)
#### Volume
Volume is received asking amixer every 3 seconds. If is muted show a cross.
Volume channel can be set in "snd_cha" variable at config file.
![lemonbar volume] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_vol.png)
#### Net use
ETH and WLAN use is received from conky process. If a interface is down, the
section is displayed gray with cross.
Net use alert can be set in "net_alert" var at config file (Kb).
![lemonbar net off] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_net_off.png)
![lemonbar net on] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_net_on.png)
#### Disk use
Show HOME and / disk use, in %. Meter is received fron conky process.
![lemonbar disk] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_disk.png)
#### RAM and CPU use
Is received from conky process. CPU use alert can be set at "cpu_alert" var in
config file.
![lemonbar cpu off] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_cpu_off.png)
![lemonbar cpu on] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_cpu_on.png)
#### GMAIL unread message count
Is received from [gmail.sh] (https://github.com/electro7/dotfiles/blob/master/bin/gmail.sh)
bash script using curl. The script is run every five minutes. Less time
can block the gmail external check.
The account user and password are read from ***~/.private/accounts***, example:
MAIL_USER="guest"
MAIL_PASS="1234"
![lemonbar mail off] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_mail_off.png)
![lemonbar mail on] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_mail_on.png)
#### IRC private warning
Show a count of private messages in weechat and the last nick.
Is received from [irc_warn.sh] (https://github.com/electro7/dotfiles/blob/master/bin/irc_warn)
bash script. This script is executed by weechat every time a private message is
received.
For this, a beep trigger in weechat must be set with this:
"/exec -bg ~/bin/irc_warn ${tg_date} ${tg_tag_nick}"
For reset the warning, run ***irc_warn*** without parameters.
![lemonbar irc off] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_irc_off.png)
![lemonbar irc on] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_irc_on.png)
#### MPD song info
Show autor and title of current song. Use mpd and mpc.
![lemonbar mpd off] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_mpd_off.png)
![lemonbar mpd on] (https://dl.dropboxusercontent.com/u/60065791/screenshots/lemonbar/i3bar_mpd_on.png)

View File

@ -1,64 +0,0 @@
#! /bin/bash
#
# I3 bar with https://github.com/LemonBoy/bar
. $(dirname $0)/i3_lemonbar_config
if [ $(pgrep -cx $(basename $0)) -gt 1 ] ; then
printf "%s\n" "The status bar is already running." >&2
exit 1
fi
trap 'trap - TERM; kill 0' INT TERM QUIT EXIT
[ -e "${panel_fifo}" ] && rm "${panel_fifo}"
mkfifo "${panel_fifo}"
### EVENTS METERS
# Window title, "WIN"
xprop -spy -root _NET_ACTIVE_WINDOW | sed -un 's/.*\(0x.*\)/WIN\1/p' > "${panel_fifo}" &
# i3 Workspaces, "WSP"
# TODO : Restarting I3 breaks the IPC socket con. :(
$(dirname $0)/i3_workspaces.pl > "${panel_fifo}" &
# Conky, "SYS"
conky -c $(dirname $0)/i3_lemonbar_conky > "${panel_fifo}" &
### UPDATE INTERVAL METERS
cnt_vol=${upd_vol}
cnt_mail=${upd_mail}
cnt_mpd=${upd_mpd}
while :; do
# Volume, "VOL"
if [ $((cnt_vol++)) -ge ${upd_vol} ]; then
amixer get Master | grep "${snd_cha}" | awk -F'[]%[]' '/%/ {if ($7 == "off") {print "VOL×\n"} else {printf "VOL%d%%%%\n", $2}}' > "${panel_fifo}" &
cnt_vol=0
fi
# MAIL, "MAI"
if [ $((cnt_mail++)) -ge ${upd_mail} ]; then
printf "%s%s\n" "MAI" "$(~/.i3/scripts/notmuch)" > "${panel_fifo}"
cnt_mail=0
fi
# MPD
if [ $((cnt_mpd++)) -ge ${upd_mpd} ]; then
#printf "%s%s\n" "MPD" "$(ncmpcpp --now-playing '{%a - %t}|{%f}' | head -c 60)" > "${panel_fifo}"
printf "%s%s\n" "MPD" "$(mpc -h 127.0.0.1 current -f '[[%artist% - ]%title%]|[%file%]' 2>&1 | head -c 70)" > "${panel_fifo}"
cnt_mpd=0
fi
# Finally, wait 1 second
sleep 1s;
done &
#### LOOP FIFO
cat "${panel_fifo}" | $(dirname $0)/i3_lemonbar_parser.sh \
| lemonbar -p -f "${font}" -f "${iconfont}" -f "${iconfont2}" -g "${geometry}" -B "${color_back}" -F "${color_fore}" &
wait

View File

@ -1,63 +0,0 @@
#!\bin\bash
# i3 panel config. Powerline style.
panel_fifo="/tmp/i3_lemonbar_${USER}"
geometry="x14"
font="-xos4-terminesspowerline-medium-r-normal--12-120-72-72-c-60-iso10646-1"
iconfont="-xos4-terminusicons2mono-medium-r-normal--12-120-72-72-m-60-iso8859-1"
iconfont2="-misc-fontawesome-medium-r-normal--0-0-0-0-p-0-iso10646-1"
res_w=$(xrandr -d :0 | grep "current" | awk '{print $8a}')
snd_cha=$(amixer get Master | grep "Playback channels:" | awk '{if ($4 == "") {printf "%s: Playback", $3} else {printf "%s %s: Playback", $3, $4}}')
# Alarm settings
cpu_alert=75 # % cpu use
net_alert=5 # K net use
# update setting, in seconds (conky update in i3_lemonbar_conky
upd_vol=3 # Volume update
upd_mail=300 # Mail check update
upd_mpd=5 # MPD song update
# color definitions
color_back="#1D1F21" # Default background
color_fore="#979997" # Default foreground
color_head="#5097E2" # Background for first element
color_sec_b1="#282A2E" # Background for section 1
color_sec_b2="#454A4F" # Background for section 2
color_sec_b3="#60676E" # Background for section 3
color_icon="#979997" # For icons
color_mail="#CE935F" # Background color for mail alert
color_chat="#CC6666" # Background color for chat alert
color_cpu="#C125C1" # Background color for cpu alert
color_net="#5E8D87" # Background color for net alert
color_disable="#1D1F21" # Foreground for disable elements
color_wsp="#3774B6" # Background for selected workspace
#default space between sections
if [ ${res_w} -gt 1024 ]; then
stab=' '
else
stab=' '
fi
# Char glyps for powerline fonts
sep_left="" # Powerline separator left
sep_right="" # Powerline separator right
sep_l_left="" # Powerline light separator left
sep_l_right="" # Powerline light sepatator right
# Icon glyphs from Terminusicons2
icon_clock="Õ" # Clock icon
icon_cpu="Ï" # CPU icon
icon_mem="Þ" # MEM icon
icon_dl="Ð" # Download icon
icon_ul="Ñ" # Upload icon
icon_vol="Ô" # Volume icon
icon_hd="À" # HD / icon
icon_home="Æ" # HD /home icon
icon_mail="Ó" # Mail icon
icon_chat="Ò" # IRC/Chat icon
icon_music="Î" # Music icon
icon_prog="Â" # Window icon
icon_contact="Á" # Contact icon
icon_wsp="É" # Workspace icon

View File

@ -1,22 +0,0 @@
# Conky for external bar
# out simple text to console
background no
update_interval 2
total_run_times 0
override_utf8_locale yes
short_units yes
uppercase no
out_to_console yes
out_to_x no
if_up_strictness address
format_human_readable true
TEXT
SYS\
${time %d/%m/%Y %H:%M} \
${cpu} \
${mem} \
${fs_used_perc /home} \
${if_up eth0}${downspeedf eth0} ${upspeedf eth0} \
${else}down down${endif}\

View File

@ -1,113 +0,0 @@
#!/bin/bash
#
# Input parser for i3 bar
# 14 ago 2015 - Electro7
# config
. $(dirname $0)/i3_lemonbar_config
# min init
irc_n_high=0
title="%{F${color_head} B${color_sec_b2}}${sep_right}%{F${color_head} B${color_sec_b2}%{T2} ${icon_prog} %{F${color_sec_b2} B-}${sep_right}%{F- B- T1}"
# parser
while read -r line ; do
case $line in
SYS*)
# conky=, 0 = wday, 1 = mday, 2 = month, 3 = time, 4 = cpu, 5 = mem, 6 = disk /, 7 = disk /home, 8-9 = up/down wlan, 10-11 = up/down eth, 12-13=speed
sys_arr=(${line#???})
# date
date="${sys_arr[0]}"
date="%{F${color_sec_b1}}${sep_left}%{F${color_icon} B${color_sec_b1}} %{T2}${icon_clock}%{F- T1} ${date}"
# time
time="%{F${color_head}}${sep_left}%{F${color_back} B${color_head}} ${sys_arr[1]} %{F- B-}"
# cpu
if [ ${sys_arr[2]} -gt ${cpu_alert} ]; then
cpu_cback=${color_cpu}; cpu_cicon=${color_back}; cpu_cfore=${color_back};
else
cpu_cback=${color_sec_b2}; cpu_cicon=${color_icon}; cpu_cfore=${color_fore};
fi
cpu="%{F${cpu_cback}}${sep_left}%{F${cpu_cicon} B${cpu_cback}} %{T2}${icon_cpu}%{F${cpu_cfore} T1} ${sys_arr[2]}%%"
# mem
mem="%{F${cpu_cicon}}${sep_l_left} %{T2}${icon_mem}%{F${cpu_cfore} T1} ${sys_arr[3]}"
# disk home
diskh="%{F${color_icon}}${sep_l_left} %{T2}${icon_home}%{F- T1} ${sys_arr[4]}%%"
# eth
if [ "${sys_arr[5]}" == "down" ]; then
ethd_v="×"; ethu_v="×";
eth_cback=${color_sec_b1}; eth_cicon=${color_disable}; eth_cfore=${color_disable};
else
ethd_v=${sys_arr[5]}K; ethu_v=${sys_arr[6]}K;
if [ ${ethd_v:0:-3} -gt ${net_alert} ] || [ ${ethu_v:0:-3} -gt ${net_alert} ]; then
eth_cback=${color_net}; eth_cicon=${color_back}; eth_cfore=${color_back};
else
eth_cback=${color_sec_b1}; eth_cicon=${color_icon}; eth_cfore=${color_fore};
fi
fi
ethd="%{F${eth_cback}}${sep_left}%{F${eth_cicon} B${eth_cback}} %{T2}${icon_dl}%{F${eth_cfore} T1} ${ethd_v}"
ethu="%{F${eth_cicon}}${sep_l_left} %{T2}${icon_ul}%{F${eth_cfore} T1} ${ethu_v}"
;;
VOL*)
# Volume
vol="%{F${color_sec_b2}}${sep_left}%{F${color_icon} B${color_sec_b2}} %{T2}${icon_vol}%{F- T1} ${line#???}"
;;
MAI*)
# Mail
mail="${line#???}"
if [ "${mail}" != "0" ]; then
mail_cback=${color_mail}; mail_cicon=${color_back}; mail_cfore=${color_back}
else
mail_cback=${color_sec_b1}; mail_cicon=${color_icon}; mail_cfore=${color_fore}
fi
mail="%{F${mail_cback}}${sep_left}%{F${mail_cicon} B${mail_cback}} %{T2}${icon_mail}%{F${mail_cfore} T1} ${mail}"
;;
IRC*)
# IRC highlight (script irc_warn)
if [ "${line#???}" != "0" ]; then
echo "${line#???}"
((irc_n_high++)); irc_high="${line#???}";
irc_cback=${color_chat}; irc_cicon=${color_back}; irc_cfore=${color_back}
else
irc_n_high=0; [ -z "${irc_high}" ] && irc_high="None";
irc_cback=${color_sec_b2}; irc_cicon=${color_icon}; irc_cfore=${color_fore}
fi
irc="%{F${irc_cback}}${sep_left}%{F${irc_cicon} B${irc_cback}} %{T2}${icon_chat}%{F${irc_cfore} T1} ${irc_n_high} %{F${irc_cicon}}${sep_l_left} %{T2}${icon_contact}%{F${irc_cfore} T1} ${irc_high}"
;;
MPD*)
# Music
mpd_arr=(${line#???})
if [ -z "${line#???}" ]; then
song="None";
elif [ "${mpd_arr[0]}" == "error:" ]; then
song="mpd off";
else
song="${line#???}";
fi
mpd="%{F${color_sec_b2}}${sep_left}%{B${color_sec_b2}}%{F${color_sec_b1}}${sep_left}%{F${color_icon} B${color_sec_b1}} %{T2}${icon_music}%{F${color_fore} T1} ${song}"
;;
WSP*)
# I3 Workspaces
wsp="%{F${color_back} B${color_head}} %{T2}${icon_wsp}%{T1}"
set -- ${line#???}
while [ $# -gt 0 ] ; do
case $1 in
FOC*)
wsp="${wsp}%{F${color_head} B${color_wsp}}${sep_right}%{F${color_back} B${color_wsp} T1} ${1#???} %{F${color_wsp} B${color_head}}${sep_right}"
;;
INA*|URG*|ACT*)
wsp="${wsp}%{F${color_disable} T1} ${1#???} "
;;
esac
shift
done
;;
WIN*)
# window title
title=$(xprop -id ${line#???} | awk '/_NET_WM_NAME/{$1=$2="";print}' | cut -d'"' -f2)
title="%{F${color_head} B${color_sec_b2}}${sep_right}%{F${color_head} B${color_sec_b2} T2} ${icon_prog} %{F${color_sec_b2} B-}${sep_right}%{F- B- T1} ${title}"
;;
esac
# And finally, output
printf "%s\n" "%{l}${wsp}${title} %{r}${mpd}${stab}${irc}${stab}${mail}${stab}${cpu}${stab}${mem}${stab}${diskh}${stab}${wlanu}${stab}${ethd}${stab}${ethu}${stab}${vol}${stab}${date}${stab}${time}"
done

View File

@ -1,138 +0,0 @@
#!/usr/bin/env perl
# vim:ts=4:sw=4:expandtab:ft=perl
#
# Print i3 workspaces on every change.
#
# Format:
# For every workspace (x = workspace name)
# - "FOCx" -> Focused workspace
# - "INAx" -> Inactive workspace
# - "ACTx" -> Ative workspace
# - "URGx" -> Urgent workspace
#
# Uses AnyEvent I3 0.8 -> https://metacpan.org/module/AnyEvent::I3
# Based in i3-wsbar of Michael Stapelberg -> http://code.stapelberg.de/git/i3/tree/contrib/i3-wsbar
#
# 16 feb 2015 - Electro7
use strict;
use warnings;
use AnyEvent::I3;
use AnyEvent;
use v5.10;
my $socket_path = undef;
my ($workspaces, $outputs) = ([], {});
my $w = AnyEvent->timer(
after => 3,
cb => sub {
die "Connection to i3 timed out. Verify socket path ($socket_path)";
exit 1;
}
);
my $i3 = i3($socket_path);
# Disable buffering
$| = 1;
STDERR->autoflush;
STDOUT->autoflush;
# Wait a short amount of time and try to connect to i3 again
sub reconnect {
print "reconecting\n";
my $timer;
$i3 = i3($socket_path);
if (!defined($w)) {
$w = AnyEvent->timer(
after => 3,
cb => sub {
die "Connection to i3 timed out. Verify socket path ($socket_path)";
exit 1;
}
);
}
my $c = sub {
$timer = AnyEvent->timer(
after => 0.01,
cb => sub { $i3->connect->cb(\&connected) }
);
};
$c->();
}
# Connection attempt succeeded or failed
sub connected {
my ($cv) = @_;
if (!$cv->recv) {
reconnect();
return;
}
$w = undef;
$i3->subscribe({
workspace => \&ws_change,
output => \&output_change,
_error => sub { reconnect() }
});
ws_change();
output_change();
}
# Called when a ws changes
sub ws_change {
# Request the current workspaces and update the output afterwards
$i3->get_workspaces->cb(
sub {
my ($cv) = @_;
$workspaces = $cv->recv;
update_output();
});
}
# Called when the reply to the GET_OUTPUTS message arrives
sub got_outputs {
my $reply = shift->recv;
my %new = map { ($_->{name}, $_) } grep { $_->{active} } @{$reply};
for my $name (keys %new) {
$outputs->{$name} = $new{$name};
}
update_output();
}
sub output_change {
$i3->get_outputs->cb(\&got_outputs)
}
sub update_output {
my $out;
for my $name (keys %{$outputs}) {
$out .= "WSP";
for my $ws (@{$workspaces}) {
my $state = "INA";
$state = "ACT" if $ws->{visible};
$state = "URG" if $ws->{urgent};
$state = "FOC" if $ws->{focused};
my $name = $ws->{name};
# strip workspace number
$name = substr($name, 1, 2);
$out .= qq|$state$name |;
}
$out .= "\n";
print $out;
}
}
$i3->connect->cb(\&connected);
# let AnyEvent do the rest ("endless loop")
AnyEvent->condvar->recv

View File

@ -1,102 +0,0 @@
#!/usr/bin/env python
#
# Print i3 workspaces on every change.
#
# Format:
# For every workspace (x = workspace name)
# - "FOCx" -> Focused workspace
# - "INAx" -> Inactive workspace
# - "ACTx" -> Ative workspace
# - "URGx" -> Urgent workspace
#
# Uses i3py.py -> https://github.com/ziberna/i3-py
# Based in wsbar.py en examples dir
#
# 16 feb 2015 - Electro7
import sys
import time
import subprocess
import i3
class State(object):
# workspace states
focused = 'FOC'
active = 'ACT'
inactive = 'INA'
urgent = 'URG'
def get_state(self, workspace, output):
if workspace['focused']:
if output['current_workspace'] == workspace['name']:
return self.focused
else:
return self.active
if workspace['urgent']:
return self.urgent
else:
return self.inactive
class i3ws(object):
ws_format = '%s%s '
end_format = 'WSP%s'
state = State()
def __init__(self, state=None):
if state:
self.state = state
# socket
self.socket = i3.Socket()
# Output to console
workspaces = self.socket.get('get_workspaces')
outputs = self.socket.get('get_outputs')
self.display(self.format(workspaces, outputs))
# Subscribe to an event
callback = lambda data, event, _: self.change(data, event)
self.subscription = i3.Subscription(callback, 'workspace')
def change(self, event, workspaces):
# Receives event and workspace data
if 'change' in event:
outputs = self.socket.get('get_outputs')
text = self.format(workspaces, outputs)
self.display(text)
def format(self, workspaces, outputs):
# Formats the text according to the workspace data given.
out = ''
for workspace in workspaces:
output = None
for output_ in outputs:
if output_['name'] == workspace['output']:
output = output_
break
if not output:
continue
st = self.state.get_state(workspace, output)
name = workspace['name']
item= self.ws_format % (st, name)
out += item
return self.end_format % out
def display(self, text):
# Displays the text in stout
print(text)
sys.stdout.flush()
def quit(self):
# Quits the i3ws; closes the subscription and terminates
self.subscription.close()
if __name__ == '__main__':
ws = i3ws()
try:
while True:
time.sleep(1)
except KeyboardInterrupt:
print('') # force new line
finally:
ws.quit()

View File

@ -1,3 +0,0 @@
#!/bin/sh
xautolock -time 10 -locker "lock" -notify 30 &

View File

@ -1,78 +0,0 @@
#!/usr/bin/perl
#
# Copyright 2014 Pierre Mavro <deimos@deimos.fr>
# Copyright 2014 Vivien Didelot <vivien@didelot.org>
#
# Licensed under the terms of the GNU GPL v3, or any later version.
#
# This script is meant to use with i3blocks. It parses the output of the "acpi"
# command (often provided by a package of the same name) to read the status of
# the battery, and eventually its remaining time (to full charge or discharge).
#
# The color will gradually change for a percentage below 85%, and the urgency
# (exit code 33) is set if there is less that 5% remaining.
use strict;
use warnings;
use utf8;
my $acpi;
my $status;
my $percent;
my $full_text;
my $short_text;
# read the first line of the "acpi" command output
open (ACPI, 'acpi -b |') or die "Can't exec acpi: $!\n";
$acpi = <ACPI>;
close(ACPI);
# fail on unexpected output
if ($acpi !~ /: (\w+), (\d+)%/) {
die "$acpi\n";
}
$status = $1;
$percent = $2;
$full_text = "$percent%";
if ($status eq 'Discharging') {
$full_text .= '';
} elsif ($status eq 'Charging') {
$full_text = $full_text;
}
$short_text = $full_text;
if ($acpi =~ /(\d\d:\d\d):/) {
$full_text .= " ($1)";
}
# print text
# consider color and urgent flag only on discharge
if ($status eq 'Discharging') {
if ($percent < 5) {
print '<span foreground="#729FCF"></span> ';
print "$short_text\n";
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);

View File

@ -1,121 +0,0 @@
#!/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>"

View File

@ -1,41 +0,0 @@
#!/bin/sh
# Copyright (C) 2014 Julien Bonjean <julien@bonjean.info>
# 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 3 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, see <http://www.gnu.org/licenses/>.
DIR="${BLOCK_INSTANCE:-$HOME}"
ALERT_LOW="${1:-10}" # color will turn red under this value (default: 10%)
df -h -P -l "$DIR" 2>/dev/null |
awk -v alert_low=$ALERT_LOW '
/\/.*/ {
# full text
print $4
# short text
print $4
use=$5
# no need to continue parsing
exit 0
}
END {
gsub(/%$/,"",use)
if (100 - use < alert_low) {
# color
print "#FF0000"
}
}
'

View File

@ -1,29 +0,0 @@
#!/bin/sh
lock() {
lock
}
case "$1" in
lock)
/usr/local/bin/lock
;;
logout)
i3-msg exit
;;
suspend)
/usr/local/bin/susp
;;
reboot)
password=$(zenity --title Exit --password --text "Introduce tu contraseña:")
echo -n $password | sudo --stdin reboot
;;
shutdown)
password=$(zenity --title Exit --password --text "Introduce tu contraseña:")
echo -n $password | sudo --stdin poweroff
;;
*)
echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}"
exit 2
esac
exit 0

View File

@ -1,9 +0,0 @@
#!/bin/sh
case $BLOCK_BUTTON in
1) xbacklight -inc 20 ;; # left click, high light
3) xbacklight -dec 20 ;; # right click, low light
4) xbacklight -inc 20 ;; # scroll up, increase light
5) xbacklight -dec 20 ;; # scroll down, decrease light
esac
echo -e "<span foreground='#729FCF'>&#xf0eb; </span>"`xbacklight | cut -d'.' -f1`

Some files were not shown because too many files have changed in this diff Show More