added i3status bar

This commit is contained in:
spinach 2023-01-29 23:45:47 -05:00
parent 6a70565832
commit 56ae0f34be
3 changed files with 65 additions and 1 deletions

View File

@ -15,6 +15,11 @@ set $mod Mod4
# is used in the bar {} block below.
font pango:monospace 8
default_border none
gaps inner 5
smart_gaps on
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
@ -53,7 +58,6 @@ bindsym $mod+Return exec st
# lock the screen
bindsym $mod+q exec ~/.local/bin/i3lock-blur
#bindsym $mod+q exec i3lock-fancy-dualmonitor
# kill focused window
bindsym $mod+Shift+q kill

59
i3status/config Normal file
View File

@ -0,0 +1,59 @@
# i3status configuration file. # see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
interval = 5
}
order += "ethernet _first_"
order += "volume master"
order += "disk /"
order += "cpu_usage"
order += "memory"
order += "tztime local"
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
ethernet _first_ {
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery all {
format = "%status %percentage %remaining"
}
disk "/" {
format = "%avail"
}
cpu_usage {
format = "cpu: %usage"
}
memory {
format = "%percentage_used of %available used (%used)"
threshold_degraded = "1G"
format_degraded = "MEMORY < %available"
}
volume master {
format = "♪: %volume"
format_muted = "♪: muted (%volume)"
device = "pulse"
mixer = "Master"
mixer_idx = 0
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}

View File

@ -35,6 +35,7 @@
~/.tmux.conf:
~/.fzf: src/fzf
~/.config/i3: i3
~/.config/i3status: i3status
~/.oh-my-zsh/custom:
path: oh-my-zsh/custom
force: true