Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

feat: added @pend internal command#220

Open
EdenQwQ wants to merge2 commits intomain
base:main
Choose a base branch
Loading
fromcommand_stack_devel

Conversation

EdenQwQ
Copy link
Member

This couldfix#219@tsankuanglee

Usage

Use@pend mode_name to enter a mode, and the remaining commands will not run until the mode is escaped with@escape oroneoff.

Example

swhkdrc:

super + r  notify-send "entering resize mode" && @pend resize && notify-send "exiting resize mode"mode resize{h, l, j, k}  hyprctl dispatch resizeactive {\-5 0, 5 0, 0 5, 0 \-5}ctrl + c  notify-send "entering move-canvas mode" && @pend move-canvas && notify-send "exiting move-canvas mode"q  @escapeendmodemode move-canvas{h, l, j, k}  /home/eden/.config/hypr/scripts/move-canvas {5 0, \-5 0, 0 \-5, 0 5}q  @escapeendmode

Whensuper + r is pressed, the notification "entering resize mode" would show up, and we will enter resize mode.

In resize mode, whenctrl + c is pressed, notification "entering move-canvas mode" would show up, and we will enter the move-canvas mode.

After that, whenq is pressed, we will escape from move-canvas mode, and notification "leaving move-canvas mode" would show up. Now we are still in resize mode.

Finally, whenq is pressed, we will escape from resize mode and notification "exiting resize mode" would show up.

@EdenQwQEdenQwQ marked this pull request as ready for reviewAugust 14, 2023 05:14
@Shinyzenith
Copy link
Member

@EdenQwQ Apologies for being so late, the pr looks good to me but it's not documented. Would you mind adding some documentation?

@ShinyzenithShinyzenith removed the request for review fromajanonFebruary 27, 2024 14:35
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ShinyzenithShinyzenithAwaiting requested review from Shinyzenith

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

[Bug / Feature] stack for commands
2 participants
@EdenQwQ@Shinyzenith

[8]ページ先頭

©2009-2025 Movatter.jp