Install the i3 meta-package:
Code: Select all
sudo apt install i3
Code: Select all
git clone https://github.com/Airblader/i3.git i3-gaps
Code: Select all
sudo apt install meson dh-autoreconf libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev xcb libxcb1-dev libxcb-icccm4-dev libyajl-dev libev-dev libxcb-xkb-dev libxcb-cursor-dev libxkbcommon-dev libxcb-xinerama0-dev libxkbcommon-x11-dev libstartup-notification0-dev libxcb-randr0-dev libxcb-xrm0 libxcb-xrm-dev libxcb-shape0 libxcb-shape0-dev
Code: Select all
cd i3-gaps/
Code: Select all
mkdir -p build && cd build
Code: Select all
meson --prefix /usr/local
Code: Select all
ninja
Code: Select all
sudo ninja install
I've used conky for the panel. Here's my ~/.conkyrc file:
Code: Select all
conky.config = {
background = false,
cpu_avg_samples = 2,
no_buffers = true,
out_to_console = true,
out_to_x = false,
own_window = false,
update_interval = 1,
short_units = true,
total_run_times = 0
};
conky.text = [[
[
{"full_text": " | ", "color":"\#555555"},
{"full_text": "CPU: ${cpu cpu0}% ", "color":"\#cf6a4c"},
{"full_text": " | ", "color":"\#555555"},
{"full_text": "RAM: $mem","color":"\#cda869"},
{"full_text": " | ", "color":"\#555555"},
{"full_text": "LAN: ${addr eth0}","color":"\#89b859"},
{"full_text": " | ", "color":"\#555555"},
{"full_text": "Wifi: ${wireless_essid wlan0}","color":"\#00aaaa"},
{"full_text": " | ", "color":"\#555555"},
# {"full_text": "${exec hostname }", "color":"\#9b703f"},
# {"full_text": " | ", "color":"\#555555"},
{"full_text": "BATT: ${battery}", "color":"\#9b703f"},
{"full_text": " | ", "color":"\#555555"},
{"full_text": "UP: ${uptime_short} ", "color":"\#838184"},
{"full_text": " | ", "color":"\#555555"},
{"full_text": "${time %A %Y-%m-%d}", "color":"\#cccccc"},
{"full_text": "${time %H:%M}", "color":"\#cccccc"}
],
]];
Code: Select all
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
# status_command i3status
status_command ~/.config/i3/conky-i3bar.sh
position top
}
Code: Select all
#!/bin/sh
# Send the header so that i3bar knows we want to use JSON:
echo '{"version":1}'
# Begin the endless array.
echo '['
# We send an empty first array of blocks to make the loop simpler:
echo '[],'
# Now send blocks with information forever:
exec conky -c ~/.conkyrc