From 07cd197250a242bc7dca99f377ecd0690436776e Mon Sep 17 00:00:00 2001 From: BardofSprites <89086143+BardofSprites@users.noreply.github.com> Date: Mon, 26 Aug 2024 06:43:31 -0400 Subject: limit application --- fvwm/.fvwm/config | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/fvwm/.fvwm/config b/fvwm/.fvwm/config index 1474d13..2022ebf 100644 --- a/fvwm/.fvwm/config +++ b/fvwm/.fvwm/config @@ -630,10 +630,10 @@ Mouse 9 A 4 Scroll 0 -100p Mouse 8 A 4 Scroll 0 100p #### Programs Keybinding -Silent Key Return A 4 Exec exec $[infostore.terminal] -g 80x32 -f "Comic Code:size=14" +Silent Key Return A 4 Exec exec $[infostore.terminal] -g 80x32 Silent Key Backslash A 4 Exec exec $[infostore.terminal] -e bc -l Silent Key E A 4 Exec exec emacs -Silent Key N A 4 Exec exec emacsclient -c +Silent Key N A 4 LimitApplication Emacs emacsclient -c Silent Key D A 4 Exec exec dmenu_run # browser @@ -928,4 +928,21 @@ AddToFunc IconFunc + C DeiconifyAndRearrange + M Raise + M Move -+ D DeiconifyAndRearrange \ No newline at end of file ++ D DeiconifyAndRearrange + +DestroyFunc LimitApplication +AddToFunc LimitApplication ++ I Next ($0, CurrentDesk, CirculateHit) FlipFocus ++ I TestRc (NoMatch) None ($0, CurrentDesk) Exec exec $[1-] + +DestroyFunc ShowDesktop +AddToFunc ShowDesktop ++ I All (CurrentPage, Iconic, State 1) RestoreDesktop ++ I TestRc (Match) Break ++ I All (CurrentPage, !Iconic, !State 1) ThisWindow State 1 True ++ I All (CurrentPage, !Iconic, State 1) Iconify + +DestroyFunc RestoreDesktop +AddToFunc RestoreDesktop ++ I All (CurrentPage, Iconic, State 1) Iconify off ++ I All (CurrentPage, State 1) ThisWindow State 1 False -- cgit v1.2.3