add nano and update i3 status
This commit is contained in:
parent
bbdfaa34f1
commit
c2b5eac3ba
4 changed files with 33 additions and 44 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
git/.gitconfig-work
|
git/.gitconfig-work
|
||||||
home/
|
home/
|
||||||
|
nano/.cache/nano/*
|
|
@ -46,7 +46,7 @@ floating_modifier $mod
|
||||||
|
|
||||||
# move tiling windows via drag & drop by left-clicking into the title bar,
|
# 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.
|
# or left-clicking anywhere into the window while holding the floating modifier.
|
||||||
tiling_drag modifier titlebar
|
# tiling_drag modifier titlebar
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec /etc/profiles/per-user/hactario/bin/alacritty
|
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.
|
# Define names for default workspaces for which we configure key bindings later on.
|
||||||
# We use variables to avoid repeating the names in multiple places.
|
# We use variables to avoid repeating the names in multiple places.
|
||||||
set $ws1 "1"
|
set $ws1 "1:Chat"
|
||||||
set $ws2 "2"
|
set $ws2 "2:Main"
|
||||||
set $ws3 "3"
|
set $ws3 "3:Console"
|
||||||
set $ws4 "4"
|
set $ws4 "4"
|
||||||
set $ws5 "5"
|
set $ws5 "5"
|
||||||
set $ws6 "6"
|
set $ws6 "6"
|
||||||
set $ws7 "7"
|
set $ws7 "7"
|
||||||
set $ws8 "8"
|
set $ws8 "8"
|
||||||
set $ws9 "9"
|
set $ws9 "9:Spotify"
|
||||||
set $ws10 "10"
|
set $ws10 "10"
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
|
@ -187,20 +187,20 @@ bindsym $mod+r mode "resize"
|
||||||
# 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 -c ~/.config/i3status/config
|
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
|
||||||
separator #44475A
|
separator #44475A
|
||||||
focused_workspace #44475A #44475A #F8F8F2
|
focused_workspace #44475A #44475A #F8F8F2
|
||||||
active_workspace #282A36 #44475A #F8F8F2
|
active_workspace #282A36 #44475A #F8F8F2
|
||||||
inactive_workspace #282A36 #282A36 #BFBFBF
|
inactive_workspace #282A36 #282A36 #BFBFBF
|
||||||
urgent_workspace #FF5555 #FF5555 #F8F8F2
|
urgent_workspace #FF5555 #FF5555 #F8F8F2
|
||||||
binding_mode #FF5555 #FF5555 #F8F8F2
|
binding_mode #FF5555 #FF5555 #F8F8F2
|
||||||
}
|
}
|
||||||
bindsym --release button3 exec --no-startup-id import ~/screenshot-$(date +%F-%T).png
|
bindsym --release button3 exec --no-startup-id import ~/screenshot-$(date +%F-%T).png
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,35 +11,28 @@ general {
|
||||||
color_good = "#a3be8c"
|
color_good = "#a3be8c"
|
||||||
color_degraded = "#ebcb8b"
|
color_degraded = "#ebcb8b"
|
||||||
color_bad = "#bf616a"
|
color_bad = "#bf616a"
|
||||||
separator = ' '
|
separator = ""
|
||||||
# output_format = "i3bar"
|
output_format = "i3bar"
|
||||||
interval = 5
|
interval = 5
|
||||||
}
|
}
|
||||||
|
|
||||||
order += "ipv6"
|
order += "ipv6"
|
||||||
order += "wireless _first_"
|
order += "wireless _first_"
|
||||||
order += "ethernet _first_"
|
order += "ethernet _first_"
|
||||||
order += "battery all"
|
order += "disk /home"
|
||||||
order += "disk /"
|
|
||||||
order += "load"
|
order += "load"
|
||||||
order += "memory"
|
order += "memory"
|
||||||
order += "tztime local"
|
|
||||||
order += "ipv6"
|
|
||||||
order += "disk /"
|
|
||||||
order += "run_watch DHCP"
|
order += "run_watch DHCP"
|
||||||
order += "run_watch VPNC"
|
order += "run_watch VPNC"
|
||||||
order += "path_exists VPN"
|
order += "path_exists VPN"
|
||||||
order += "wireless wlan0"
|
|
||||||
order += "ethernet eth0"
|
|
||||||
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 berlin"
|
order += "tztime Montreal"
|
||||||
|
order += "tztime Brussels"
|
||||||
|
|
||||||
wireless _first_ {
|
wireless _first_ {
|
||||||
format_up = "W: (%quality at %essid) %ip"
|
format_up = "W: (%quality at %essid) %ip (%speed)"
|
||||||
format_down = "W: down"
|
format_down = "W: down"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,24 +41,11 @@ ethernet _first_ {
|
||||||
format_down = "E: down"
|
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 {
|
battery all {
|
||||||
format = "%status %percentage %remaining"
|
format = "%status %percentage %remaining"
|
||||||
}
|
}
|
||||||
|
|
||||||
disk "/" {
|
|
||||||
format = "%avail"
|
|
||||||
}
|
|
||||||
|
|
||||||
load {
|
load {
|
||||||
format = "%1min"
|
format = "%1min"
|
||||||
}
|
}
|
||||||
|
@ -106,9 +86,14 @@ tztime local {
|
||||||
hide_if_equals_localtime = true
|
hide_if_equals_localtime = true
|
||||||
}
|
}
|
||||||
|
|
||||||
tztime berlin {
|
tztime Brussels {
|
||||||
format = "%Y-%m-%d %H:%M:%S %Z"
|
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 {
|
load {
|
||||||
|
@ -117,7 +102,6 @@ load {
|
||||||
|
|
||||||
cpu_temperature 0 {
|
cpu_temperature 0 {
|
||||||
format = "T: %degrees °C"
|
format = "T: %degrees °C"
|
||||||
path = "/sys/devices/platform/coretemp.0/temp1_input"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
memory {
|
memory {
|
||||||
|
@ -130,6 +114,10 @@ disk "/" {
|
||||||
format = "%free"
|
format = "%free"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
disk "/home" {
|
||||||
|
format = "%free"
|
||||||
|
}
|
||||||
|
|
||||||
read_file uptime {
|
read_file uptime {
|
||||||
path = "/proc/uptime"
|
path = "/proc/uptime"
|
||||||
}
|
}
|
||||||
|
|
0
nano/.cache/nano/.keep
Normal file
0
nano/.cache/nano/.keep
Normal file
Loading…
Add table
Reference in a new issue