some cleanup

This commit is contained in:
EEva 2021-08-23 00:02:59 +03:00
parent a39a26509e
commit 33ae468829
3 changed files with 5 additions and 12 deletions

View File

@ -9,4 +9,3 @@ modify :: XConfig l -> XConfig l
modify conf = conf modify conf = conf
{ logHook = logHook conf >> updatePointer (0.5,0.5) (0,0) { logHook = logHook conf >> updatePointer (0.5,0.5) (0,0)
} }

View File

@ -46,7 +46,6 @@ projects =
, singleAppWithName "element" "element-desktop" , singleAppWithName "element" "element-desktop"
, singleAppWithName "signal" "signal-desktop" , singleAppWithName "signal" "signal-desktop"
, singleAppWithName "vcv" "Rack" , singleAppWithName "vcv" "Rack"
, singleAppWithName "wire" "wire-desktop"
, singleTermAppWithName "email" "neomutt" , singleTermAppWithName "email" "neomutt"
, Project { projectName = "admin" , Project { projectName = "admin"
, projectDirectory = "~/admin/nixos-config" , projectDirectory = "~/admin/nixos-config"

View File

@ -11,7 +11,7 @@ import XMonad.Hooks.DynamicLog
--import XMonad.Hooks.EwmhDesktops (ewmh, ewmhFullscreen) --import XMonad.Hooks.EwmhDesktops (ewmh, ewmhFullscreen)
import XMonad.Hooks.EwmhDesktops (ewmh) import XMonad.Hooks.EwmhDesktops (ewmh)
import XMonad.Hooks.ManageHelpers import XMonad.Hooks.ManageHelpers
import XMonad.Layout.NoBorders (noBorders, smartBorders) import XMonad.Layout.NoBorders (noBorders, smartBorders, hasBorder, BorderMessage (HasBorder))
import XMonad.Layout.ResizableTile (ResizableTall(..)) import XMonad.Layout.ResizableTile (ResizableTall(..))
import XMonad.Layout.Spacing import XMonad.Layout.Spacing
import XMonad.Layout.ToggleLayouts (toggleLayouts) import XMonad.Layout.ToggleLayouts (toggleLayouts)
@ -39,15 +39,10 @@ layouts = toggleLayouts fullscreen tiled
-------------- Here be the law of windows -------------- Here be the law of windows
myManageHook = composeOne myManageHook = composeOne
[ className =? "Pavucontrol" -?> doShift "music" [ className =? "Pavucontrol" -?> doShift "music"
, className =? "Pinentry" -?> doFloat
, className =? "Steam" -?> doShift "steam" , className =? "Steam" -?> doShift "steam"
, className =? "VirtualBox" -?> doFloat , className =? "Renoise" -?> hasBorder False
, className =? "csgo_linux64" -?> doShift "csgo" , className =? "REAPER" -?> hasBorder False
, className =? "mpv" -?> doFullFloat <+> (doShift "flims") , className =? "Pinentry" -?> doCenterFloat
, className =? "qemu-system-x86_64" -?> doFloat
, className =? "qutebrowser" -?> doShift "web"
, appName =? "Wine System Tray" -?> doShift "wine-tray"
, className =? "battle.net.exe" -?> doShift "battlenet"
, isDialog -?> doCenterFloat , isDialog -?> doCenterFloat
-- Move transient windows to their parent: -- Move transient windows to their parent:
@ -62,7 +57,7 @@ withConfig =
$ Mouse.modify -- Apply mouse bindings config $ Mouse.modify -- Apply mouse bindings config
$ Scratchpad.modify -- Apply scratchpad managehook config $ Scratchpad.modify -- Apply scratchpad managehook config
$ desktopConfig -- on a default desktop config $ desktopConfig -- on a default desktop config
{ manageHook = myManageHook <+> manageHook desktopConfig { manageHook = myManageHook
, layoutHook = desktopLayoutModifiers layouts , layoutHook = desktopLayoutModifiers layouts
, terminal = "/home/eeva/.nix-profile/bin/alacritty" , terminal = "/home/eeva/.nix-profile/bin/alacritty"
, normalBorderColor = N.backgroundhl , normalBorderColor = N.backgroundhl