Questi sono i miei config:
i3status (temp cpu, carico, data e ora)
Codice: Seleziona tutto
general {
colors = true
interval = 2
}
order += "disk /home"
order += "cpu_usage"
order += "cpu_temperature 1"
order += "cpu_temperature 2"
order += "cpu_temperature 3"
order += "time"
time {
format = "%a:%d-%b-%Y %I:%M:%S %p"
}
cpu_usage {
format = "Cpu: %usage"
}
cpu_temperature 1 {
format = "T1: %degrees °C"
path = "/sys/devices/platform/w83627ehf.656/temp1_input"
}
cpu_temperature 2 {
format = "T2: %degrees °C"
path = "/sys/devices/platform/w83627ehf.656/temp2_input"
}
cpu_temperature 3 {
format = "T3: %degrees °C"
path = "/sys/devices/platform/w83627ehf.656/temp3_input"
}
disk "/home" {
format = "/home: %free"
}
e su config aggiungete questo comando per il resize della finestra lasciata float
Codice: Seleziona tutto
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
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 semicolon resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym 113 resize shrink width 10 px or 10 ppt
bindsym 116 resize grow height 10 px or 10 ppt
bindsym 111 resize shrink height 10 px or 10 ppt
bindsym 114 resize grow width 10 px or 10 ppt
bindsym Left resize shrink left 10 px or 10 ppt
bindsym Shift+Left resize grow left 10 px or 10 ppt
bindsym Down resize shrink down 10 px or 10 ppt
bindsym Shift+Down resize grow down 10 px or 10 ppt
bindsym Up resize shrink up 10 px or 10 ppt
bindsym Shift+Up resize grow up 10 px or 10 ppt
bindsym Right resize shrink right 10 px or 10 ppt
bindsym Shift+Right resize grow right 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status
}