Switch to i3status-rs for #i3wm
This commit is contained in:
@ -22,8 +22,8 @@ shadow-exclude = [
|
|||||||
# xinerama-shadow-crop = true;
|
# xinerama-shadow-crop = true;
|
||||||
|
|
||||||
# Opacity
|
# Opacity
|
||||||
menu-opacity = 0.8;
|
menu-opacity = 0.3;
|
||||||
inactive-opacity = 0.95;
|
inactive-opacity = 0.97;
|
||||||
# active-opacity = 0.8;
|
# active-opacity = 0.8;
|
||||||
frame-opacity = 0.7;
|
frame-opacity = 0.7;
|
||||||
inactive-opacity-override = false;
|
inactive-opacity-override = false;
|
||||||
@ -89,6 +89,6 @@ glx-swap-method = "undefined";
|
|||||||
# Window type settings
|
# Window type settings
|
||||||
wintypes:
|
wintypes:
|
||||||
{
|
{
|
||||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
|
tooltip = { fade = true; shadow = true; opacity = 0.15; focus = true; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,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.
|
# is used in the bar {} block below.
|
||||||
font pango:Iosevka 10
|
font pango:Terminus 10
|
||||||
|
|
||||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||||
@ -150,9 +150,24 @@ bindsym $mod+Shift+r restart
|
|||||||
# exit i3 (logs you out of your X session)
|
# exit i3 (logs you out of your X session)
|
||||||
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'"
|
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'"
|
||||||
|
|
||||||
|
#bar {
|
||||||
|
# position top
|
||||||
|
# status_command i3status
|
||||||
|
#}
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
|
font pango:Terminus, FontAwesome 10
|
||||||
position top
|
position top
|
||||||
status_command i3status
|
status_command /usr/local/bin/i3status-rs ~/.config/i3/status.toml
|
||||||
|
colors {
|
||||||
|
separator #666666
|
||||||
|
background #222222
|
||||||
|
statusline #dddddd
|
||||||
|
focused_workspace #0088CC #0088CC #ffffff
|
||||||
|
active_workspace #333333 #333333 #ffffff
|
||||||
|
inactive_workspace #333333 #333333 #888888
|
||||||
|
urgent_workspace #2f343a #900000 #ffffff
|
||||||
|
}
|
||||||
}
|
}
|
||||||
# resize window (you can also use the mouse for that)
|
# resize window (you can also use the mouse for that)
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
|
|||||||
59
i3/.config/i3/status.toml
Normal file
59
i3/.config/i3/status.toml
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
theme = "gruvbox-dark"
|
||||||
|
icons = "awesome"
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "focused_window"
|
||||||
|
max_width = 80
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "maildir"
|
||||||
|
interval = 60
|
||||||
|
inboxes = ["~/Mail/colin@onec.me/Inbox"]
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "disk_space"
|
||||||
|
path = "/"
|
||||||
|
alias = "/"
|
||||||
|
info_type = "available"
|
||||||
|
unit = "GB"
|
||||||
|
interval = 20
|
||||||
|
warning = 20.0
|
||||||
|
alert = 10.0
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "net"
|
||||||
|
device = "wlp3s0"
|
||||||
|
ssid = true
|
||||||
|
ip = true
|
||||||
|
speed_up = false
|
||||||
|
speed_down = false
|
||||||
|
bitrate = false
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "memory"
|
||||||
|
display_type = "memory"
|
||||||
|
format_mem = "{Mup}%"
|
||||||
|
format_swap = "{SUp}%"
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "cpu"
|
||||||
|
interval = 1
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "load"
|
||||||
|
interval = 1
|
||||||
|
format = "{1m}"
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "battery"
|
||||||
|
format = "{percentage}%"
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "sound"
|
||||||
|
driver = "pulseaudio"
|
||||||
|
step_width = 10
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "time"
|
||||||
|
interval = 60
|
||||||
|
format = "%a %d/%m %R"
|
||||||
Reference in New Issue
Block a user