diff --git a/nix/configurations/vanadium/home/xmobar/xmobar.hs b/nix/configurations/vanadium/home/xmobar/xmobar.hs index a4958817..058bf24e 100644 --- a/nix/configurations/vanadium/home/xmobar/xmobar.hs +++ b/nix/configurations/vanadium/home/xmobar/xmobar.hs @@ -78,6 +78,8 @@ config = , "--target", "2025-11-29=à deux" , "--target", "2025-12-16=dragon book" , "--target", "2025-12-30=seule" + , "--target", "2025-12-15=campus baguette" + , "--target", "2026-02-22=dernier appel" ] "" (60 &minute) diff --git a/nix/configurations/vanadium/home/xmonad/xmonad.hs b/nix/configurations/vanadium/home/xmonad/xmonad.hs index 8a0e721c..b6ee4e7b 100644 --- a/nix/configurations/vanadium/home/xmonad/xmonad.hs +++ b/nix/configurations/vanadium/home/xmonad/xmonad.hs @@ -85,6 +85,9 @@ isDiscord = isEvolution :: Query Bool isEvolution = className ~? "gnome.Evolution" +isEvolutionComposer :: Query Bool +isEvolutionComposer = isEvolution <&&> title =? "Compose Message" + isFirefox :: Query Bool isFirefox = className =? "firefox" @@ -122,6 +125,11 @@ isMinder = className =? "Minder" <&&> (not <$> title ~? "Pick a Color") isKitty :: Query Bool isKitty = className =? "kitty" +isUtility :: Query Bool +isUtility = + -- Useful to ignore stuff like digikam pop ups + isInProperty "_NET_WM_WINDOW_TYPE" "_NET_WM_WINDOW_TYPE_UTILITY" + myActivateHook :: ManageHook myActivateHook = -- Ignore activate request @@ -136,17 +144,21 @@ myActivateHook = myManageHook :: ManageHook myManageHook = - composeOne - [ isNautilusPreviewer -?> customFloating centeredFloat - , isFeh -?> doF copyToAll <> customFloating buttomRightFloat - , isMinder -?> customFloating centeredFloat - , isFirefoxPip -?> doF copyToAll <> customFloating buttomRightFloat - , isDiscord -?> doShift chatWS - , isEvolution -?> doShift chatWS - , isSignal -?> doShift chatWS - , isFirefox -?> insertPosition Master Newer - , isKitty -?> insertPosition Below Newer - , isNautilus <||> isSioyek -?> insertPosition End Older + composeAll + [ isNautilusPreviewer --> customFloating centeredFloat + , isFeh --> doF copyToAll <> customFloating buttomRightFloat + , isMinder --> customFloating centeredFloat + , isFirefoxPip --> doF copyToAll <> customFloating buttomRightFloat + , isDiscord --> doShift chatWS + , isEvolution --> doShift chatWS + , isSignal --> doShift chatWS + , isFirefox --> insertPosition Master Newer + , isKitty --> insertPosition Below Newer + , isNautilus <||> isSioyek --> insertPosition End Older + + , isUtility --> doIgnore + , isDialog --> doF copyToAll <> customFloating centeredFloat + , isEvolutionComposer --> customFloating centeredFloat ] <> namedScratchpadManageHook myScratchpads diff --git a/nix/configurations/vanadium/kernel-overlay.nix b/nix/configurations/vanadium/kernel-overlay.nix index d2ceda7b..795a480a 100644 --- a/nix/configurations/vanadium/kernel-overlay.nix +++ b/nix/configurations/vanadium/kernel-overlay.nix @@ -96,6 +96,10 @@ in XEN_PVHVM = lib.mkForce unset; XEN_SAVE_RESTORE = lib.mkForce unset; XEN_SYS_HYPERVISOR = lib.mkForce unset; + + # Device Driver + MACINTOSH_DRIVERS = no; # hmm + SURFACE_PLATFORMS = no; # ew }; } ); diff --git a/nix/networks/list.nix b/nix/networks/list.nix index 8095998f..3dca7a25 100644 --- a/nix/networks/list.nix +++ b/nix/networks/list.nix @@ -89,6 +89,10 @@ in ssid = "R1108"; randomizeMac = true; } + { + ssid = "NTUH_guest"; + randomizeMac = true; + } { ssid = "_SNCF_WIFI_INOUI"; } { ssid = "_WIFI_LYRIA"; } diff --git a/nix/secrets/iambconfig.age b/nix/secrets/iambconfig.age index 707377f3..00f559cd 100644 Binary files a/nix/secrets/iambconfig.age and b/nix/secrets/iambconfig.age differ