Thanks to visit codestin.com
Credit goes to github.com

Skip to content

xboomx is a wrapper for dmenu, sorting entries from usage frequency

License

GPL-2.0, BSD-2-Clause licenses found

Licenses found

GPL-2.0
LICENSE
BSD-2-Clause
LICENSE.org
Notifications You must be signed in to change notification settings

sciunto-org/xboomx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

xboomx

xboomx is wrapper for dmenu. The goal is to apply sorting commands according to their launch frequency. In other words - if you launch emacs and lxterminal all the time - they will appear in the list of commands first.

Installation

Debian

git clone https://github.com/sciunto-org/xboomx
cd xboomx
sudo apt-get install suckless-tools # provides dmenu
sudo python setup.py install

Archlinux

Available via AUR: xboomx.

Config

The config file is located at ~/.config/xboomx/config.txt. It is created during the first execution of xboomx.

Here is an alternative content:

{
  "dmenu_params": "-b -i -nb black -nf orange -sb black -p \"#\"",
  "ignorelist": ["X"],
  "complete_offpath": false
}

For dmenu_params please see the manpages for dmenu.

man dmenu

The ignorelist to prevent stuff that is in your path for showing up as suggestions. Like if you type x then X might show up before xbmc.

complete_offpath will add everything that's in you ranking database regardless of availability on PATH. This is off by default.

Usage

Run

xboomx

Naturally, you have to setup a keyboard binding to this command with your window manager. For instance, on i3

bindsym $mod+d exec xboomx

To print the content of the database,

xboomx --stats

License

xboomx
Copyright (C) 2014-2015  Victor Häggqvist
Copyright (C) 2025 Francois Boulogne

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

For original license see the file LICENSE.org

This is a fork of https://bitbucket.org/dehun/xboomx and https://github.com/victorhaggqvist/xboomx Nowadays, the version by dehun is not available anymore, and the version by Victor Häggqvist aka snilius has not been maintained for years.

Based on snilius' version, I rewrote most of the code with modern python and enhanced the execution time.

About

xboomx is a wrapper for dmenu, sorting entries from usage frequency

Resources

License

GPL-2.0, BSD-2-Clause licenses found

Licenses found

GPL-2.0
LICENSE
BSD-2-Clause
LICENSE.org

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 90.6%
  • Shell 9.4%