This repository has been archived by the owner on Sep 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Installation
gitluin edited this page Mar 19, 2020
·
19 revisions
- Make sure Xlib is installed. This is typically done by installing
xorg
orxlib
related packages on your platform (if you wantdmenu/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
- FreeBSD:
- Go to some directory and clone this repository
git clone github.com/gitluin/sara
. - Enter the directory:
cd sara
. - Copy
config.def.h
toconfig.h
and edit to your needs. - Compile with
sudo make install clean
. - In your
~/.xinitrc
, addexec sara
at the end. - If it's not there already, make
.bash_profile
or your relevant equivalent end with a call tostartx
, which will load.xinitrc
. - Restart X, and you should be running
sara
!- You will need a program like sxhkd in order for any key combinations to work!
- Get
sxhkd
from your applicable provider (if this is unclear, you can always perform similar steps tosara
installation using the sxhkd github and following those instructions):- Arch:
pacman -S sxhkd
- Arch:
- Copy the
sxhkdrc
from the repository'sexamples/
directory to.config/sxhkd/sxhkdrc
, or wherever you keep your configs. Runman sxhkd
to see how it reads config files. - In
~/.xinitrc
, before yourexec sara
entry, addsxhkd &
so that sxhkd will start in the background and be ready to grab your keys!