diff --git a/profiles/graphical/xmonad/_xmonad.hs b/profiles/graphical/xmonad/_xmonad.hs index 3fc24ac..14b153f 100644 --- a/profiles/graphical/xmonad/_xmonad.hs +++ b/profiles/graphical/xmonad/_xmonad.hs @@ -41,7 +41,7 @@ main = , manageHook = myManageHook <+> manageHook defaultConfig <+> manageDocks - , borderWidth = 1 + , borderWidth = 0 , logHook = takeTopFocus } `additionalKeys` myKeys diff --git a/profiles/graphical/xmonad/_xmonad.nix b/profiles/graphical/xmonad/_xmonad.nix index 26ef503..d64a49a 100644 --- a/profiles/graphical/xmonad/_xmonad.nix +++ b/profiles/graphical/xmonad/_xmonad.nix @@ -1,4 +1,4 @@ -{ autostart, screenshots, touchtoggle, dzvol, stoggle }: '' +{ autostart, screenshots, touchtoggle, dzvol, pkgs, stoggle }: '' -- Function for fullscreen toggle fullToggle :: X () fullToggle = do @@ -13,6 +13,7 @@ myAutostart :: X () myAutostart = do spawn "${autostart}" + spawn "feh --bg-fill --no-fehbg ${pkgs.adapta-backgrounds}/share/backgrounds/adapta/tri-fadeno.jpg" setWMName "LG3D" sendMessage $ SetStruts [] [minBound .. maxBound] setDefaultCursor xC_left_ptr diff --git a/profiles/graphical/xmonad/default.nix b/profiles/graphical/xmonad/default.nix index 3725897..d0eaa46 100644 --- a/profiles/graphical/xmonad/default.nix +++ b/profiles/graphical/xmonad/default.nix @@ -14,5 +14,14 @@ config = import ./xmonad.hs.nix { inherit pkgs; }; }; + services.picom = { + enable = true; + inactiveOpacity = "0.8"; + settings = { + "unredir-if-possible" = true; + "focus-exclude" = "id = 0x2400001"; + }; + }; + programs.slock.enable = true; } diff --git a/profiles/graphical/xmonad/xmonad.hs.nix b/profiles/graphical/xmonad/xmonad.hs.nix index c8ef7b4..93ece50 100644 --- a/profiles/graphical/xmonad/xmonad.hs.nix +++ b/profiles/graphical/xmonad/xmonad.hs.nix @@ -14,6 +14,6 @@ let in '' ${readFile ./_xmonad.hs} ${import ./_xmonad.nix { - inherit screenshots touchtoggle autostart dzvol stoggle; + inherit screenshots touchtoggle autostart dzvol stoggle pkgs; }} ''