This commit is contained in:
finga 2018-05-08 14:59:54 +02:00
parent 1668e031bf
commit 7de13f4ccc
3 changed files with 35 additions and 32 deletions

View file

@ -11,8 +11,8 @@
set $mod Mod4 set $mod Mod4
# font for window titles. ISO 10646 = Unicode # font for window titles
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 font pango:monospace 8
# poweroff stuff # poweroff stuff
set $mode_system System: (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown set $mode_system System: (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
@ -148,14 +148,12 @@ workspace "0" output VGA-2
# colors # colors
client.focused #000000 #009900 #ffffff #ff0000 client.focused #000000 #009900 #ffffff #ff0000
#client.focused_inactive
client.unfocused #000000 #005500 #000000 #ff0000 client.unfocused #000000 #005500 #000000 #ff0000
#client.urgent
# Start i3bar to display a workspace bar (plus the system information i3status # Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available) # finds out, if available)
bar { bar {
status_command i3status --config ~/.i3/i3status status_command i3status --config ~/.config/i3status/config
position top position top
tray_output primary tray_output primary
workspace_buttons yes workspace_buttons yes
@ -164,13 +162,11 @@ bar {
colors { colors {
statusline #00ff00 statusline #00ff00
focused_workspace #00cc00 #00ff00 #000000 focused_workspace #00cc00 #00ff00 #000000
inactive_workspace #00cc00 #008b00 #cccccc inactive_workspace #00cc00 #008b00 #cccccc
#client.orientation #ff0000
} }
} }
exec ssh-agent exec ssh-agent
exec xrandr --output VGA-2 --auto --right-of VGA-1 exec xrandr --output VGA-2 --auto --right-of VGA-1
exec feh --bg-scale ~/bg.jpg # exec feh --bg-scale ~/bg.jpg

View file

@ -3,13 +3,12 @@ general {
interval = 1 interval = 1
} }
order += "ipv6" # order += "ipv6"
order += "ethernet eth0" order += "ethernet eth0"
order += "wireless wlan1" order += "wireless wlan0"
#order += "battery 0" order += "battery 0"
order += "cpu_usage" order += "cpu_usage"
order += "load" order += "load"
#order += "cpu_temperature 0"
order += "volume master" order += "volume master"
order += "tztime home" order += "tztime home"
order += "tztime utc" order += "tztime utc"
@ -19,6 +18,11 @@ ethernet eth0 {
format_down = "E: down" format_down = "E: down"
} }
wireless wlan0 {
format_up = "W: %quality@%ip"
format_down = "W: down"
}
battery 0 { battery 0 {
last_full_capacity = true last_full_capacity = true
format = "%status %percentage %remaining %consumption" ## %emptytime" format = "%status %percentage %remaining %consumption" ## %emptytime"
@ -26,21 +30,6 @@ battery 0 {
low_threshold = 20 low_threshold = 20
} }
tztime home {
format = "%Y-%m-%d (%Z) %H:%M:%S"
timezone = "Europe/Vienna"
}
tztime utc {
format = "(%Z) %H:%M:%S"
timezone = "Etc/UTC"
}
cpu_temperature 0 {
format = "%degrees °C"
path = "/sys/class/thermal/thermal_zone0/temp"
}
cpu_usage { cpu_usage {
format = "C: %usage" format = "C: %usage"
} }
@ -55,3 +44,13 @@ volume master {
mixer = "Master" mixer = "Master"
mixer_idx = 0 mixer_idx = 0
} }
tztime home {
format = "%Y-%m-%d (%Z) %H:%M:%S"
timezone = "Europe/Vienna"
}
tztime utc {
format = "(%Z) %H:%M:%S"
timezone = "Etc/UTC"
}

8
.gitignore.d/i3 Normal file
View file

@ -0,0 +1,8 @@
*
!/.config
!/.config/i3
!/.config/i3/config
!/.config/i3status
!/.config/i3status/config
!/.gitignore.d
!/.gitignore.d/i3