From 45aee32847755bbfd9ceb70f724422bd1cf8cbac Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 25 Jul 2023 17:00:06 +0300 Subject: [PATCH] fullscreen --- config/xmonad/xmonad.hs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/xmonad/xmonad.hs b/config/xmonad/xmonad.hs index 62a27712..d5801707 100644 --- a/config/xmonad/xmonad.hs +++ b/config/xmonad/xmonad.hs @@ -26,6 +26,8 @@ import XMonad.Util.Run -- for xmobar startup import XMonad.Util.Hacks as Hacks -- tray import Graphics.X11.ExtraTypes.XF86 -- for keys import XMonad.Util.Loggers -- smth +import XMonad.Layout.MultiToggle -- fulllscreen +import XMonad.Layout.MultiToggle.Instances import qualified XMonad.StackSet as W import qualified Data.Map as M @@ -139,6 +141,9 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $ , ((0, xF86XK_AudioMute), spawn "pactl set-sink-mute @DEFAULT_SINK@ toggle") , ((0, xF86XK_AudioLowerVolume), spawn "pactl set-sink-volume @DEFAULT_SINK@ -10%") , ((0, xF86XK_AudioRaiseVolume), spawn "pactl set-sink-volume @DEFAULT_SINK@ +10%") + + -- Fullscreen + , ((modm, xK_f), sendMessage (Toggle "Full")) -- Quit xmonad , ((modm .|. shiftMask, xK_q ), io exitSuccess)