From a10fe2a643e07a24ba71f5b974328bd3ba495404 Mon Sep 17 00:00:00 2001 From: Leon Kowarschick Date: Mon, 29 Jun 2020 12:31:56 +0200 Subject: [PATCH] pre nixification --- files/.config/fish/config.fish | 4 ++++ files/.xmonad/lib/Config.hs | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/files/.config/fish/config.fish b/files/.config/fish/config.fish index 3f31229..fb1d7d3 100644 --- a/files/.config/fish/config.fish +++ b/files/.config/fish/config.fish @@ -75,3 +75,7 @@ end set -x EDITOR "nvim" set -x FFF_TRASH_CMD "trash" # make fff's trash function use trash-cli +fenv source '$HOME/.nix-profile/etc/profile.d/nix.sh' +#bass source '$HOME/.nix-profile/etc/profile.d/nix.sh' & +set -g NIX_PATH "$HOME/.nix-defexpr/channels:$NIX_PATH" +fenv source "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" diff --git a/files/.xmonad/lib/Config.hs b/files/.xmonad/lib/Config.hs index 4c5ab2f..2694da4 100644 --- a/files/.xmonad/lib/Config.hs +++ b/files/.xmonad/lib/Config.hs @@ -205,8 +205,8 @@ myLayout = avoidStruts ||| (rename "Horizon" $ spacingAndGaps $ mouseResizableTileMirrored {draggerType = BordersDragger})) rename n = renamed [Replace n] - spacingAndGaps = let intGap = 10 :: Integer - border = Border intGap intGap intGap intGap + spacingAndGaps = let gap = 10 + border = Border gap gap gap gap in spacingRaw False border True border True -- | transform a layout into supporting tabs