Skip to content

Instantly share code, notes, and snippets.

@EricPedley
Created November 20, 2022 09:56
Show Gist options
  • Select an option

  • Save EricPedley/74aecc8b75011f9f20d783566bd0df13 to your computer and use it in GitHub Desktop.

Select an option

Save EricPedley/74aecc8b75011f9f20d783566bd0df13 to your computer and use it in GitHub Desktop.
import XMonad
import XMonad.Layout (Tall, Full)
import XMonad.Util.EZConfig (additionalKeys)
myLayouts = layoutTall ||| layoutFull
where
layoutTall = Tall 1 (3/100) (1/2)
layoutFull = Full
myKeys conf@(XConfig {modMask = modKey}) =
[
((modKey .|. shiftMask, xK_s), spawn "flameshot gui")
]
myConfig = def
{ modMask = mod4Mask, -- Use Super instead of Alt
focusedBorderColor = "#888888",
normalBorderColor = "#000000",
layoutHook = myLayouts
-- more changes
}
main = xmonad $ myConfig `additionalKeys` (myKeys myConfig)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment