Compare commits

...

4 Commits

Author SHA1 Message Date
Julian Ospald 4e7c93c97f
Update font 2018-08-13 21:21:53 +08:00
Julian Ospald ab749bed04
Update i3status 2018-08-13 21:21:41 +08:00
Julian Ospald a5f640c648
Use rofi 2018-08-13 21:21:30 +08:00
Julian Ospald 896b690a41
Update monitors 2018-08-13 21:21:16 +08:00
2 changed files with 38 additions and 21 deletions

16
config
View File

@ -14,7 +14,7 @@ set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font # Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. ISO 10646 = Unicode # is used in the bar {} block below. ISO 10646 = Unicode
#font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
font pango:DejaVu Sans Mono 12 font pango:DejaVu Sans Mono 10
# The font above is very space-efficient, that is, it looks good, sharp and # The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, if you need a lot of unicode glyphs or # clear in small sizes. However, if you need a lot of unicode glyphs or
# right-to-left text rendering, you should instead use pango for rendering and # right-to-left text rendering, you should instead use pango for rendering and
@ -31,9 +31,11 @@ bindsym $mod+Return exec sakura
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
# start dmenu (a program launcher) # start dmenu (a program launcher)
bindsym $mod+Shift+d exec dmenu_run bindsym $mod+Shift+w exec --no-startup-id rofi -show window
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop bindsym $mod+d exec --no-startup-id rofi -show run
#bindsym $mod+d exec --no-startup-id xfce4-popup-whiskermenu # bindsym $mod+Shift+d exec dmenu_run
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# bindsym $mod+d exec --no-startup-id xfce4-popup-whiskermenu
# There also is the (new) i3-dmenu-desktop which only displays applications # There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that # shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed. # installed.
@ -100,8 +102,8 @@ assign [class="Pidgin"] 2
assign [class="Mumble"] 2 assign [class="Mumble"] 2
set $left LVDS1 set $left eDP1
set $right VGA1 set $right HDMI2
# workspace to monitor mapping # workspace to monitor mapping
@ -266,7 +268,7 @@ bar {
status_command i3status --config ~/.i3/i3status.config status_command i3status --config ~/.i3/i3status.config
# | dzen2 -fg white -ta r -w 1290 fn "-misc-fixed-medium-r-normal--13-120-75-75-C-70-iso8859-1" # | dzen2 -fg white -ta r -w 1290 fn "-misc-fixed-medium-r-normal--13-120-75-75-C-70-iso8859-1"
font pango:DejaVu Sans Mono 12 font pango:DejaVu Sans Mono 10
} }
mode "num" { mode "num" {

View File

@ -6,15 +6,17 @@ general {
#order += "ipv6" #order += "ipv6"
order += "disk /" order += "disk /"
#order += "run_watch DHCP" #order += "run_watch DHCP"#
order += "run_watch VPN" #order += "run_watch VPN"
#order += "wireless wlan0" order += "wireless wlp3s0"
order += "ethernet eth1" #order += "ethernet enp0s31f6"
#order += "battery 0" order += "battery 0"
order += "cpu_temperature 0" order += "battery 1"
#order += "cpu_temperature 0"
order += "cpu_usage" order += "cpu_usage"
#order += "load" order += "load"
#order += "tztime local" order += "memory"
order += "tztime local"
#order += "tztime berlin" #order += "tztime berlin"
ipv6 { ipv6 {
@ -22,12 +24,12 @@ ipv6 {
format_down = "no IPv6" format_down = "no IPv6"
} }
wireless wlan0 { wireless wlp3s0 {
format_up = "W: (%quality at %essid, %bitrate) %ip" format_up = "W: (%quality at %essid, %bitrate) %ip"
format_down = "W: down" format_down = "W: down"
} }
ethernet eth0 { ethernet enp0s31f6 {
# if you use %speed, i3status requires the cap_net_admin capability # if you use %speed, i3status requires the cap_net_admin capability
format_up = "E: %ip (%speed)" format_up = "E: %ip (%speed)"
format_down = "E: down" format_down = "E: down"
@ -39,6 +41,12 @@ battery 0 {
low_threshold = 10 low_threshold = 10
} }
battery 1 {
format = "%status %percentage %remaining %emptytime"
path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 10
}
run_watch DHCP { run_watch DHCP {
pidfile = "/var/run/dhclient*.pid" pidfile = "/var/run/dhclient*.pid"
} }
@ -60,10 +68,10 @@ load {
format = "%5min" format = "%5min"
} }
/* cpu_temperature 0 { */ cpu_temperature 0 {
/* format = "%degrees°" */ format = "%degrees°"
/* path = "/sys/devices/platform/coretemp.0/temp1_input" */ path = "/sys/devices/platform/coretemp.0/temp1_input"
/* } */ }
disk "/" { disk "/" {
format = "%free" format = "%free"
@ -72,3 +80,10 @@ disk "/" {
cpu_usage { cpu_usage {
format = "%usage" format = "%usage"
} }
memory {
format = "%used"
threshold_degraded = "10%"
format_degraded = "MEMORY: %free"
}