i3 Improved Tiling Window

i3 Related
i3 Improved Tiling Window

i3 Related:

i3 — improved tiling window manager
Under debian:

When i3 is calling i3-sensible-terminal it is calling
it in turn calls x-terminal-emulator

x-terminal-emulater is calling  gnome-terminal

Three ways to change:
1) Edit:
/usr/bin/i3-sensible-terminal
Put urxvt in front of x-terminal-emulator
Actually make it the first on this line:
for terminal in $TERMINAL urxvt x-terminal-emulator ...

2) Change:
~/i3/config
from:
bindsym $mod+Return exec i3-sensible-terminal
to:
bindsym $mod+Return exec urxvt
This way you will need to restart i3: mod+shit+r

3) Change:
/usr/bin/x-terminal-emulator
to call urxvt


i3-status show no battery
-------------------------
If you don't have a i3status.conf
cp /etc/i3status.conf ~/.i3status.conf

Find your battery, on this laptop it is: 
/sys/class/power_supply/BAT1

The quickest way is to edit .i3status.conf
and add:
path = "/sys/class/power_supply/BAT1/uevent"

to the battery section:
battery 0 {
    format = "%status %percentage %remaining"
    path = "/sys/class/power_supply/BAT1/uevent"
}

You could also change all instances of: battery 0
to: battery 1

order += "battery 1"
battery 1 {
    format = "%status %percentage %remaining"
    path = "/sys/class/power_supply/BAT%d/uevent"
    low_threshold = 10
}

Which would let you use BAT%d
man i3status for more infos

Restart i3 to take effect:
mod+Shift+r
-------------------------
Previous
Next Post »