add nano and update i3 status

This commit is contained in:
Quentin Godefroid 2024-01-03 13:44:02 +01:00
parent 81e178ff75
commit 090b744b82
Signed by: hactario
GPG key ID: 688E98939E5CBE8D
4 changed files with 48 additions and 21 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
git/.gitconfig-work git/.gitconfig-work
home/ home/
nano/.cache/nano/*

View file

@ -52,6 +52,9 @@ floating_modifier $mod
tiling_drag modifier titlebar tiling_drag modifier titlebar
bindsym $mod+Return exec alacritty bindsym $mod+Return exec alacritty
bindsym $mod+d exec "dmenu_run -nf '#F8F8F2' -nb '#282A36' -sb '#6272A4' -sf '#F8F8F2' -fn 'Hack-10.5' -l 5 -p '  '" bindsym $mod+d exec "dmenu_run -nf '#F8F8F2' -nb '#282A36' -sb '#6272A4' -sf '#F8F8F2' -fn 'Hack-10.5' -l 5 -p '  '"
# move tiling windows via drag & drop by left-clicking into the title bar,
# or left-clicking anywhere into the window while holding the floating modifier.
# tiling_drag modifier titlebar
# change focus # change focus
bindsym $mod+j focus left bindsym $mod+j focus left
@ -196,11 +199,11 @@ include ~/.config/i3/config.d/*.conf
# Start i3bar to display a workspace bar (plus the system information i3status # Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available) # finds out, if available)
bar { bar {
font pango:Hack Nerd Font Mono, FontAwesome 8 font pango:Hack Nerd Font Mono, FontAwesome 10
status_command i3status ~/.config/i3status-rust/config.toml status_command i3status -c ~/.config/i3status/config
position bottom position bottom
workspace_buttons yes workspace_buttons yes
tray_output none # tray_output none
colors { colors {
background #282A36 background #282A36
statusline #F8F8F2 statusline #F8F8F2

View file

@ -4,6 +4,8 @@ general {
color_good = "#a3be8c" color_good = "#a3be8c"
color_degraded = "#ebcb8b" color_degraded = "#ebcb8b"
color_bad = "#bf616a" color_bad = "#bf616a"
separator = ""
output_format = "i3bar"
interval = 5 interval = 5
separator = "󰭆" separator = "󰭆"
} }
@ -19,18 +21,26 @@ order += "disk /home"
// order += "path_exists VPN" // order += "path_exists VPN"
order += "wireless wlp2s0" order += "wireless wlp2s0"
order += "ethernet enp0s31f6" order += "ethernet enp0s31f6"
// order += "ethernet enp0s20f0u3c2" order += "ethernet enxd8d09030b06b"
order += "ethernet" order += "ethernet"
order += "ipv6"
order += "wireless _first_"
order += "ethernet _first_"
order += "disk /home"
order += "load"
order += "memory"
order += "run_watch DHCP"
order += "run_watch VPNC"
order += "path_exists VPN"
order += "battery 0" order += "battery 0"
order += "cpu_temperature 0" order += "cpu_temperature 0"
order += "memory"
order += "load"
order += "tztime local" order += "tztime local"
order += "tztime paris" order += "tztime Montreal"
order += "tztime Brussels"
wireless wlp2s0 { wireless _first_ {
format_up = " (%quality at %essid, %bitrate) %ip" format_up = "W: (%quality at %essid) %ip (%speed)"
format_down = "󱚵 " format_down = "W: down"
} }
ethernet enp0s31f6 { ethernet enp0s31f6 {
@ -40,6 +50,10 @@ ethernet enp0s31f6 {
ethernet enp0s20f0u3c2 { ethernet enp0s20f0u3c2 {
format_up = "󰈁 %ip" format_up = "󰈁 %ip"
format_down = "󰈁 " format_down = "󰈁 "
battery all {
format = "%status %percentage %remaining"
} }
battery 0 { battery 0 {
@ -76,9 +90,14 @@ tztime local {
hide_if_equals_localtime = true hide_if_equals_localtime = true
} }
tztime paris { tztime Brussels {
format = "📅 %V %a 󰃭 %Y-%m-%d  %H:%M:%S %Z" format = "%Y-%m-%d %H:%M:%S %Z"
timezone = "Europe/Paris" timezone = "Europe/Brussels"
}
tztime Montreal {
format = "%H:%M %Z"
timezone = "America/Montreal"
hide_if_equals_localtime = true
} }
load { load {
@ -117,6 +136,10 @@ disk "/home" {
threshold_type = percentage_avail threshold_type = percentage_avail
} }
disk "/home" {
format = "%free"
}
read_file uptime { read_file uptime {
path = "/proc/uptime" path = "/proc/uptime"
} }

0
nano/.cache/nano/.keep Normal file
View file