i3status
This commit is contained in:
parent
9294411745
commit
4c32c66cbb
3
Makefile
3
Makefile
@ -67,9 +67,12 @@ gpg:
|
||||
echo -e "default-cache-ttl 1\nmax-cache-ttl 1" > ~/.gnupg/gpg-agent.conf; echo RELOADAGENT | gpg-connect-agent
|
||||
|
||||
i3:
|
||||
echo "sudo pacman -S nitrogen picom compton ttf-font-awesome"
|
||||
test -d ~/.config/i3 || \
|
||||
mkdir -p ~/.config/i3
|
||||
mkdir -p ~/.config/i3status
|
||||
ln -s $(PWD)/sub/i3/config ~/.config/i3/config
|
||||
ln -s $(PWD)/sub/i3/statusconfig ~/.config/i3status/config
|
||||
|
||||
font:
|
||||
mkdir -p ~/.local/share/fonts
|
||||
|
||||
@ -16,6 +16,10 @@ set $mod Mod4
|
||||
|
||||
exec --no-startup-id xset s off
|
||||
exec --no-startup-id xset dpms 0 0 0
|
||||
|
||||
|
||||
|
||||
exec --no-startup-id nitrogen --restore; sleep 1; compton -b
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font FiraCode:monospace 10
|
||||
|
||||
53
sub/i3/statusconfig
Normal file
53
sub/i3/statusconfig
Normal file
@ -0,0 +1,53 @@
|
||||
# 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 += "ipv6"
|
||||
order += "wireless _first_"
|
||||
order += "ethernet _first_"
|
||||
order += "battery all"
|
||||
order += "disk /"
|
||||
order += "load"
|
||||
order += "memory"
|
||||
order += "tztime local"
|
||||
|
||||
wireless _first_ {
|
||||
format_up = " (%quality at %essid) %ip"
|
||||
format_down = " down"
|
||||
}
|
||||
|
||||
ethernet _first_ {
|
||||
format_up = " %ip (%speed)"
|
||||
format_down = " down"
|
||||
}
|
||||
|
||||
battery all {
|
||||
format = " %status %percentage %remaining"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = " %avail"
|
||||
}
|
||||
|
||||
load {
|
||||
format = "%1min"
|
||||
}
|
||||
|
||||
memory {
|
||||
format = "%used | %available"
|
||||
threshold_degraded = "1G"
|
||||
format_degraded = "MEMORY < %available"
|
||||
}
|
||||
|
||||
tztime local {
|
||||
format = " %Y-%m-%d %H:%M:%S"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user