mirror of
https://github.com/theniceboy/.config.git
synced 2026-07-16 22:01:21 +08:00
improved i3bar
This commit is contained in:
parent
e7e93bac07
commit
d71253a63b
5 changed files with 169 additions and 80 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -8,6 +8,7 @@
|
||||||
!/ranger/
|
!/ranger/
|
||||||
/ranger/plugins/__pycache__/*
|
/ranger/plugins/__pycache__/*
|
||||||
/ranger/colorschemes/__pycache__/*
|
/ranger/colorschemes/__pycache__/*
|
||||||
|
/ranger/folders.conf
|
||||||
!/kitty/
|
!/kitty/
|
||||||
!/alacritty/
|
!/alacritty/
|
||||||
!/fish/
|
!/fish/
|
||||||
|
|
@ -22,3 +23,4 @@
|
||||||
!/README.md
|
!/README.md
|
||||||
!/vimium-options.json
|
!/vimium-options.json
|
||||||
!/zsh
|
!/zsh
|
||||||
|
!/i3status/
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,7 @@ font:
|
||||||
|
|
||||||
|
|
||||||
# Point size
|
# Point size
|
||||||
size: 12.0
|
size: 11.5
|
||||||
|
|
||||||
# Offset is the extra space around each character. `offset.y` can be thought of
|
# Offset is the extra space around each character. `offset.y` can be thought of
|
||||||
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
||||||
|
|
|
||||||
26
i3/config
26
i3/config
|
|
@ -309,18 +309,17 @@ exec --no-startup-id compton -b
|
||||||
exec --no-startup-id nm-applet
|
exec --no-startup-id nm-applet
|
||||||
exec --no-startup-id xfce4-power-manager
|
exec --no-startup-id xfce4-power-manager
|
||||||
exec --no-startup-id pamac-tray
|
exec --no-startup-id pamac-tray
|
||||||
exec --no-startup-id clipit
|
|
||||||
# exec --no-startup-id blueman-applet
|
# exec --no-startup-id blueman-applet
|
||||||
# exec_always --no-startup-id sbxkb
|
# exec_always --no-startup-id sbxkb
|
||||||
#exec --no-startup-id start_conky_maia
|
#exec --no-startup-id start_conky_maia
|
||||||
# exec --no-startup-id start_conky_green
|
# exec --no-startup-id start_conky_green
|
||||||
exec_always --no-startup-id ff-theme-util
|
exec --no-startup-id ff-theme-util
|
||||||
exec_always --no-startup-id fix_xcursor
|
exec --no-startup-id fix_xcursor
|
||||||
exec_always --no-startup-id ~/.config/i3/run-mailsync.sh
|
exec --no-startup-id ~/.config/i3/run-mailsync.sh
|
||||||
exec_always variety
|
exec variety
|
||||||
exec_always fcitx
|
exec fcitx
|
||||||
#exec_always --no-startup-id ~/.config/i3/tap-to-click.sh
|
#exec_always --no-startup-id ~/.config/i3/tap-to-click.sh
|
||||||
exec_always --no-startup-id ~/.config/i3/inverse-scroll.sh
|
exec --no-startup-id ~/.config/i3/inverse-scroll.sh
|
||||||
|
|
||||||
# Color palette used for the terminal ( ~/.Xresources file )
|
# Color palette used for the terminal ( ~/.Xresources file )
|
||||||
# Colors are gathered based on the documentation:
|
# Colors are gathered based on the documentation:
|
||||||
|
|
@ -354,7 +353,11 @@ set_from_resource $term_color14 color14
|
||||||
set_from_resource $term_color15 color15
|
set_from_resource $term_color15 color15
|
||||||
|
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status if available)
|
# Start i3bar to display a workspace bar (plus the system information i3status if available)
|
||||||
|
#bar {
|
||||||
|
#status_command ~/cmake-apps/bumblebee-status/bumblebee-status -m cpu memory battery time pasink pasource -p time.format="%H:%M" -t iceberg-powerline
|
||||||
|
#}
|
||||||
bar {
|
bar {
|
||||||
|
id bar-1
|
||||||
i3bar_command i3bar
|
i3bar_command i3bar
|
||||||
status_command i3status
|
status_command i3status
|
||||||
position bottom
|
position bottom
|
||||||
|
|
@ -369,9 +372,12 @@ bar {
|
||||||
strip_workspace_numbers yes
|
strip_workspace_numbers yes
|
||||||
|
|
||||||
colors {
|
colors {
|
||||||
background #222D31
|
#background #222D31
|
||||||
statusline #F9FAF9
|
#statusline #F9FAF9
|
||||||
separator #454947
|
#separator #454947
|
||||||
|
background #222222
|
||||||
|
statusline #eeeeee
|
||||||
|
separator #666666
|
||||||
|
|
||||||
# border backgr. text
|
# border backgr. text
|
||||||
focused_workspace #F9FAF9 #16a085 #292F34
|
focused_workspace #F9FAF9 #16a085 #292F34
|
||||||
|
|
|
||||||
79
i3status/config
Normal file
79
i3status/config
Normal file
|
|
@ -0,0 +1,79 @@
|
||||||
|
# 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
|
||||||
|
color_good = "#2AA198"
|
||||||
|
color_bad = "#586E75"
|
||||||
|
color_degraded = "#DC322F"
|
||||||
|
}
|
||||||
|
|
||||||
|
# order += "ipv6"
|
||||||
|
order += "cpu_usage"
|
||||||
|
order += "cpu_temperature 0"
|
||||||
|
order += "disk /"
|
||||||
|
# order += "disk /home"
|
||||||
|
order += "wireless _first_"
|
||||||
|
#order += "ethernet _first_"
|
||||||
|
order += "battery all"
|
||||||
|
#order += "load"
|
||||||
|
order += "memory"
|
||||||
|
order += "tztime local"
|
||||||
|
|
||||||
|
cpu_usage {
|
||||||
|
format = "🚀 %usage "
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
load {
|
||||||
|
format = " load %1min "
|
||||||
|
#format = "[ load: %1min, %5min, %15min ]"
|
||||||
|
# max_threshold = 0.3
|
||||||
|
}
|
||||||
|
|
||||||
|
disk "/" {
|
||||||
|
# format = " hdd %avail "
|
||||||
|
format = " ⛁ %avail "
|
||||||
|
}
|
||||||
|
|
||||||
|
ethernet _first_ {
|
||||||
|
# if you use %speed, i3status requires root privileges
|
||||||
|
format_up = " lan: %ip %speed "
|
||||||
|
format_down = " no lan "
|
||||||
|
}
|
||||||
|
|
||||||
|
battery all {
|
||||||
|
# format = "%status %percentage %remaining %emptytime"
|
||||||
|
format = " %status %percentage"
|
||||||
|
format_down = "No battery"
|
||||||
|
last_full_capacity = true
|
||||||
|
integer_battery_capacity = false
|
||||||
|
# status_chr = ""
|
||||||
|
status_chr = "⚡"
|
||||||
|
# status_bat = "bat"
|
||||||
|
status_bat = "☉"
|
||||||
|
#status_bat = ""
|
||||||
|
# status_unk = "?"
|
||||||
|
status_unk = ""
|
||||||
|
# status_full = ""
|
||||||
|
status_full = "☻"
|
||||||
|
low_threshold = 15
|
||||||
|
threshold_type = time
|
||||||
|
}
|
||||||
|
|
||||||
|
memory {
|
||||||
|
format = " 💿 %used / %available "
|
||||||
|
threshold_degraded = "1G"
|
||||||
|
format_degraded = "MEMORY < %available"
|
||||||
|
}
|
||||||
|
|
||||||
|
tztime local {
|
||||||
|
format = " 📅 %Y-%m-%d 🕑 %H:%M "
|
||||||
|
#format = " %d.%m. %H:%M "
|
||||||
|
}
|
||||||
|
|
@ -84,4 +84,6 @@ alias s='neofetch'
|
||||||
alias sra='sudo -E ranger'
|
alias sra='sudo -E ranger'
|
||||||
alias sudo='sudo -E'
|
alias sudo='sudo -E'
|
||||||
alias vim='nvim'
|
alias vim='nvim'
|
||||||
|
alias unity='./Downloads/UnityHub.AppImage'
|
||||||
|
alias gs='git config credential.helper store'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue