diff --git a/nix-darwin/home.nix b/nix-darwin/home.nix index 50aaa64..5ea0101 100644 --- a/nix-darwin/home.nix +++ b/nix-darwin/home.nix @@ -214,19 +214,8 @@ ccd = "echo $PWD | xcopy"; cr = "cd $(git rev-parse --show-toplevel)"; nd = "nix develop -c $SHELL"; + ls = "ls --color"; }; - # initExtra = '' - # # Function to check if we're in a nix-shell - # in_nix_shell() { - # if [ -n "$IN_NIX_SHELL" ]; then - # echo "(devenv) " - # fi - # } - # - # # Set the prompt - # setopt PROMPT_SUBST - # export PS1='$(in_nix_shell)$PS1' - # ''; oh-my-zsh = { enable = true; theme = "half-life"; diff --git a/nix-darwin/modules/yabai.nix b/nix-darwin/modules/yabai.nix index 04c529b..f342f75 100644 --- a/nix-darwin/modules/yabai.nix +++ b/nix-darwin/modules/yabai.nix @@ -2,7 +2,7 @@ let split_ratio = "0.50"; - gap_padding = "16"; + gap_padding = "0"; in { # Create configuration files for yabai and skhd @@ -30,8 +30,9 @@ in # mouse stuff # yabai -m config mouse_follows_focus on - # yabai -m config focus_follows_mouse autofocus + yabai -m config focus_follows_mouse autofocus + # Move window with mouse yabai -m config mouse_modifier cmd yabai -m config mouse_action1 move yabai -m config mouse_action2 resize