You are not logged in.

#1 2020-02-08 23:10:18

damo
....moderator....
Registered: 2015-08-20
Posts: 5,809

lwa-hot-corners: possible alternative to bl-hotcorners

From a suggestion in this thread...

misko_2083 wrote:

This looks promising
https://github.com/Leinnan/lwa-hot-corners
4x less memory consumption than bl-hotcorners

"Pretty simple hot corners implementation for X server written in modern C++"

Not sure about the mem use, but the cpu usage is about the same as bl-hotcorners, and a C++ program is likely to be more efficient than a python script.

It polls the mouse position every 60ms, which is a bit wasteful to my taste, but this can be changed before compiling, by editing src/Manager.h (line#22), in the extracted directory (I used 300):

const int UPDATE_INTERVAL_IN_MS = 60;

cd to lwa-hot-corners-master/, and if you want to install in $HOME/bin, do

export DESTDIR=''
PREFIX="$HOME" make
PREFIX="$HOME" make install

Create a config file, such as .config/lwa-hotcornersrc, like this:

top_left_command=gmrun
top_right_command=
bottom_left_command=
bottom_right_command=
hold_duration=500
disable_on_fullscreen=false

To run it at login, add this command to your autostart

lwa-hot-corners ~/.config/lwa-hotcornersrc &

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

Board footer

Powered by FluxBB