Merge pull request #428 from pshevtsov/lxqt-config

Add XMonad.Config.LXQt
This commit is contained in:
slotThe 2020-12-29 20:13:05 +00:00 committed by GitHub
commit 63a3282133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 53 additions and 0 deletions

View File

@ -125,6 +125,11 @@
Extends ManageHook EDSL to work on focused windows and current workspace. Extends ManageHook EDSL to work on focused windows and current workspace.
* `XMonad.Config.LXQt`
This module provides a config suitable for use with the LXQt desktop
environment.
### Bug Fixes and Minor Changes ### Bug Fixes and Minor Changes
* `XMonad.Actions.DynamicProjects` * `XMonad.Actions.DynamicProjects`

45
XMonad/Config/LXQt.hs Normal file
View File

@ -0,0 +1,45 @@
{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
-----------------------------------------------------------------------------
-- |
-- Module : XMonad.Config.LXQt
-- Copyright : (c) Petr Shevtsov <petr.shevtsov@gmail.com>
-- License : BSD
--
-- Maintainer : none
-- Stability : unstable
-- Portability : unportable
--
-- This module provides a config suitable for use with the LXQt desktop
-- environment.
module XMonad.Config.LXQt (
-- * Usage
-- $usage
lxqtConfig,
desktopLayoutModifiers
) where
import XMonad
import XMonad.Config.Desktop
import qualified Data.Map as M
-- $usage
-- To use this module, start with the following @~\/.xmonad\/xmonad.hs@:
--
-- > import XMonad
-- > import XMonad.Config.LXQt
-- >
-- > main = xmonad lxqtConfig
--
-- For example of how to further customize @lxqtConfig@ see "XMonad.Config.Desktop".
lxqtConfig = desktopConfig
{ terminal = "qterminal"
, keys = lxqtKeys <+> keys desktopConfig }
lxqtKeys (XConfig {modMask = modm}) = M.fromList $
[ ((modm, xK_p), spawn "lxqt-runner")
, ((modm .|. shiftMask, xK_q), spawn "lxqt-leave")
]

View File

@ -415,6 +415,9 @@ own configuration, possibly with some modifications.
* "XMonad.Config.Xfce": * "XMonad.Config.Xfce":
This module provides a config suitable for use with the Xfce desktop environment. This module provides a config suitable for use with the Xfce desktop environment.
* "XMonad.Config.LXQt":
This module provides a config suitable for use with the LXQt desktop environment.
-} -}
{- $hooks {- $hooks