You are not logged in.

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

damo
....moderator....
Registered: 2015-08-20
Posts: 6,329

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

Online

#2 2020-09-25 16:22:57

MevLyshkin
New Member
Registered: 2020-09-25
Posts: 1

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

Hi! I am author of the program.

I've updated repository.

Changes:
- by default logs are disabled
- disable calls with empty command
- change default update interval in order to make update less often
- allow to change interval via config(update_interval=value in ms)

Please feel free to provide more feedback!

Offline

#3 2020-09-25 18:26:44

damo
....moderator....
Registered: 2015-08-20
Posts: 6,329

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

Thank you for your contribution to the Linux desktop experience smile


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

Online

Board footer

Powered by FluxBB