oda: update i3 config

This commit is contained in:
Meutel 2017-11-14 20:09:35 +01:00
parent 6fad6e4b20
commit 76785aef03
6 changed files with 34 additions and 36 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ _vim/.netrwhist
_config/auto_sync*/*.pid _config/auto_sync*/*.pid
_vim/bundle _vim/bundle
_i3__abraracourcix/logfile _i3__abraracourcix/logfile
_i3__oda.armorique.lan/logfile

View File

@ -16,8 +16,8 @@ export EDITOR=vim
export VISUAL=$EDITOR export VISUAL=$EDITOR
# pager man conserve affichage à l'écran # pager man conserve affichage à l'écran
export MANPAGER="less -X" export MANPAGER="less -X"
# youtube dl default dl dir FIXME default in youtube # youtube dl default
export YDL_TARGET=$HOME export YDL_TARGET=$HOME/tmp
##### COLORS ##### ##### COLORS #####

View File

@ -133,9 +133,9 @@ bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9 bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10 bindsym $mod+Shift+0 move container to workspace 10
# volume # volume; keys [ and ]
bindcode $mod+48 exec obsd-vol.sh -16 bindcode $mod+34 exec obsd-vol.sh -16
bindcode $mod+51 exec obsd-vol.sh 16 bindcode $mod+35 exec obsd-vol.sh 16
# reload the configuration file # reload the configuration file
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload
@ -182,6 +182,8 @@ client.urgent $base02 $base08 $base00 $base0F
bar { bar {
position top position top
status_command i3status -c .i3/i3status.conf status_command i3status -c .i3/i3status.conf
font pango:monospace 8
separator_symbol ""
colors { colors {
separator $base03 separator $base03
background $base01 background $base01

View File

@ -7,58 +7,56 @@
# If the above line is not correctly displayed, fix your editor first! # If the above line is not correctly displayed, fix your editor first!
general { general {
output_format = "i3bar" output_format = "i3bar"
colors = true colors = true
interval = 5 interval = 5
} }
order += "battery all"
order += "ipv6" order += "ipv6"
order += "disk /" order += "disk /"
order += "disk /home"
order += "wireless _first_" order += "wireless _first_"
order += "ethernet _first_" order += "ethernet _first_"
#order += "load" order += "load"
order += "cpu_temperature cpu0"
order += "cpu_temperature acpitz0" order += "cpu_temperature acpitz0"
order += "volume master" order += "volume master"
order += "battery all"
order += "tztime local" order += "tztime local"
cpu_temperature cpu0 {
format = "CPU: %degrees ⁰C"
path = "cpu0"
}
cpu_temperature acpitz0 { cpu_temperature acpitz0 {
format = "TZ: %degrees ⁰C" format = " %degrees ⁰C"
} }
wireless _first_ { wireless _first_ {
format_up = "W: (%essid) %ip" format_up = " (%essid) %ip"
format_down = "W: down" format_down = " down"
} }
ethernet _first_ { ethernet _first_ {
format_up = "E: %ip" format_up = " %ip"
format_down = "E: down" format_down = " down"
} }
battery all { battery all {
format = "%status %percentage \% %remaining" format = "%status %percentage %remaining"
} }
tztime local { tztime local {
locale = "fr_FR.UTF-8"
format = "%A %e %B %H:%M" format = "%A %e %B %H:%M"
} }
load { load {
format = "%1min" format = " %5min"
} }
disk "/" { disk "/" {
format = "%avail" format = " / %avail"
}
disk "/home" {
format = " /home %avail"
} }
volume master { volume master {
format = "vol: %volume" format = " %volume"
} }

View File

@ -7,15 +7,10 @@ export PATH HOME TERM
# if running bash # if running bash
if [ -n "$BASH_VERSION" ]; then if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists # include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc" . "$HOME/.bashrc"
fi fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi fi
export LC_CTYPE="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8"

View File

@ -1,3 +1,4 @@
export PATH="$HOME/bin:$PATH"
export LC_CTYPE="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8"
export TERMINAL=/usr/local/bin/roxterm export TERMINAL=/usr/local/bin/roxterm
xrdb -merge ~/.Xresources xrdb -merge ~/.Xresources
@ -26,4 +27,5 @@ xidle -timeout 300 -program "/usr/X11R6/bin/xlock -mode blank" &
xrandr --dpi 156 xrandr --dpi 156
xcompmgr -c -n & xcompmgr -c -n &
setxkbmap us -option compose:caps setxkbmap us -option compose:caps
exec /usr/local/bin/i3 echo "Starting at $(date)" >> ~/.i3/logfile
exec /usr/local/bin/i3 >> ~/.i3/logfile