Skip to content

Commit

Permalink
Added aliases for layer-switch and layer-toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
david-janssen committed Jun 11, 2022
1 parent f9df309 commit edf2686
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/KMonad/Args/Parser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,9 @@ keywordButtons =
<*> optional (keywordP "timeout-button" buttonP))
, ("tap-next" , KTapNext <$> buttonP <*> buttonP)
, ("layer-toggle" , KLayerToggle <$> lexeme word)
, ("layer-switch" , KLayerSwitch <$> lexeme word)
, ("momentary-layer" , KLayerToggle <$> lexeme word)
, ("layer-switch" , KLayerSwitch <$> lexeme word)
, ("permanent-layer" , KLayerSwitch <$> lexeme word)
, ("layer-add" , KLayerAdd <$> lexeme word)
, ("layer-rem" , KLayerRem <$> lexeme word)
, ("layer-delay" , KLayerDelay <$> lexeme numP <*> lexeme word)
Expand Down

0 comments on commit edf2686

Please sign in to comment.