Updated posts with proper markup

This commit is contained in:
Felipe M 2016-12-19 09:53:36 +01:00
parent 8850c0bcc5
commit 9fa059a16b
2 changed files with 114 additions and 133 deletions

View file

@ -11,13 +11,13 @@ body:
<table border="0" cellpadding="0" cellspacing="0" id="string_entity" style="width:100%">
<tbody>
<tr>
<td colspan="4"><strong>String entity</strong></td>
<th colspan="4"><strong>String entity</strong></th>
</tr>
<tr>
<td><strong>Type</strong></td>
<td><strong>Name</strong></td>
<td><strong>Description</strong></td>
<td><strong>Null value</strong></td>
<th><strong>Type</strong></th>
<th><strong>Name</strong></th>
<th><strong>Description</strong></th>
<th><strong>Null value</strong></th>
</tr>
<tr>
<td>uint16</td>
@ -34,17 +34,15 @@ body:
</tbody>
</table>
<p>&nbsp;</p>
<table border="0" cellpadding="0" cellspacing="0" id="property_entity" style="width:100%">
<tbody>
<tr>
<td colspan="3"><strong>Property entity</strong></td>
<th colspan="3"><strong>Property entity</strong></th>
</tr>
<tr>
<td><strong>Type</strong></td>
<td><strong>Name</strong></td>
<td><strong>Description</strong></td>
<th><strong>Type</strong></th>
<th><strong>Name</strong></th>
<th><strong>Description</strong></th>
</tr>
<tr>
<td><a href="#string_entity">string</a></td>
@ -59,18 +57,16 @@ body:
</tbody>
</table>
<p>&nbsp;</p>
<table border="0" cellpadding="0" cellspacing="0" style="width:100%">
<tbody>
<tr>
<td colspan="4"><strong>Record entity</strong></td>
<th colspan="4"><strong>Record entity</strong></th>
</tr>
<tr>
<td><strong>Type</strong></td>
<td><strong>Field name</strong></td>
<td><strong>Description</strong></td>
<td><strong>Null value</strong></td>
<th><strong>Type</strong></th>
<th><strong>Field name</strong></th>
<th><strong>Description</strong></th>
<th><strong>Null value</strong></th>
</tr>
<tr>
<td><a href="#string_entity">string</a></td>

View file

@ -1,4 +1,3 @@
title: The penguin trials after two weeks
---
body:
@ -19,23 +18,21 @@ not so long ago when I tried to install linux on my home computer and that
happened, luckily it had a solution, I just needed to install `lightdm-gtk-
greeter` and replace it at the lightdm configuration.
``` text
# /etc/lightdm/lightdm.conf
# ...
greeter-session=lightdm-gtk-greeter
# ...
```
### Better font rendering for i3
The default fonts for the i3bar and so on are a bit clunky for my personal
taste so I changed the rendering from `pango` to `xft` and now it looks nice.
``` text
font xft:monospace 8
```
### Better font rendering system wide (ala. OS X)
@ -50,10 +47,9 @@ Wiki entry](https://wiki.archlinux.org/index.php/Infinality) on the subject
and used the setup for the _Soft of OS X_ appareance editing the
`/etc/profile.d/infinality-settings.sh` using the `ultimate5` configuration.
``` text
export INFINALITY_FT="ultimate5"
```
Just restart X to the settings to take effect. I haven't seen problems with
the infinality patch until now.
@ -68,10 +64,9 @@ file and use that as wallpaper.
Just adding this to my i3 config file:
``` text
exec_always feh --bg ~/.config/i3/wallpaper.png
```
I want to improve it having a script that will iterate over png images inside
a folder and using one at random but since I don't need fancy stuff this will
@ -82,11 +77,10 @@ work for now.
To start programs when you log in at your session adding them to your i3
configuration seems like the way to go:
``` text
# Startup programs
exec dropbox
```
### Adding a lock screen with i3lock
@ -95,8 +89,7 @@ one can, just say, put a David Hasselhoff wallpaper on it or something, so
with `i3lock`, `scrut`, a bash script and a key binding I have a very nice
screen locker in place!
``` text
#!/bin/sh
# Take screenshot
@ -107,14 +100,13 @@ screen locker in place!
# Lock screen with the image
i3lock -i /tmp/lockscreen.png
```
And in the i3 config file:
``` text
bindsym $mod+l ~/.config/i3/i3lock.sh
```
### More integrated notifications with dunst
@ -133,12 +125,11 @@ This was easy since I just need to bind the X media volume up and down to the
alsa mixer control app so I can use the keyboard to control the system volume
easily.
``` text
# Media keys
bindsym XF86AudioRaiseVolume exec amixer -q set Master 4%+ unmute
bindsym XF86AudioLowerVolume exec amixer -q set Master 4%- unmute
```
### Using the media keys for media players with playerctl
@ -148,14 +139,13 @@ Just installed `playerctl` and every app I used until now worked out of the
box. Even the forward/backwards keys for `mpv` which wasn't working for mpv
with mps-youtube on OS X are functional on my linux box!
``` text
# Media player controls
bindsym XF86AudioPlay exec playerctl play-pause
# bindsym XF86AudioPause exec playerctl pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
```
### Removing the title bars for the windows
@ -164,11 +154,10 @@ at the titlebar of the app you're using? Some like the browsers didn't even
have one! So I've removed the titlebars and left only 2px borders for the
application windows.
``` text
# Windows without titlebars
for_window [class="^.*"] border pixel 2
```
### Auto enable floating for pop-up windows
@ -176,11 +165,10 @@ It was really annoying watching a google login window take half of the desktop
just for a moment to login into a service, so every window with the role of
popup is now floating by default.
``` text
# Browser popups floating
for_window [window_role="pop-up"] floating enable
```
### Using a custom i3bar with i3pystatus
@ -188,8 +176,7 @@ Since most of the default information the i3bar was unnecesary I found out
about i3pystatus that allows you to use python modules to customize the i3bar
at will. Below are my config file and the i3bar.py I use for it.
``` python
from i3pystatus import Status
from i3pystatus.updates import pacman, yaourt
@ -232,15 +219,15 @@ at will. Below are my config file and the i3bar.py I use for it.
format="♪{volume}",)
status.run()
```
``` text
# .config/i3/config
bar {
status_command ~/.config/i3/i3bar.py
position up
}
```
### Hide the mouse cursor when not needed
@ -251,17 +238,16 @@ there when I don't need it so I installed
[unclutter](https://wiki.archlinux.org/index.php/unclutter) and running it on
startup was very relieving.
``` bash
# .config/i3/unclutter.sh
#!/bin/bash
unclutter &
```
``` text
# .config/i3/config
exec ~/.config/i3/unclutter.sh
```
## What's next?
@ -277,7 +263,6 @@ customization is far from over! There are still stuff I miss a lot, like:
See ya in two weeks!
---
pub_date: 2016-04-27
---