mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[BUG]: Kill whkd on komorebi stop? #289
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @melMass on GitHub (Feb 1, 2024).
Describe the bug
As I'm working on an eventual PR for whkd I realised that
komorebi stopwas not killing whkd is specified on start.Expected behavior
Kill whkd if the flag was used in the cli, not if ran independantly
@LGUG2Z commented on GitHub (Feb 1, 2024):
https://github.com/LGUG2Z/komorebi/blob/v0.1.19/komorebic/src/main.rs#L635
https://lgug2z.github.io/komorebi/cli/stop.html
If you don't want to add the
--whkdflag when you type the command I suggest aliasing thekomorebic stopcommand tokomorebic stop --whkdin your$PROFILEas the window manager itself doesn't keep track of arguments passed to thestartcommand.@melMass commented on GitHub (Feb 1, 2024):
Nice I do use the flag on start but did not notice it existed on stop too! Perfect thanks