Add 'copy window to all workspaces' shortcuts

master
Hektor Misplon 2023-11-18 17:26:46 +01:00
parent 48681cfd4d
commit 4849b64ea5
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
-- {{{
import XMonad
import XMonad.Actions.CopyWindow (copyToAll, killAllOtherCopies)
import XMonad.Hooks.DynamicProperty
import XMonad.Hooks.EwmhDesktops
import XMonad.Hooks.ManageDocks
@ -202,6 +203,8 @@ myKeys =
(withScreen 1 myWorkspaces)
++ zip mySharedWorkspaceKeys
(withScreen 2 mySharedWorkspaces)
("M-c", windows copyToAll),
("M-S-c", killAllOtherCopies),
]
zipKeyPrefixes :: [String] -> [String] -> [String]