Skip to content

Configuration

AbouZakaria edited this page Dec 25, 2019 · 2 revisions

The configuration uses the NativeFormat CONF file format.

The default SystemScope paths "/etc/xdg/qobbar/qobbar.conf"

The default UserScope paths "$HOME/.config/qobbar/qobbar.conf"

create user configuration

$ mkdir -p "$HOME/.config/qobbar"
$ cp /etc/xdg/qobbar/qobbar.conf $HOME/.config/qobbar

or create any configuration file in "$HOME/.config/qobbar

the suffix ".conf" is obligatoire ex;"myconf.conf"

Running the app

"Usage: qobbar [OPTION]"
  "qobbar v: 0.1 "
  "OPTION:"
  " -h  --help                      Print this help."
  " -c  --config     <string>       config file name."
  "                                 ex: create file in $HOME/.config/qobbar/top-bar.conf "
  "                                 run \"qobbar -c top-bar\"  ."
  " -d  --debug                     Print debug in termminal."
  " -r  --right                     right-to-left layout direction."
  " -s  --showhide                  show or hide bar. ex: qobbar -c top-bar -s"
  " -l  --list                      Print list of available modules."

to run the default configuration just run "qobbar".

or cp any configuration in the example folder to $HOME/.config/qobbar.

to run any configuration ex: $HOME/.config/qobbar/top-bar.conf

$ qobbar -c top-bar
Clone this wiki locally