Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

Installation

gitluin edited this page Mar 19, 2020 · 19 revisions

Installing sara

  1. Make sure Xlib is installed. This is typically done by installing xorg or xlib related packages on your platform (if you want dmenu/st/firefox key commands, obviously you need to install those too, or change the config file to match your system):
    • FreeBSD: pkg install xorg
    • Debian: apt-get install xorg-server-source libx11-dev libxft-dev libxinerama-dev
    • Fedora: yum install xorg-x11-server-devel
    • Arch: pacman -S libx11 libxft libxinerama
  2. Go to some directory and clone this repository git clone github.com/gitluin/sara.
  3. Enter the directory: cd sara.
  4. Copy config.def.h to config.h and edit to your needs.
  5. Compile with sudo make install clean.
  6. In your ~/.xinitrc, add exec sara at the end.
  7. If it's not there already, make .bash_profile or your relevant equivalent end with a call to startx, which will load .xinitrc.
  8. Restart X, and you should be running sara!
    • You will need a program like sxhkd in order for any key combinations to work!

Installing sxhkd

  1. Get sxhkd from your applicable provider (if this is unclear, you can always perform similar steps to sara installation using the sxhkd github and following those instructions):
    • Arch: pacman -S sxhkd
  2. Copy the sxhkdrc from the repository's examples/ directory to .config/sxhkd/sxhkdrc, or wherever you keep your configs. Run man sxhkd to see how it reads config files.
  3. In ~/.xinitrc, before your exec sara entry, add sxhkd & so that sxhkd will start in the background and be ready to grab your keys!
Clone this wiki locally