add nano and update i3 status

This commit is contained in:
Quentin Godefroid 2024-01-03 13:44:02 +01:00
parent bbdfaa34f1
commit c2b5eac3ba
Signed by: hactario
GPG key ID: 688E98939E5CBE8D
4 changed files with 33 additions and 44 deletions

1
.gitignore vendored
View file

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

View file

@ -46,7 +46,7 @@ floating_modifier $mod
# 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
# tiling_drag modifier titlebar
# start a terminal
bindsym $mod+Return exec /etc/profiles/per-user/hactario/bin/alacritty
@ -115,15 +115,15 @@ bindsym $mod+q focus parent
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws1 "1:Chat"
set $ws2 "2:Main"
set $ws3 "3:Console"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws9 "9:Spotify"
set $ws10 "10"
# switch to workspace
@ -187,11 +187,11 @@ bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
font pango:Hack Nerd Font Mono, FontAwesome 8
font pango:Hack Nerd Font Mono, FontAwesome 10
status_command i3status -c ~/.config/i3status/config
position bottom
workspace_buttons yes
tray_output none
# tray_output none
colors {
background #282A36
statusline #F8F8F2

View file

@ -11,35 +11,28 @@ general {
color_good = "#a3be8c"
color_degraded = "#ebcb8b"
color_bad = "#bf616a"
separator = '  '
# output_format = "i3bar"
separator = ""
output_format = "i3bar"
interval = 5
}
order += "ipv6"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery all"
order += "disk /"
order += "disk /home"
order += "load"
order += "memory"
order += "tztime local"
order += "ipv6"
order += "disk /"
order += "run_watch DHCP"
order += "run_watch VPNC"
order += "path_exists VPN"
order += "wireless wlan0"
order += "ethernet eth0"
order += "battery 0"
order += "cpu_temperature 0"
order += "memory"
order += "load"
order += "tztime local"
order += "tztime berlin"
order += "tztime Montreal"
order += "tztime Brussels"
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_up = "W: (%quality at %essid) %ip (%speed)"
format_down = "W: down"
}
@ -48,24 +41,11 @@ ethernet _first_ {
format_down = "E: down"
}
wireless wlan0 {
format_up = "W: (%quality at %essid, %bitrate) %ip"
format_down = "W: down"
}
ethernet eth0 {
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery all {
format = "%status %percentage %remaining"
}
disk "/" {
format = "%avail"
}
load {
format = "%1min"
}
@ -106,9 +86,14 @@ tztime local {
hide_if_equals_localtime = true
}
tztime berlin {
tztime Brussels {
format = "%Y-%m-%d %H:%M:%S %Z"
timezone = "Europe/Berlin"
timezone = "Europe/Brussels"
}
tztime Montreal {
format = "%H:%M %Z"
timezone = "America/Montreal"
hide_if_equals_localtime = true
}
load {
@ -117,7 +102,6 @@ load {
cpu_temperature 0 {
format = "T: %degrees °C"
path = "/sys/devices/platform/coretemp.0/temp1_input"
}
memory {
@ -130,6 +114,10 @@ disk "/" {
format = "%free"
}
disk "/home" {
format = "%free"
}
read_file uptime {
path = "/proc/uptime"
}

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