i3 Related:
default
i3 — improved tiling window manager
###################################
# Changing terminal in i3 in Debian
When i3 is calling i3-sensible-terminal in debian
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
#end-changing-terminal-in-i3
############################
###################################################
# Turn off exit message, so don't have to use mouse
# Find this line:
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'"
# And change it to:
bindsym $mod+Shift+e exec "i3-msg exit"
or
bindsym $mod+Shift+e exec i3-msg exit
# Then reload config with:
mod+Shift+c
#end-turn-off-warning-exit-message
##################################
###########################
# 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
# end-i3-show-no-battery
########################
default