Skip to content

Commit

Permalink
Add sticky windows
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Feb 22, 2024
1 parent b02c7ec commit 55cc81e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion home-modules/xmonad/xmonad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import Graphics.X11.ExtraTypes.XF86
import System.Exit ()
import Text.Printf
import XMonad
import XMonad.Actions.CopyWindow
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.EwmhDesktops (ewmh, ewmhFullscreen)
import XMonad.Hooks.InsertPosition (Focus (Newer), Position (Below), insertPosition)
Expand Down Expand Up @@ -168,7 +169,12 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) =
(modm .|. shiftMask, xK_q) ~> spawn "xmonad --restart",
-- Take a screenshot
(modm .|. shiftMask, xK_s) ~> spawn "flameshot gui",
(0, xK_Print) ~> spawn "flameshot gui"
(0, xK_Print) ~> spawn "flameshot gui",
-- Window Copying Bindings
-- Pin to all workspaces
(modm, xK_s) ~> windows copyToAll,
(modm .|. controlMask, xK_s) ~> killAllOtherCopies,
(modm .|. shiftMask, xK_c) ~> kill1
]
++
-- mod-[1..9], Switch to workspace N
Expand Down

0 comments on commit 55cc81e

Please sign in to comment.