====== Arch - i3 ====== Some misc notes and tips for setting up i3 in Arch. Most of it is pulled from the wiki or other guides. ===== Packages ===== * i3 group (i3) * dmenu * urxvt terminal ( rxvt-unicode rxvt-unicode-terminfo ) * fonts: ttf-dejavu ttf-inconsolata ( ttf-font-awesome ttf-font-icons : aur ) ===== Config Snippets ===== ==== Appearance ==== Install lxappearance Install xfce-theme-greybird from aur ==== Start i3 at login ==== Add to .xinitrc: #! /bin/bash exec i3 Add to /etc/profile: # autostart systemd default session on tty1 if [[ "$(tty)" == '/dev/tty1' ]]; then exec startx fi ==== Change Bar Font ==== ==== Shutdown/Reboot/Suspend/Lock ==== Install polkit first. .config/i3/config set $Locker i3lock && sleep 1 set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown mode "$mode_system" { bindsym l exec --no-startup-id $Locker, mode "default" bindsym e exec --no-startup-id i3-msg exit, mode "default" bindsym s exec --no-startup-id $Locker && systemctl suspend, mode "default" bindsym h exec --no-startup-id $Locker && systemctl hibernate, mode "default" bindsym r exec --no-startup-id systemctl reboot, mode "default" bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default" # back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+Pause mode "$mode_system"